Closed
Bug 1741669
Opened 4 years ago
Closed 4 years ago
Implement a faster version for getParentTarget
Categories
(DevTools :: Framework, enhancement)
DevTools
Framework
Tracking
(firefox96 fixed)
RESOLVED
FIXED
96 Branch
| Tracking | Status | |
|---|---|---|
| firefox96 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
TargetMixin.getFront:
https://searchfox.org/mozilla-central/rev/df18dd52da04ee2bad434b0ba2d9fcb196d4d15e/devtools/client/fronts/targets/target-mixin.js#202-224
is a bit obsolete with the end of the method no longer used.
Also it depends on doing one RDP request whereas we could avoid that by passing some extra data in target's form.
The goals was originaly to also make this method synchronous, but because of backward compat this is harder than expected.
| Assignee | ||
Comment 1•4 years ago
|
||
The original intent was to do a synchronous implementation,
but this is hard to do while keeping backward compat.
| Assignee | ||
Comment 2•4 years ago
|
||
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/86e47c8c9ce8
[devtools] Implement a faster TargetCommand.getParentTarget. r=nchevobbe
Comment 4•4 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox96:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•