Closed Bug 1657310 Opened 4 years ago Closed 4 years ago

Attach target and related thread from TargetList

Categories

(DevTools :: Framework, task, P1)

task

Tracking

(Fission Milestone:M6c, firefox81 fixed)

RESOLVED FIXED
81 Branch
Fission Milestone M6c
Tracking Status
firefox81 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Blocks 1 open bug, Regressed 1 open bug)

Details

(Whiteboard: dt-fission-m2-mvp)

Attachments

(1 file)

In Bug 1633727, we moved attaching to target and thread from the debugger to the toolbox.
In the toolbox, it's done in the TargetList's onTargetAvailable callback.
This can be an issue because the toolbox TargetList instance is only one of the existing instances running for a given session, and could lead to races.
Moving the attaching phase directly to the TargetList itself would make it more safe, as all consumers could expect the targetList to be attached at the moment onTargetAvailable is called.

Whiteboard: dt-fission-m2-mvp

Tracking dt-fission-m2-mvp bugs for Fission Nightly milestone (M6c).

Fission Milestone: --- → M6b

devtools so M6c

Fission Milestone: M6b → M6c
Blocks: 1660008
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2839eaa25b4e
Attach target and thread from TargetList. r=jdescottes,ochameau.
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
Regressions: 1660466

Sebastian let's back this out for the regressions please (also in beta) if we can't disable it.

Flags: needinfo?(aryx.bugmail)

We can probably disable the tests for now.
The failures are all from a specific area in the code, I'll try to go over it soon.

Regressions fixed in bug 1660466.

Flags: needinfo?(aryx.bugmail)
Regressions: 1663706
Regressions: 1669171
Regressions: 1687657
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: