Make Target classes be protocol.js fronts and merge them with old clients
Categories
(DevTools :: Framework, enhancement, P2)
Tracking
(firefox67 fixed)
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: jryans, Assigned: ochameau)
References
(Blocks 1 open bug)
Details
(Whiteboard: dt-fission)
User Story
We should remove the existing client-side targets: * TabTarget * WorkerTarget and create "TargetFronts" for all "TargetActors" using inheritance to share common functions, similar to actor side: * BrowsingContextTargetFront (abstract) * FrameTargetFront * AddonTargetFront * WorkerTargetFront etc. While doing that, we will have to merge with existing client classes: * TabClient * WorkerClient * AddonClient
Attachments
(9 files, 6 obsolete 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 |
Updated•7 years ago
|
Assignee | ||
Comment 1•7 years ago
|
||
Assignee | ||
Updated•7 years ago
|
Assignee | ||
Updated•7 years ago
|
Assignee | ||
Updated•7 years ago
|
Assignee | ||
Comment 2•7 years ago
|
||
Assignee | ||
Comment 3•7 years ago
|
||
Assignee | ||
Comment 4•7 years ago
|
||
Assignee | ||
Comment 5•7 years ago
|
||
Assignee | ||
Comment 6•7 years ago
|
||
Assignee | ||
Comment 7•7 years ago
|
||
Assignee | ||
Comment 8•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Assignee | ||
Comment 9•7 years ago
|
||
Depends on D15831
Assignee | ||
Comment 10•7 years ago
|
||
Depends on D16873
Updated•7 years ago
|
Assignee | ||
Comment 11•7 years ago
|
||
Depends on D16874
Assignee | ||
Comment 12•7 years ago
|
||
When destroying the target, Target.destroy (for local tabs) only calls DebuggerClient.close,
which isn't going to call detach
. But we still do need to unregister
the tabNavigated/frameUpdate listener to prevent unecessary event from firing.
Depends on D17609
Assignee | ||
Comment 13•7 years ago
|
||
When destroying the target, Target.destroy (for local tabs) only calls DebuggerClient.close,
which isn't going to call detach
. But we still do need to unregister
the tabNavigated/frameUpdate listener to prevent unecessary event from firing.
Updated•7 years ago
|
Assignee | ||
Comment 14•7 years ago
|
||
Comment 15•7 years ago
|
||
Assignee | ||
Comment 16•7 years ago
|
||
This is an hotfix for: Bug 1465635 - Convert canvas front instantiation to Target.getFront.
Assignee | ||
Comment 17•7 years ago
|
||
Comment 18•7 years ago
|
||
Backed out 8 changesets (Bug 1465635) for failures on browser_canvas-actor-test-10.js, browser_target_server_compartment.js
Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&group_state=expanded&revision=e8e363f9852540888b1aaebdec7243557336f9f2
Backout link: https://hg.mozilla.org/integration/autoland/rev/93f0d162e246b088a3c7e7d7e07cdd20986cb95d
Failures logs:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=224988365&repo=autoland&lineNumber=2113
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=224982328&repo=autoland&lineNumber=5249
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=224987575&repo=autoland&lineNumber=2316
Assignee | ||
Comment 19•7 years ago
|
||
We were registering these key shortcut twice.
A first time from devtools-startup.js and another time from Toolbox.
Both shortcut listeners were called when the toolbox was running,
leading the toolbox to reopen while we were expecting it to be closed.
Depends on D17610
Updated•7 years ago
|
Updated•7 years ago
|
Assignee | ||
Comment 20•7 years ago
|
||
Green try:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=f40ae1d72a9d904b408a29da4a26947dad9d241e
But I realize that this try syntax doesn't include mochitests "gpu", which was failing, so here is a new one:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=bcf8b5f08e769324b416f214b5583d195f35f3f5
Comment 21•7 years ago
|
||
Comment 22•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2fe3a0ae216b
https://hg.mozilla.org/mozilla-central/rev/9c7fe2ba8434
https://hg.mozilla.org/mozilla-central/rev/e6efb1191ec6
https://hg.mozilla.org/mozilla-central/rev/fead89ec2d1b
https://hg.mozilla.org/mozilla-central/rev/1dfe4f2eb472
https://hg.mozilla.org/mozilla-central/rev/aff30c79fa91
https://hg.mozilla.org/mozilla-central/rev/cb3aef2a4aff
https://hg.mozilla.org/mozilla-central/rev/76ea544a5404
https://hg.mozilla.org/mozilla-central/rev/756f2a2d2017
Description
•