gecko-dev/browser/base/content/test/webrtc
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
..
.eslintrc.js
browser.ini Bug 1456899 - Consider the page URI when checking WebRTC permissions in webrtcUI.jsm. r=nhnt11 2018-05-08 15:31:49 +02:00
browser_devices_get_user_media.js Bug 1443828 Replace promiseWaitForCondition with TestUtils.waitForCondition in browser_devices_get_user_media.js r=prathiksha 2018-03-08 23:15:15 +05:30
browser_devices_get_user_media_anim.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_devices_get_user_media_default_permissions.js Bug 1456899 - Consider the page URI when checking WebRTC permissions in webrtcUI.jsm. r=nhnt11 2018-05-08 15:31:49 +02:00
browser_devices_get_user_media_in_frame.js Bug 1440356 - Add a test for frames overriding WebRTC sharing UI. r=florian 2018-03-01 17:42:46 +01:00
browser_devices_get_user_media_multi_process.js Bug 1450163 - Wait for the end of the second tab streams before checking the number of streams and indicator in browser/base/content/test/webrtc/browser_devices_get_user_media_multi_process.js. r=dao 2018-04-09 10:58:01 +09:00
browser_devices_get_user_media_paused.js Bug 1463581 - Add browser chrome test. r=johannh 2018-05-30 16:47:46 +02:00
browser_devices_get_user_media_queue_request.js
browser_devices_get_user_media_screen.js Bug 1444054 - Replace promiseWaitForCondition with TestUtils.waitForCondition in browser_devices_get_user_media_screen.js. r=johannh 2018-03-13 00:14:30 +08:00
browser_devices_get_user_media_tear_off_tab.js
browser_devices_get_user_media_unprompted_access.js
browser_devices_get_user_media_unprompted_access_in_frame.js
browser_devices_get_user_media_unprompted_access_queue_request.js
browser_devices_get_user_media_unprompted_access_tear_off_tab.js
browser_webrtc_hooks.js
get_user_media.html
get_user_media_content_script.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
get_user_media_in_frame.html
head.js Bug 1476142 part 2. Remove some unnecessary QIs in browser. r=gijs 2018-08-02 15:26:47 -04:00