gecko-dev/security/sandbox/test
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 Bug 1359614 - Move the security/manager/.eslintrc.js to security/.eslintrc.js and fix the ESLint issues raised. r=standard8 2017-05-09 19:48:02 +05:30
browser.ini Bug 1432567 - [Mac] Add a test that renders fonts from non-standard directories r=jfkthame 2018-05-22 12:31:03 -07:00
browser_bug1393259.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_content_sandbox_fs.js Bug 1436575 - Manually fix the errors from no-compare-against-boolean-literal that the autofix couldn't change. r=standard8 2018-02-08 13:35:53 -05:00
browser_content_sandbox_syscalls.js Bug 1405088 - Part 1 - remove file-write permissions from macOS content temporary directory; r=haik 2017-10-02 10:48:01 -04:00
browser_content_sandbox_utils.js Bug 1386404 - Enable content-process specific tmpdir on Linux. r=jld 2018-01-09 16:29:40 +01:00
bug1393259.html Bug 1432567 - [Mac] Add a test that renders fonts from non-standard directories r=jfkthame 2018-05-22 12:31:03 -07:00
mac_register_font.py Bug 1464869 - Fix flake8/pep8 issue by hand in security/ r=fkiefer 2018-05-27 10:36:45 +02:00