mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-07 19:59:18 +02:00
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 |
||
|---|---|---|
| .. | ||
| .eslintrc.js | ||
| browser.ini | ||
| browser_devices_get_user_media.js | ||
| browser_devices_get_user_media_anim.js | ||
| browser_devices_get_user_media_default_permissions.js | ||
| browser_devices_get_user_media_in_frame.js | ||
| browser_devices_get_user_media_multi_process.js | ||
| browser_devices_get_user_media_paused.js | ||
| browser_devices_get_user_media_queue_request.js | ||
| browser_devices_get_user_media_screen.js | ||
| 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 | ||
| get_user_media_in_frame.html | ||
| head.js | ||