gecko-dev/dom/file/ipc/tests
Kris Maglione 25c94b46d8 Bug 1481021: Part 1 - Fix tests that rely on permissive COWs or SpecialPowers side-effects in frame script scopes. r=bz
Right now, a lot of test code relies on side-effects of SpecialPowers being
loaded into frame script globals. In particular:

- It forces permissive COWs from those scopes, which allows frame scripts to
  pass objects from those scopes to unprivileged content that they otherwise
  wouldn't.
- It imports a bunch of helper modules and WebIDL globals which would
  otherwise not be available.

Fortunately, this seems to only impact test code at this point. But there's a
real down-the-road risk of it impacting shipping code, which ends up working
in automation due to the side-effects of SpecialPowers, but failing in real
world use.

MozReview-Commit-ID: G27eSSOHymX

--HG--
extra : rebase_source : 1702e63fed719fc92def2bdbbb8a7c53572432db
extra : source : 41bedc526dd6ec6b7e8c7be1c832ac60c81d6263
2018-08-07 14:13:06 -07:00
..
browser_ipcBlob_temporary.js Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao 2018-03-19 11:16:45 +09:00
browser_ipcBlob.js Bug 1481021: Part 1 - Fix tests that rely on permissive COWs or SpecialPowers side-effects in frame script scopes. r=bz 2018-08-07 14:13:06 -07:00
browser.ini Bug 1403706 - Remove race conditions in temporary blob - testing, r=smaug 2017-10-05 07:41:38 +02:00
empty.html
green.jpg Bug 1420223 - createImageBitmap must work with nsIAsyncInputStream - part 1 - tests, r=aosmond 2017-11-27 17:05:56 +01:00
mochitest.ini Backed out 3 changesets (bug 1421176) for build bustages on xpcom/tests/gtest/TestMultiplexInputStream.cpp:266:3 r=backout on a CLOSED TREE 2017-11-30 21:31:55 +02:00
script_file.js Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
temporary.sjs Bug 1403706 - Remove race conditions in temporary blob - testing, r=smaug 2017-10-05 07:41:38 +02:00
test_ipcBlob_createImageBitmap.html Bug 1420223 - createImageBitmap must work with nsIAsyncInputStream - part 1 - tests, r=aosmond 2017-11-27 17:05:56 +01:00
test_ipcBlob_emptyMultiplex.html Bug 1424183 - nsMultiplexInputStream must call OnInputStreamReady only when there is data available, r=smaug 2017-12-13 05:11:12 -06:00
test_ipcBlob_fileReaderSync.html
test_ipcBlob_workers.html Bug 1366316 - Separate thread for IPCBlobInputStream actors - part 3 - tests, r=smaug 2017-05-31 07:41:10 +02:00