зеркало из https://github.com/mozilla/gecko-dev.git
d09c6ebd50
Some notes about the changes: Both test_bug384014.html and test_bug123696.html were testing reloading of javascript: URI. The expected result of the iframes after reloading would become about:blank. I deleted both file and instead wrote with web-platform-test to cover reloading of javascript: URI since wpt is more preferable. storage-cache-error.html was utilizing javascript: URI to test bug 1262766. javascript: URI would cause CacheStorage::Keys to throw a dom security exception because the URI's principal (which did not match the principal of the document in this case!) was a nullpricipal. With my patches the iframe's URL would no longer be the javascript: URI, so it's no longer applicable for the test case. Instead we can test what bug 1262766 was originally about - that CacheStorage::Keys would throw a dom security exception if it's in a private browsing window. Differential Revision: https://phabricator.services.mozilla.com/D59465 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
browser | ||
chrome | ||
iframesandbox | ||
mochitest | ||
navigation | ||
unit | ||
unit_ipc | ||
moz.build |