Remove Mozilla extension for Print to PDF
Categories
(Testing :: geckodriver, task, P3)
Tracking
(firefox78 fixed)
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: whimboo, Assigned: david.burns)
References
Details
Attachments
(1 file)
https://w3c.github.io/webdriver/#print is officially supported now. As such the command needs to be moved out of the Mozilla vendor extensions to the general list of commands, and the webdriver tests have to be moved under /testing/web-platform-tests/tests/webdriver.
James, would you mind doing that?
Assignee | ||
Comment 1•5 years ago
|
||
I can take this.
Assignee | ||
Comment 2•5 years ago
|
||
This removes the vendor prefix for printing to PDF as it has landed in
the WebDriver specification[1]. It moves the wpt to the main test suite.
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 6•5 years ago
|
||
bugherder |
Comment 7•5 years ago
|
||
David, I get the following rust compilation warning-as-error after updating to the latest mozilla-central. I think it's a regression from this bug. I don't know why it didn't break the build on Treeherder. I'm using rustc version 1.43.1 (8d69840ab 2020-05-04).
error: unused variable: `x`
--> testing/geckodriver/src/marionette.rs:1046:19
|
1046 | Print(ref x) => Some(Command::WebDriver(MarionetteWebDriverCommand::Print)),
| ^ help: consider prefixing with an underscore: `_x`
Comment 8•5 years ago
|
||
I morphed the issue into a new bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1640483
Assignee | ||
Comment 9•5 years ago
|
||
I am using the version of Rust that bootstrap says is new enough. Perhaps the Mozilla team looking after this code can get it fixed.
Description
•