gecko-dev/security
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
..
apps Bug 1464869 - Run autopep8 on security/ r=fkiefer 2018-05-26 06:47:27 -07:00
certverifier Backed out changeset 5950c9d63c3b (bug 1090497) for build bustages on several files. CLOSED TREE 2018-08-02 19:59:53 +03:00
manager Merge inbound to mozilla-central. a=merge 2018-08-07 00:58:13 +03:00
nss Bug 1470914 - land NSS e2a0d66b122f UPGRADE_NSS_RELEASE, r=me 2018-08-02 12:53:56 +02:00
pkix Backed out changeset 5950c9d63c3b (bug 1090497) for build bustages on several files. CLOSED TREE 2018-08-02 19:59:53 +03:00
sandbox 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
.eslintrc.js
generate_certdata.py Bug 1464869 - Run autopep8 on security/ r=fkiefer 2018-05-26 06:47:27 -07:00
generate_mapfile.py
moz.build Bug 1445763 - Update moz.build meta data with "Firefox Build System". r=froydnj 2018-03-14 21:44:46 +01:00
nss.symbols Bug 1464828 - DAR API with libsecret and NSS back-end, r=keeler,m_and_m,froydnj 2018-07-26 16:05:35 +02:00