Closed Bug 1517694 Opened 6 years ago Closed 6 years ago

Add a test to verify system windows and sandboxes are in the same compartment

Categories

(Core :: XPConnect, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: jandem, Assigned: jandem)

References

Details

Attachments

(1 file)

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.
Priority: -- → P2
Pushed by jdemooij@mozilla.com: 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
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: