Closed Bug 1806820 Opened 2 years ago Closed 2 years ago

Refactor mochitests for sessionData broadcast

Categories

(Remote Protocol :: WebDriver BiDi, enhancement, P1)

enhancement
Points:
1

Tracking

(firefox111 fixed)

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: Sasha, Assigned: jdescottes)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [webdriver:m6])

Attachments

(1 file)

Follow up from https://phabricator.services.mozilla.com/D163957#inline-907900 and https://phabricator.services.mozilla.com/D163957#inline-907903.
Right now https://searchfox.org/mozilla-central/source/remote/shared/messagehandler/test/browser/browser_session_data_broadcast.js tests do not verify well the cases with multiple updates, we should refactor these tests to work with all the session data updates processed since the beginning, and the broadcast result should be wrapped in a Map from context id to array of session data updates.

Priority: -- → P3
Whiteboard: [webdriver:backlog]
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED

I had patches lying around for that which I found while rebasing some old stacks. Would rather fix it if possible. Can be 1point.

Points: --- → 1
Priority: P3 → P1
Whiteboard: [webdriver:backlog] → [webdriver:m6]
Blocks: 1810687
Blocks: 1810807
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/82c61aa8c4ed [remote] Refactor session data broadcast test r=webdriver-reviewers,Sasha,whimboo
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: