Closed Bug 1868828 Opened 2 years ago Closed 7 months ago

Add support for vendor specific WebDriver BiDi modules

Categories

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

enhancement
Points:
2

Tracking

(firefox138 fixed)

RESOLVED FIXED
138 Branch
Tracking Status
firefox138 --- fixed

People

(Reporter: whimboo, Assigned: jdescottes)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [webdriver:m15])

Attachments

(1 file, 2 obsolete files)

For Mozilla specific APIs in our WebDriver BiDi implementation we need a way to handle vendor specific commands and events. In our case commands could look like moz:debugger.start.

To properly separate such modules from those that are officially part in the WebDriver Bidi specification, we should put those into their own folder. We should potentially call it moz.

As such our code in the WebDriverBiDiConnection module should not only split by ., but also : to check for potential prefixes, and handle them if appropriate. Routing should basically be similar to the other modules.

Priority: -- → P3
Assignee: nobody → canaltinova
Status: NEW → ASSIGNED

Nazim, do you mind if I take over this one?
I can provide a patch with tests for the framework part.

Flags: needinfo?(canaltinova)

Yes, please feel free to take over this one.

Flags: needinfo?(canaltinova)

This adds tests and framework support for vendored modules in MessageHandler

We also add the moz: prefix to the WebDriver BiDi ModuleRegistry

Depends on D241233

(not intended for review, just an example)

Assignee: canaltinova → jdescottes
Attachment #9368148 - Attachment is obsolete: true
Attachment #9471456 - Attachment is obsolete: true
Points: --- → 2
Whiteboard: [webdriver:m15]
Blocks: 1869522
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b98b5b9085b7 [remote] Add support for vendor specific WebDriver BiDi modules r=webdriver-reviewers,whimboo
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: