Implement "browsingContext.print" as PDF command
Categories
(Remote Protocol :: WebDriver BiDi, task, P1)
Tracking
(firefox112 fixed)
| Tracking | Status | |
|---|---|---|
| firefox112 | --- | fixed |
People
(Reporter: whimboo, Assigned: Sasha)
References
(Blocks 2 open bugs, )
Details
(Whiteboard: [webdriver:m6][wptsync upstream][webdriver:relnote])
Attachments
(4 files)
To get the command added to WebDriver BiDi we can re-use most of the code that is already in use for Marionette and CDP. The whole implementation is already available in a shared module under the remote folder:
https://searchfox.org/mozilla-central/source/remote/shared/PDF.sys.mjs
That means we basically need that new command added to the browsingContext module, and calling the right methods of this shared module.
Note that the specification doesn't include the command yet. The current status can be observed by this issue:
https://github.com/w3c/webdriver-bidi/issues/210
Basic tests should be written, which can mostly be taken from the webdriver classic tests. There will be a follow-up bug to enhance the tests.
| Reporter | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
Depends on D170353
| Assignee | ||
Comment 3•2 years ago
|
||
Depends on D170354
| Assignee | ||
Comment 4•2 years ago
|
||
Depends on D170355
Comment 7•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/a8c8789cdc79
https://hg.mozilla.org/mozilla-central/rev/8daae0ae15d2
https://hg.mozilla.org/mozilla-central/rev/28ab5735a22e
https://hg.mozilla.org/mozilla-central/rev/af0d4dd7a9c2
Comment 10•2 years ago
|
||
Comment 11•2 years ago
|
||
| bugherder | ||
| Reporter | ||
Updated•2 years ago
|
Description
•