Use root node resource for all frames navigations
Categories
(DevTools :: Inspector, task, P3)
Tracking
(Fission Milestone:M6c, firefox81 fixed)
Tracking | Status | |
---|---|---|
firefox81 | --- | fixed |
People
(Reporter: jdescottes, Assigned: jdescottes)
References
(Blocks 1 open bug)
Details
(Whiteboard: dt-fission-m2-mvp)
Attachments
(6 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 |
Currently, the root-node resource is only used when the topmost level of a given target changes.
If a target contains same-process frames, a navigation will be handled in the same it was pre-fission: we emit two fake mutations: "documentUnload" and "frameLoad" (as well as additional fake "childList" mutations with empty added
and removed
arrays).
This means we need to maintain two codepaths for similar tasks: one using the root node resource, one using the mutations.
At some point we should get one target per window global, which would solve the inconsistency. But it might be better to address this sooner.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Blocking Bug 1644190. I tried to start migrating the root node fully to the server, but the mix of mutations and events in the Walker actor at the moment makes it difficult to reason about. Will be much easier if this is addressed first.
Assignee | ||
Comment 2•4 years ago
|
||
Optional cleanup, but the _ref method name makes it hard to understand when we are reading the actor cache vs creating new actors.
Assignee | ||
Comment 3•4 years ago
|
||
Depends on D84972
Assignee | ||
Comment 4•4 years ago
|
||
Depends on D84973
Updated•4 years ago
|
Comment 5•4 years ago
|
||
Tracking dt-fission-m2-mvp bugs for Fission Nightly milestone (M6c).
Updated•4 years ago
|
Assignee | ||
Comment 6•4 years ago
|
||
Depends on D84972
Assignee | ||
Comment 7•4 years ago
|
||
Depends on D85597
newRoot mutations are no longer emitted by any server we support, we can remove the corresponding client code.
Assignee | ||
Comment 8•4 years ago
|
||
Depends on D85598
This test relies on mutations which are no longer emitted for most navigations and which will no longer be emitted at all with the next patches.
It has been disabled for 9 months and should be removed.
Assignee | ||
Comment 9•4 years ago
|
||
Comment 10•4 years ago
|
||
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a99f92bd4815 Rename WalkerActor _ref method and _refMap property r=gl https://hg.mozilla.org/integration/autoland/rev/24166ec8744b Remove outdated traits from NodeActor r=rcaliman https://hg.mozilla.org/integration/autoland/rev/a7435c1518d9 Remove backward compatibility code for newRoot mutations r=rcaliman https://hg.mozilla.org/integration/autoland/rev/a1d88e105644 Remove skipped & outdated test browser_inspector-mutations-frameload.js r=ochameau https://hg.mozilla.org/integration/autoland/rev/54d7c064365e Use root node resource to detect navigation for all frames r=rcaliman,ochameau https://hg.mozilla.org/integration/autoland/rev/4d51d99a85a4 Fix highlighters overlay to react to frame navigation r=rcaliman
Assignee | ||
Comment 11•4 years ago
|
||
Comment 12•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a99f92bd4815
https://hg.mozilla.org/mozilla-central/rev/24166ec8744b
https://hg.mozilla.org/mozilla-central/rev/a7435c1518d9
https://hg.mozilla.org/mozilla-central/rev/a1d88e105644
https://hg.mozilla.org/mozilla-central/rev/54d7c064365e
https://hg.mozilla.org/mozilla-central/rev/4d51d99a85a4
Description
•