gecko-dev/dom/tests/browser
Benjamin VanderSloot 2c816dcf36 Bug 1750016 - Make tests in dom/tests/browser/ dFPI compatible, r=nika,timhuang
We are fixing mochitests that fail when network.cookie.cookieBehavior = 5, i.e. when we enable Total Cookie Protection.
This is most often due to the test assuming that an origin will always have access to its storage state when embedded as
a third party.

In this case I had to request first-party storage access for an embedded iframe. This test is using iframes not as an isolation mechanism,
but as way to open more windows and ensure storage persists between them. To test these codepaths first-party storage access
is required of the iframes.

Differential Revision: https://phabricator.services.mozilla.com/D136607
2022-01-31 14:37:12 +00:00
..
perfmetrics
.eslintrc.js
beforeunload_test_page.html Bug 1684173 - Add newline character at end of files when missing r=sylvestre,geckoview-reviewers,agi 2021-01-07 08:53:08 +00:00
browser.ini Bug 1743907 - remove remaining webrender references in manifests. r=MasterWayZ 2021-12-24 14:06:25 +00:00
browser_ConsoleAPITests.js
browser_ConsoleAPI_originAttributes.js Bug 1602940 - Automated replacements to use Services.uuid. r=Gijs,necko-reviewers,preferences-reviewers,kershaw 2021-09-06 09:53:52 +00:00
browser_ConsoleStorageAPITests.js Bug 1691586 - [devtools] Enable browser_ConsoleStorageAPITests.js on fission. r=bomsy 2021-03-22 12:32:00 +00:00
browser_ConsoleStoragePBTest_perwindowpb.js Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo 2020-08-17 20:20:50 +00:00
browser_allocateGigabyte.js
browser_autofocus_background.js
browser_autofocus_preference.js
browser_beforeunload_between_chrome_content.js Bug 1686315 - Fix up more tests to pass with content prompt subdialogs enabled or disabled. r=Gijs 2021-04-13 15:51:48 +00:00
browser_bug396843.js
browser_bug1004814.js Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski 2020-07-10 23:58:28 +00:00
browser_bug1008941_dismissGeolocationHanger.js
browser_bug1236512.js
browser_bug1238427.js
browser_bug1316330.js
browser_bug1563629.js Bug 1711681: Update PBM tests within dom/tests to work with https-first-mode enabled r=emilio 2021-05-19 09:31:31 +00:00
browser_bug1685807.js Bug 1711544 - Move decision about name resetting to the parent process if we're replacing the BC for BFCache in the parent. r=smaug 2021-06-21 10:31:36 +00:00
browser_bug1709346.js Bug 1709346 - Part 2: Add test for cancelling a long-running load by removing its subframes, r=kmag 2021-06-03 16:59:32 +00:00
browser_bytecode_cache_asm_js.js Bug 1678243 - Clear exception set by JS::FinishIncrementalEncoding. r=tcampbell 2020-11-26 20:08:59 +00:00
browser_cancel_keydown_keypress_event.js Bug 1686315 - Fix up more tests to pass with content prompt subdialogs enabled or disabled. r=Gijs 2021-04-13 15:51:48 +00:00
browser_data_document_crossOriginIsolated.js Bug 1685475 - Add a browser test to verify data document stays in the same DocGroup with its creator; r=smaug 2021-01-14 13:22:52 +00:00
browser_focus_steal_from_chrome.js Bug 1671983 - Part 4: Stop awaiting BrowserTestUtils.loadURI, r=annyG,remote-protocol-reviewers,extension-reviewers,preferences-reviewers,whimboo,zombie 2020-11-12 18:01:03 +00:00
browser_focus_steal_from_chrome_during_mousedown.js
browser_form_associated_custom_elements_validity.js Bug 1556370 - Part 2: Implement reportValidity() of ElementInternals; r=smaug 2021-12-09 18:06:04 +00:00
browser_frame_elements.html
browser_frame_elements.js
browser_hasActivePeerConnections.js Bug 1743663 - Remove windowContext.hasActivePeerConnections. r=peterv 2021-12-16 16:14:13 +00:00
browser_hasbeforeunload.js Bug 1608272 - Remove 'this' as the second argument to 'ChromeUtils.import', use object destructuring instead (test-only changes). r=Gijs 2021-02-11 22:02:15 +00:00
browser_keypressTelemetry.js
browser_largeAllocation_non_win32.js
browser_largeAllocation_win32.js
browser_localStorage_e10s.js Bug 1641028 - Adding tests localstorage consistency between same origin different processes tab for fission. r=dom-storage-reviewers,asuth 2021-05-11 14:35:06 +00:00
browser_localStorage_fis.js Bug 1641028 - Adding tests localstorage consistency between same origin different processes tab for fission. r=dom-storage-reviewers,asuth 2021-05-11 14:35:06 +00:00
browser_localStorage_privatestorageevent.js
browser_localStorage_snapshotting_e10s.js Bug 1727158 - Part 1: Fix tests which will fail when processCount.webIsolated is set to 4, r=annyG,extension-reviewers,rpl 2021-09-14 00:55:04 +00:00
browser_navigate_replace_browsingcontext.js
browser_noopener.js
browser_noopener_null_uri.js
browser_persist_cookies.js Bug 1617611: Annotate each failing test individually. r=webdriver-reviewers,necko-reviewers,ckerschb,whimboo,valentin 2021-11-17 11:04:34 +00:00
browser_persist_cross_origin_iframe.js
browser_persist_image_accept.js Bug 1707590 - Part 4: Add image/jxl to Accept header and DownloadsViewableInternally r=necko-reviewers,dragana 2021-05-06 02:00:58 +00:00
browser_persist_mixed_content_image.js
browser_pointerlock_warning.js Bug 1613705 - [localization] part17: Fix racy tests to wait for l10n frame. r=platform-i18n-reviewers,dminor,application-update-reviewers,nalexander 2021-08-03 16:25:16 +00:00
browser_sessionStorage_navigation.js Bug 1750016 - Make tests in dom/tests/browser/ dFPI compatible, r=nika,timhuang 2022-01-31 14:37:12 +00:00
browser_test_focus_after_modal_state.js Bug 1686315 - Fix up more tests to pass with content prompt subdialogs enabled or disabled. r=Gijs 2021-04-13 15:51:48 +00:00
browser_test_new_window_from_content.js Bug 1742785: Update more tests within dom/ and docshell/ to work with https-first enabled r=smaug 2021-11-30 09:21:45 +00:00
browser_test_toolbars_visibility.js Bug 1701001 - Part 3: Standardize the BarProp values. r=smaug 2021-11-06 01:19:14 +00:00
browser_unlinkable_about_page_can_load_module_scripts.js
browser_wakelock.js
browser_windowProxy_transplant.js Bug 1654922 - Part 1: Remove DocumentChannel pref usage from tests and document navigation code, r=mattwoodrow 2020-08-01 16:36:12 +00:00
browser_xhr_sandbox.js
create_webrtc_peer_connection.html Bug 1734099 - Never unload tabs with active RTCPeerConnection instances. r=peterv,jesup 2021-11-18 22:59:12 +00:00
dummy.html
dummy.png
file_bug1685807.html Bug 1685807 - Part 2: Add tests including a mochitest and a web platform test. r=smaug 2021-01-15 18:57:28 +00:00
file_coop_coep.html Bug 1685475 - Add a browser test to verify data document stays in the same DocGroup with its creator; r=smaug 2021-01-14 13:22:52 +00:00
file_coop_coep.html^headers^ Bug 1656768 - Add a test to ensure sessionStorage is propagated from non-cross-origin-isolated to cross-origin-isolated window and vice versa; r=nika 2020-11-30 08:56:42 +00:00
file_empty.html Bug 1660485 - Add a test to veirfy the SessionStorage for a tab is preserved during navigation; r=nika 2020-08-27 15:40:47 +00:00
file_empty_cross_site_frame.html Bug 1709346 - Part 2: Add test for cancelling a long-running load by removing its subframes, r=kmag 2021-06-03 16:59:32 +00:00
file_load_module_script.html
file_module_loaded.js
file_module_loaded2.js
file_postMessage_parent.html Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo 2020-08-17 20:20:50 +00:00
focus_after_prompt.html
geo_leak_test.html
helper_largeAllocation.js
helper_localStorage.js Bug 1641028 - Adding tests localstorage consistency between same origin different processes tab for fission. r=dom-storage-reviewers,asuth 2021-05-11 14:35:06 +00:00
image.html
load_forever.sjs Bug 1709346 - Part 2: Add test for cancelling a long-running load by removing its subframes, r=kmag 2021-06-03 16:59:32 +00:00
mimeme.sjs
page_bytecode_cache_asm_js.html Bug 1678243 - Clear exception set by JS::FinishIncrementalEncoding. r=tcampbell 2020-11-26 20:08:59 +00:00
page_bytecode_cache_asm_js.js Bug 1678243 - Clear exception set by JS::FinishIncrementalEncoding. r=tcampbell 2020-11-26 20:08:59 +00:00
page_localStorage.js Bug 1641028 - Adding tests localstorage consistency between same origin different processes tab for fission. r=dom-storage-reviewers,asuth 2021-05-11 14:35:06 +00:00
page_localstorage.html Bug 1641028 - Adding tests localstorage consistency between same origin different processes tab for fission. r=dom-storage-reviewers,asuth 2021-05-11 14:35:06 +00:00
page_localstorage_coop+coep.html Bug 1641028 - Adding tests localstorage consistency between same origin different processes tab for fission. r=dom-storage-reviewers,asuth 2021-05-11 14:35:06 +00:00
page_localstorage_coop+coep.html^headers^ Bug 1641028 - Adding tests localstorage consistency between same origin different processes tab for fission. r=dom-storage-reviewers,asuth 2021-05-11 14:35:06 +00:00
page_localstorage_snapshotting_e10s.html
page_privatestorageevent.html
position.html
prevent_return_key.html Bug 1679758 - Remove trailing empty lines r=sylvestre,marionette-reviewers,jgraham 2020-12-15 10:34:54 +00:00
set-samesite-cookies-and-redirect.sjs Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers 2021-10-18 09:26:33 +00:00
test-console-api.html Bug 1691586 - [devtools] Enable browser_ConsoleStorageAPITests.js on fission. r=bomsy 2021-03-22 12:32:00 +00:00
test_bug1004814.html
test_largeAllocation.html
test_largeAllocation.html^headers^
test_largeAllocation2.html
test_largeAllocation2.html^headers^
test_largeAllocationFormSubmit.sjs Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers 2021-10-18 09:26:33 +00:00
test_mixed_content_image.html
test_new_window_from_content_child.html
test_noopener_source.html Bug 1679758 - Remove trailing empty lines r=sylvestre,marionette-reviewers,jgraham 2020-12-15 10:34:54 +00:00
test_noopener_target.html
worker_bug1004814.js