Open Bug 1730913 Opened 3 years ago Updated 2 years ago

MessageHandler: cleanup all MessageHandler instances when the root MessageHandler is destroyed

Categories

(Remote Protocol :: WebDriver BiDi, task, P3)

task
Points:
8

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [webdriver:backlog])

At the moment, MessageHandlers are only destroyed when the context they monitor is destroyed, or when a consumer explicitly destroys them.

In practice, WindowGlobal MessageHandlers are destroyed when the corresponding windowglobal (and JS Window Actors) is destroyed. Root MessageHandlers are destroyed when the session is destroyed.

In the second situation (destroying the root handler on session destroy) we should also cleanup all the in-process MessageHandler instances.

Points: --- → 2
Depends on: 1713443
Priority: -- → P3
Points: 2 → ---
Whiteboard: [bidi-m2-mvp] → [bidi-m3-mvp]
Points: --- → 8
Whiteboard: [bidi-m3-mvp] → [webdriver:backlog]
You need to log in before you can comment on or make changes to this bug.