Add support for testing fission OOP iframes in xpcshell tests
Categories
(Core :: DOM: Content Processes, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: zombie, Assigned: u608768)
References
(Blocks 1 open bug)
Details
Attachments
(3 files, 1 obsolete file)
Currently the largest part of extension APIs are tested via xpcshell tests, simulating content loads via windowless browsers:
https://searchfox.org/mozilla-central/source/toolkit/components/extensions/ExtensionXPCShellUtils.jsm#175
https://searchfox.org/mozilla-central/search?q=loadContentPage&path=components%2Fextensions
Unfortunately, running that with Fission iframes currently doesn't work, since part of our process switching logic is in browser code.
We should fix this, instead of moving all our tests (back) to other, less efficient test suites like mochitest.
Comment 1•5 years ago
|
||
Tentatively moving all bugs whose summaries mention "Fission" (or other Fission-related keywords) but are not assigned to a Fission Milestone to the "?" triage 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
Comment 4•5 years ago
|
||
Tracking for Fission M6a
Depends on DocumentLoadListener bug 1636169
This makes it easier for callers to set LoadContext fields on the new
BrowsingContext.
Updated•4 years ago
|
Updated•4 years ago
|
Originally authored by :willdurand for bug 1573456.
TODO: Mention why/how bug 1637869 fixed this.
TODO: This still fails when we run with e10s/remote?
Updated•4 years ago
|
Comment 10•4 years ago
|
||
Comment 11•4 years ago
|
||
Backed outfor failures at test_ext_contentscript_xorigin_frame.js.
Backout link: https://hg.mozilla.org/integration/autoland/rev/995be63e7ebdb447a9aad11155a4d62d3284e3dd
Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=7733de7d4f5a4b241637550b741eae96f8cefc99&searchStr=x5&selectedTaskRun=KcqHDDIzTuK27lOGrLpPLg.0
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=309220918&repo=autoland&lineNumber=1863
Assignee | ||
Comment 12•4 years ago
|
||
Bug 1580764 made it so we use BrowsingContext IDs rather than window IDs to compute frame IDs. The new test is still checking the window ID.
Comment 13•4 years ago
|
||
Comment 14•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0bfd6bae286a
https://hg.mozilla.org/mozilla-central/rev/85ca6cff7dfb
https://hg.mozilla.org/mozilla-central/rev/4e9d6619c9d5
Description
•