Implement "script.realmDestroyed" event
Categories
(Remote Protocol :: WebDriver BiDi, task, P1)
Tracking
(firefox119 fixed)
Tracking | Status | |
---|---|---|
firefox119 | --- | fixed |
People
(Reporter: whimboo, Assigned: Sasha)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [webdriver:m8][wptsync upstream][webdriver:relnote])
Attachments
(2 files)
This event is needed for clients to handle situations when realms are getting destroyed / removed, eg. closing a frame or tab.
Reporter | ||
Comment 1•3 years ago
|
||
So generally there is no command yet which allows to destroy a specific existent realm. That means realms will be only destroyed when the window object itself gets removed. Hereby I was first thinking about a possible event that we should register for, but we most likely can just rely on the destructor logic of the message handler framework.
That means when the module cache is destroyed it will call destroy()
for each module. When the script
module removes all the realms we should be able to fire individual events for each of the realms. My hope here is that the event can still be sent to the parent process.
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
Depends on D187550
Comment 6•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d966f217dd1c
https://hg.mozilla.org/mozilla-central/rev/5b6b792e8a29
Reporter | ||
Updated•1 year ago
|
Description
•