Closed Bug 1697453 Opened 3 years ago Closed 3 years ago

Don't trigger onResourceAvailable/onResourceUpdated callback for resources linked to destroyed targets

Categories

(DevTools :: Framework, task)

task

Tracking

(Fission Milestone:M7, firefox88 fixed)

RESOLVED FIXED
88 Branch
Fission Milestone M7
Tracking Status
firefox88 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

Details

(Whiteboard: dt-fission-m3-mvp)

Attachments

(1 file)

No description provided.

This adds multiple guards so we don't call functions that would trigger errors
further down the road.
We also clear associated pending events when a target is destroyed.
This isn't enough to make browser_toolbox_backward_forward_navigation.js pass,
but this does prevent some errors from appearing.

Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c093da5de853
[devtools] Don't trigger onResourceAvailable/Updated for resources bound to destroyed targets. r=ochameau.
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
Fission Milestone: --- → M7
Whiteboard: dt-fission-m3-mvp
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: