gecko-dev/dom/broadcastchannel/tests
Benjamin VanderSloot 17deea5325 Bug 1750006 - Make tests in dom/broadcastchannel/test/ dFPI compatible, r=smaug,anti-tracking-reviewers,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 storage access to allow an embedded iframe to use a BroadcastChannel to communicate with top-level pages of the same origin.
This was only a problem in the XOrigin case where the test html file is loaded in an embedded iframe and then can't communicate with the top-level window it created.

Differential Revision: https://phabricator.services.mozilla.com/D136604
2022-01-31 14:42:47 +00:00
..
.eslintrc.js
blank.html
broadcastchannel_sharedWorker.js
broadcastchannel_worker_alive.js
browser.ini
browser_private_browsing.js
file_mozbrowser.html
file_mozbrowser2.html
iframe_broadcastchannel.html Bug 1679758 - Remove trailing empty lines r=sylvestre,marionette-reviewers,jgraham 2020-12-15 10:34:54 +00:00
iframe_mozbrowser.html
iframe_mozbrowser2.html
mochitest.ini Bug 1692639 - Change dom/broadcastchannel/tests/test_bfcache.html to use BroadcastChannel, r=annyG 2021-04-08 21:15:02 +00:00
testUrl1_bfcache.html Bug 1692639 - Change dom/broadcastchannel/tests/test_bfcache.html to use BroadcastChannel, r=annyG 2021-04-08 21:15:02 +00:00
testUrl2_bfcache.html Bug 1692639 - Change dom/broadcastchannel/tests/test_bfcache.html to use BroadcastChannel, r=annyG 2021-04-08 21:15:02 +00:00
test_bfcache.html Bug 1750006 - Make tests in dom/broadcastchannel/test/ dFPI compatible, r=smaug,anti-tracking-reviewers,timhuang 2022-01-31 14:42:47 +00:00
test_broadcastchannel_basic.html Bug 1679758 - Remove trailing empty lines r=sylvestre,marionette-reviewers,jgraham 2020-12-15 10:34:54 +00:00
test_broadcastchannel_close.html
test_broadcastchannel_self.html Bug 1679758 - Remove trailing empty lines r=sylvestre,marionette-reviewers,jgraham 2020-12-15 10:34:54 +00:00
test_broadcastchannel_sharedWorker.html
test_broadcastchannel_worker_alive.html
test_dataCloning.html
test_dataURL.html Bug 1679758 - Remove trailing empty lines r=sylvestre,marionette-reviewers,jgraham 2020-12-15 10:34:54 +00:00
test_event_listener_leaks.html
test_invalidState.html Bug 1679758 - Remove trailing empty lines r=sylvestre,marionette-reviewers,jgraham 2020-12-15 10:34:54 +00:00
test_message_after_close.html Bug 1679758 - Remove trailing empty lines r=sylvestre,marionette-reviewers,jgraham 2020-12-15 10:34:54 +00:00
test_ordering.html Bug 1679758 - Remove trailing empty lines r=sylvestre,marionette-reviewers,jgraham 2020-12-15 10:34:54 +00:00