Closed Bug 1731556 Opened 3 years ago Closed 3 years ago

Automatically subscribe to events in case these were set globally

Categories

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

task
Points:
2

Tracking

(firefox96 fixed)

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: whimboo, Assigned: jdescottes)

References

Details

(Whiteboard: [bidi-m2-mvp], [wptsync upstream])

Attachments

(2 files, 1 obsolete file)

When session.subscribe has been used to subscribe for events globally, we have to automatically set the required listeners for newly opened browsing contexts.

Summary: Automatically subscribe to events in case these were set globa → Automatically subscribe to events in case these were set globally
Depends on: 1694389

We might also have to distribute some internal state across content processes when this code runs.

Depends on: 1713443
Depends on: 1723102
Points: --- → 2
Priority: -- → P2

Starting to tackle this as part of Bug 1713443.
For now I don't really think this should depend on Bug 1694389, 1723102. Hopefully the logic should be generic enough to work for any event.

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Attachment #9245323 - Attachment is obsolete: true
Blocks: 1741854
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bd34ae315b23 [remote] Apply events from session data for new window globals r=webdriver-reviewers,ochameau,whimboo,jgraham https://hg.mozilla.org/integration/autoland/rev/60627ac79469 [remote] Do not broadcast already existing session data items r=whimboo,jgraham,webdriver-reviewers
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/31683 for changes under testing/web-platform/tests
Whiteboard: [bidi-m2-mvp] → [bidi-m2-mvp], [wptsync upstream]
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
Upstream PR merged by moz-wptsync-bot
No longer blocks: 1741854
Depends on: 1790466
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: