Closed Bug 1639230 Opened 5 years ago Closed 5 years ago

Remove Mozilla extension for Print to PDF

Categories

(Testing :: geckodriver, task, P3)

task

Tracking

(firefox78 fixed)

RESOLVED FIXED
mozilla78
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?

Flags: needinfo?(james)

I can take this.

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.

[1] https://w3c.github.io/webdriver/#print

Assignee: nobody → david.burns
Status: NEW → ASSIGNED
Flags: needinfo?(james)
Attachment #9150705 - Attachment description: Bug 1639230: Remove vendor prefix for printing with webdriver r?jgraham → Bug 1639230: Remove vendor prefix for printing with webdriver
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/autoland/rev/c55864fc7a4a Remove vendor prefix for printing with webdriver r=jgraham,webdriver-reviewers
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/23746 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78

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`
Flags: needinfo?(david.burns)
Regressions: 1640483

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.

Flags: needinfo?(david.burns)
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: