Closed Bug 1741669 Opened 4 years ago Closed 4 years ago

Implement a faster version for getParentTarget

Categories

(DevTools :: Framework, enhancement)

enhancement

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.

The original intent was to do a synchronous implementation,
but this is hard to do while keeping backward compat.

Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/86e47c8c9ce8 [devtools] Implement a faster TargetCommand.getParentTarget. r=nchevobbe
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
Regressions: 1743617
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: