Cleanup SpecialPowers
Categories
(Testing :: Mochitest, task, P2)
Tracking
(Fission Milestone:M4, firefox69 fixed)
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: kmag, Assigned: kmag)
References
Details
Attachments
(12 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
SpecialPowers is kind of a mess right now, which makes it difficult to refactor it for Fission support.
A lot of unrelated code is pretty heavily intertwined, which makes it difficult to find all of the code that needs to changed.
Possibly more importantly, though, the same code is loaded into all sorts of different contexts (as a JSM, into a chrome window using a <script> tag, into a plain object using the subscript loader, ...), with various hacks to make things continue working. That makes it pretty hard to tell what is used where, and causes some changes that assume a script is actually being loaded as, e.g., a frame script or a JSM, to break in unexpected ways.
Fixing these problems is a necessary first step to doing anything larger. Beyond that, code that uses the message manager is currently required to spread itself across a half dozen different files, and different sections of files, which makes refactoring it to use an actor model even more difficult. That will likely have to be dealt with in a follow-up bug, after this one is fixed.
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Assignee | ||
Comment 4•5 years ago
|
||
Assignee | ||
Comment 5•5 years ago
|
||
Assignee | ||
Comment 6•5 years ago
|
||
Assignee | ||
Comment 7•5 years ago
|
||
Assignee | ||
Comment 8•5 years ago
|
||
Assignee | ||
Comment 9•5 years ago
|
||
Assignee | ||
Comment 10•5 years ago
|
||
Assignee | ||
Comment 11•5 years ago
|
||
Assignee | ||
Comment 12•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 13•5 years ago
|
||
Comment 14•5 years ago
|
||
Backed out 43 changesets (bug 1561724, bug 1561150, bug 1541557, bug 1561122, bug 1560400, bug 1558298, bug 1561999, bug 1532795, bug 1561061) for multiple failures. CLOSED TREE
Log:
https://treeherder.mozilla.org/logviewer.html#?job_id=254379814&repo=mozilla-inbound
Backout:
https://hg.mozilla.org/integration/mozilla-inbound/rev/f9bf5e4b0b4f48302d560afb5307d57fbbab7c73
Othere bugs which have been backout in this push can be seen in the backout link.
Comment 15•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Comment 16•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f859e4de0007
https://hg.mozilla.org/mozilla-central/rev/9b1a9d802434
https://hg.mozilla.org/mozilla-central/rev/c95e6e599836
https://hg.mozilla.org/mozilla-central/rev/ca88016511bb
https://hg.mozilla.org/mozilla-central/rev/ba24251835fb
https://hg.mozilla.org/mozilla-central/rev/edd1cc6badf7
https://hg.mozilla.org/mozilla-central/rev/0e91fc9541c2
https://hg.mozilla.org/mozilla-central/rev/4ccecdba1c34
https://hg.mozilla.org/mozilla-central/rev/45a9599d9641
https://hg.mozilla.org/mozilla-central/rev/ef4ec8f0f886
https://hg.mozilla.org/mozilla-central/rev/d12525990565
https://hg.mozilla.org/mozilla-central/rev/51969e1c9c44
Comment 17•5 years ago
|
||
Backed out 34 changesets (bug 1561150, bug 1541557, bug 1561724, bug 1561999, bug 1558298, bug 1561061, bug 1532795, bug 1560400, bug 1561122) for beta simulation failures (bug 1563905, bug 1564001):
https://hg.mozilla.org/mozilla-central/rev/7e6657f88b7694ecd841088963ff71d767e4ec22
Comment 18•5 years ago
|
||
Relanded (backout got backed out):
https://hg.mozilla.org/mozilla-central/rev/e596664275d5e3e2fdcb7fa8d1447289f99269c3
Description
•