зеркало из https://github.com/mozilla/gecko-dev.git
063ec88ba4
Attempting to get the siteOrigin for a URI of something like "https://.mozilla.org" was returning NS_ERROR_ILLEGAL_VALUE, which caused breakage in parts of the browser UI when trying to initialize a window to point at that URI. It looks like the NS_ERROR_ILLEGAL_VALUE stuff was added back in bug 1491728 as part of an effort to better handle some IPv6 stuff. I tested the STR in bug 1491728 for the original bug, and I cannot reproduce the issue even witht his change. nika suggested that instead of returning NS_ERROR_ILLEGAL_VALUE for this form of URI, we return the same value as `nsIPrincipal.origin`. Differential Revision: https://phabricator.services.mozilla.com/D142493 |
||
---|---|---|
.. | ||
test_ipv6_host_literal.js | ||
test_oa_partitionKey_pattern.js | ||
test_origin.js | ||
test_precursor_principal.js | ||
test_site_origin.js | ||
test_uri_escaping.js | ||
xpcshell.ini |