gecko-dev/docshell/test/mochitest
Samael Wang d09c6ebd50 Bug 836567 - Part 2: Replace inapplicable tests with a web-platform-test for reloading after setting javascript: URI, and fix other tests relying on javascript: URI. r=Gijs,miker
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
2020-01-14 10:43:56 +00:00
..
bug404548-subframe.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
bug404548-subframe_window.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
bug413310-post.sjs Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
bug413310-subframe.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
bug529119-window.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
bug530396-noref.sjs Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
bug530396-subframe.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
bug570341_recordevents.html Bug 1508817 - Enable ESLint for docshell (automatic changes). r=Standard8,bzbarsky 2019-03-22 18:13:25 +00:00
bug668513_redirect.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
bug668513_redirect.html^headers^ Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
bug691547_frame.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
bug1422334_redirect.html Bug 1422334. replaceState should update all the URI state for the entry being replaced. r=smaug 2019-08-14 19:29:49 +00:00
bug1422334_redirect.html^headers^ Bug 1422334. replaceState should update all the URI state for the entry being replaced. r=smaug 2019-08-14 19:29:49 +00:00
dummy_page.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
file_anchor_scroll_after_document_open.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
file_bfcache_plus_hash_1.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
file_bfcache_plus_hash_2.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
file_bug385434_1.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
file_bug385434_2.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
file_bug385434_3.html Bug 1508817 - Enable ESLint for docshell (automatic changes). r=Standard8,bzbarsky 2019-03-22 18:13:25 +00:00
file_bug475636.sjs Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
file_bug509055.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
file_bug511449.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
file_bug540462.html Bug 1508817 - Enable ESLint for docshell (manual changes). r=Standard8,bzbarsky 2019-03-22 07:53:32 +00:00
file_bug580069_1.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
file_bug580069_2.sjs Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
file_bug590573_1.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
file_bug590573_2.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
file_bug598895_1.html Bug 1508817 - Enable ESLint for docshell (automatic changes). r=Standard8,bzbarsky 2019-03-22 18:13:25 +00:00
file_bug598895_2.html Bug 1508817 - Enable ESLint for docshell (automatic changes). r=Standard8,bzbarsky 2019-03-22 18:13:25 +00:00
file_bug634834.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
file_bug637644_1.html Bug 1508817 - Enable ESLint for docshell (automatic changes). r=Standard8,bzbarsky 2019-03-22 18:13:25 +00:00
file_bug637644_2.html Bug 1508817 - Enable ESLint for docshell (automatic changes). r=Standard8,bzbarsky 2019-03-22 18:13:25 +00:00
file_bug640387.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
file_bug653741.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
file_bug660404 Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
file_bug660404-1.html Bug 1508817 - Enable ESLint for docshell (automatic changes). r=Standard8,bzbarsky 2019-03-22 18:13:25 +00:00
file_bug660404^headers^ Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
file_bug662170.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
file_bug668513.html Bug 1571567 - Fix no-fallthrough errors in /docshell. r=Standard8 2019-08-08 15:18:43 +00:00
file_bug669671.sjs Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
file_bug675587.html Bug 1508817 - Enable ESLint for docshell (automatic changes). r=Standard8,bzbarsky 2019-03-22 18:13:25 +00:00
file_bug680257.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
file_bug703855.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
file_bug728939.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
file_bug1121701_1.html Bug 1508817 - Enable ESLint for docshell (manual changes). r=Standard8,bzbarsky 2019-03-22 07:53:32 +00:00
file_bug1121701_2.html Bug 1508817 - Enable ESLint for docshell (manual changes). r=Standard8,bzbarsky 2019-03-22 07:53:32 +00:00
file_bug1151421.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
file_bug1186774.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
file_bug1450164.html Bug 1508817 - Enable ESLint for docshell (automatic changes). r=Standard8,bzbarsky 2019-03-22 18:13:25 +00:00
file_close_onpagehide1.html Bug 1508817 - Enable ESLint for docshell (automatic changes). r=Standard8,bzbarsky 2019-03-22 18:13:25 +00:00
file_close_onpagehide2.html Bug 1508817 - Enable ESLint for docshell (automatic changes). r=Standard8,bzbarsky 2019-03-22 18:13:25 +00:00
file_compressed_multipart Bug 1600211 - Disable content conversion by HttpChannelChild if we have already applied it by the time we get to HttpChannelParent::OnStartRequest. r=mayhemer 2019-12-04 03:19:26 +00:00
file_compressed_multipart^headers^ Bug 1600211 - Disable content conversion by HttpChannelChild if we have already applied it by the time we get to HttpChannelParent::OnStartRequest. r=mayhemer 2019-12-04 03:19:26 +00:00
file_framedhistoryframes.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
file_pushState_after_document_open.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
historyframes.html Bug 1563587, Make history.back/forward/go asynchronous, r=farre 2019-08-14 06:38:47 +00:00
mochitest.ini Bug 836567 - Part 2: Replace inapplicable tests with a web-platform-test for reloading after setting javascript: URI, and fix other tests relying on javascript: URI. r=Gijs,miker 2020-01-14 10:43:56 +00:00
start_historyframe.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
test_anchor_scroll_after_document_open.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bfcache_plus_hash.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug385434.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug387979.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug402210.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug404548.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug413310.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug475636.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug509055.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug511449.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug529119-1.html Bug 1586119: Part 1 - Fix a couple of tests to work under Fission. r=mccr8 2019-10-04 21:55:07 +00:00
test_bug529119-2.html Bug 1586119: Part 1 - Fix a couple of tests to work under Fission. r=mccr8 2019-10-04 21:55:07 +00:00
test_bug530396.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug540462.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug551225.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug570341.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug580069.html Bug 1544051 - Part 3 - Scripted change to remove references to AddTask.js r=ahal 2019-04-18 16:51:01 +00:00
test_bug590573.html Bug 1563587, Make history.back/forward/go asynchronous, r=farre 2019-08-14 06:38:47 +00:00
test_bug598895.html Bug 1573254: Part 2 - Update tests to await snapshotWindow when necessary. r=mccr8 2019-08-12 12:56:25 -07:00
test_bug634834.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug637644.html Bug 1573254: Part 2 - Update tests to await snapshotWindow when necessary. r=mccr8 2019-08-12 12:56:25 -07:00
test_bug640387_1.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug640387_2.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug653741.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug660404.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug662170.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug668513.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug669671.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug675587.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug680257.html Bug 1563587, Make history.back/forward/go asynchronous, r=farre 2019-08-14 06:38:47 +00:00
test_bug691547.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug694612.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug703855.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug728939.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug797909.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug1045096.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug1121701.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug1151421.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug1186774.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug1422334.html Bug 1422334. replaceState should update all the URI state for the entry being replaced. r=smaug 2019-08-14 19:29:49 +00:00
test_bug1450164.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_bug1507702.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_close_onpagehide_by_history_back.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_close_onpagehide_by_window_close.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_compressed_multipart.html Bug 1600211 - Disable content conversion by HttpChannelChild if we have already applied it by the time we get to HttpChannelParent::OnStartRequest. r=mayhemer 2019-12-04 03:19:26 +00:00
test_forceinheritprincipal_overrule_owner.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_framedhistoryframes.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_pushState_after_document_open.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
test_triggeringprincipal_location_seturi.html Bug 1532795: Part 3 - Update random test to use SpecialPowers.spawn for cross-process iframe access. r=nika 2019-06-18 20:49:35 -07:00
test_windowedhistoryframes.html Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
url1_historyframe.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00
url2_historyframe.html Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot 2018-10-02 07:45:54 +00:00