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•1 year 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•1 year ago
|
||
We will discuss this bug in detail next week.
Reporter | ||
Comment 3•1 year 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•9 months ago
|
Assignee | ||
Updated•3 months ago
|
Assignee | ||
Updated•3 months ago
|
Assignee | ||
Comment 4•3 months ago
|
||
Assignee | ||
Comment 5•3 months ago
|
||
Depends on D188438
Assignee | ||
Comment 6•3 months ago
|
||
Depends on D188439
Pushed by aborovova@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/eed7841ab9a1 [bidi] Do not return sandbox name in realm info when it equals `null`. r=webdriver-reviewers,whimboo https://hg.mozilla.org/integration/autoland/rev/a8d1fa5d0a66 [bidi] Implement "script.realmCreated" event. r=webdriver-reviewers,whimboo https://hg.mozilla.org/integration/autoland/rev/d6ecc636ef35 [wdspec] Add tests for "script.realmCreated" event. r=webdriver-reviewers,whimboo
Comment 8•3 months 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
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/42152 for changes under testing/web-platform/tests
Updated•3 months ago
|
Upstream PR merged by moz-wptsync-bot
Reporter | ||
Updated•2 months ago
|
Description
•