Implement "script.realmCreated" event
Categories
(Remote Protocol :: WebDriver BiDi, task, P2)
Tracking
(firefox119 fixed)
Tracking | Status | |
---|---|---|
firefox119 | --- | fixed |
People
(Reporter: whimboo, Assigned: Sasha)
References
(Blocks 2 open bugs, )
Details
(Whiteboard: [webdriver:m8][wptsync upstream][webdriver:relnote])
Attachments
(3 files)
This event is needed for clients to handle newly created realms.
Reporter | ||
Comment 1•2 years ago
|
||
With the implementation in this bug we should emit this event internally for the default window realm and any sandbox that is created by the script module. Then the root script module can pick-up the event and forward it to the client if a subscription is active.
The only thing that is problematic right now is that the script module only gets instantiated when any command from this module gets run, or a an event gets subscribed to. We filed bug 1788760 to have a method to automatically instantiate specific modules when a new message handler instance gets created. But that's not blocking us here.
Reporter | ||
Comment 2•2 years ago
|
||
We will discuss this bug in detail next week.
Reporter | ||
Comment 3•2 years ago
|
||
This bug should cover the low-level bits for default window and sandbox realms. Once the event is subscribed for all browsing contexts the event should be enabled and the content module should emit this event.
Reporter | ||
Updated•2 years ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 4•1 year ago
|
||
Assignee | ||
Comment 5•1 year ago
|
||
Depends on D188438
Assignee | ||
Comment 6•1 year ago
|
||
Depends on D188439
Comment 8•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/eed7841ab9a1
https://hg.mozilla.org/mozilla-central/rev/a8d1fa5d0a66
https://hg.mozilla.org/mozilla-central/rev/d6ecc636ef35
Reporter | ||
Updated•1 year ago
|
Description
•