Closed Bug 1517694 Opened 2 years ago Closed 2 years ago
Add a test to verify system windows and sandboxes are in the same compartment
Bug 1517694 - Add a test to verify sandboxes, chrome windows and JSMs are in the same compartment. r?kmag!
47 bytes, text/x-phabricator-request
|Details | Review|
It should be easy to test this, one way is calling Cu.getClassName with aUnwrap = false. This test should also check |freshCompartment: true| does what we expect, etc.
And also JSMs.
This also changes test_bug1516237.html to now assert we're same-compartment instead of supporting both cases.
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/bf1e3f284efb Add a test to verify sandboxes, chrome windows and JSMs are in the same compartment. r=kmag
You need to log in before you can comment on or make changes to this bug.