Closed Bug 1781726 Opened 3 years ago Closed 3 years ago

Pass an isModeSwitching property to onTargetDestroyed callback when the target gets destroyed as a result of the user switching to Parent Process only mode

Categories

(DevTools :: Framework, task, P1)

task

Tracking

(firefox105 fixed)

RESOLVED FIXED
105 Branch
Tracking Status
firefox105 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

Details

Attachments

(1 file)

No description provided.
Severity: -- → S3
Priority: -- → P1

We pass isModeSwitching to unwatchTargets from the target command when the
pref is changed.
On the server, we then pass it to the various places which might call notifyTargetDestroyed,
so we can pass the flag in the target-destroyed-form event, which we can then
pass to TargetCommand#onDestroyed callbacks.`

Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ca9e03f9cd17 [devtools] Pass an `isModeSwitching` property to `onTargetDestroyed` callback param when switching modes. r=jdescottes,devtools-backward-compat-reviewers.
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: