Fix dom/tests/mochitest/storageevent/ tests to work with Fission
Categories
(Core :: Storage: localStorage & sessionStorage, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: mccr8, Assigned: mccr8)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
These tests compute the origin of their parent, in order to pass in as the target origin argument to postMessage. They do this with SpecialPowers.wrap(parent.window.location);
which does not work with Fission enabled, because the parent is often in another process. Every web page in this directory is only ever has a single origin as a parent, so we can hard code it as an argument to the first call to the postMsg()
helper method.
Assignee | ||
Comment 1•5 years ago
|
||
These tests compute the origin of their parent, in order to pass in as
the target origin argument to postMessage. They do this with
SpecialPowers.wrap(parent.window.location); which does not work with
Fission enabled, because the parent is often in another process. Every
web page in this directory is only ever has a single origin as a
parent, so we can hard code it as an argument to the first call to the
postMsg() helper method.
Updated•5 years ago
|
Comment 3•5 years ago
|
||
bugherder |
Description
•