[Fission] Make dom/tests/mochitest/bugs/test_bug346659.html fission compatible
Categories
(Core :: DOM: Core & HTML, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: jdai, Assigned: timhuang)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
This patch makes several changes in order to enable it in Fission.
-
It changes the way how we close windows in test. The testing windows
were closed by the script of their child window and iframe. It won't
work in fission if the testing window and its child are in different
origins. To address this issue, we close the testing windows by the
major test script when the test of the testing windows finishes. -
We modify the way how testing child window and iframe get the test
number. It used to get the test number through opener/parent. However,
the property of the opener/parent is inaccessible if it is cross site.
So, for load tests, we use url parameter to propagate the test number to
child window. For write tests, we directly write the test number in the
markup. -
We change to use SpecialPowers.spawn() to access testing window since
they could be cross origin from the test script.
In addition, we add comments for better understanding the test script
itself.
Comment 3•5 years ago
|
||
bugherder |
Comment 4•5 years ago
|
||
Retroactively moving fixed bugs whose summaries mention "Fission" (or other Fission-related keywords) but are not assigned to a Fission Milestone to an appropriate Fission Milestone.
This will generate a lot of bugmail, so you can filter your bugmail for the following UUID and delete them en masse:
0ee3c76a-bc79-4eb2-8d12-05dc0b68e732
Description
•