Closed
Bug 1530608
Opened 6 years ago
Closed 6 years ago
Add a test for same-compartment content globals
Categories
(Core :: XPConnect, enhancement, P2)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
mozilla67
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
References
Details
Attachments
(3 files)
Bug 1517694 added a test verifying system windows, sandboxes, JSMs are in the same compartment. We should do something similar for content globals to catch potential regressions in this area. We want to test at least iframes, frames, and dynamically generated iframe elements.
Updated•6 years ago
|
Priority: -- → P2
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
Depends on D21568
Assignee | ||
Comment 3•6 years ago
|
||
Depends on D21569
Updated•6 years ago
|
Attachment #9047453 -
Attachment description: Bug 1530608 part 3 - Add a test verifying same-origin globals are same-compartment. r?bzbarsky! → Bug 1530608 part 3 - Add tests verifying same-origin globals are same-compartment. r?bzbarsky!
Pushed by jdemooij@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/18e50a1447d2
part 1 - Add an isSameCompartment JS testing function. r=luke
https://hg.mozilla.org/integration/autoland/rev/23671e7b0bb7
part 2 - Use the isSameCompartment JS testing function in test_sharedChromeCompartment.html. r=bzbarsky
https://hg.mozilla.org/integration/autoland/rev/25cfc0e03717
part 3 - Add tests verifying same-origin globals are same-compartment. r=bzbarsky
Comment 5•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/18e50a1447d2
https://hg.mozilla.org/mozilla-central/rev/23671e7b0bb7
https://hg.mozilla.org/mozilla-central/rev/25cfc0e03717
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox67:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in
before you can comment on or make changes to this bug.
Description
•