Closed Bug 1648458 Opened 5 years ago Closed 5 years ago

Add test for checking that resource watcher are destroyed when target is destroyed

Categories

(DevTools :: Framework, task)

task

Tracking

(firefox79 fixed)

RESOLVED FIXED
Firefox 79
Tracking Status
firefox79 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

Details

Attachments

(2 files)

This is a follow up for Bug 1648022

getActor (which is called by DevToolsServer.searchAllConnectionsForActor) wasn't
returning self-managed actors.
In this patch we're adding a new findInPools method to DevToolsServerConnection
which allows to loop through the pools. We then use it to search for self-managed
actors in getActor.

Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9c16ba24eff4 Add a test to assert resource watcher destruction when associated target actor is destroyed. r=ochameau.
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 79
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: