Closed
Bug 1723137
Opened 4 years ago
Closed 3 years ago
Create a shared module for PDF creation
Categories
(Remote Protocol :: Agent, enhancement, P3)
Remote Protocol
Agent
Tracking
(firefox101 fixed)
RESOLVED
FIXED
101 Branch
Tracking | Status | |
---|---|---|
firefox101 | --- | fixed |
People
(Reporter: whimboo, Assigned: Sasha)
References
Details
Attachments
(1 file)
Now that Marionette lives under /remote
we should combine the individual PDF implementations for Marionette and CDP into a shared module like /remote/shared/PDF.js
. This would allow us to more easily implement the feature for WebDriver BiDi at a later time.
We should probably take the implementation from:
https://searchfox.org/mozilla-central/source/remote/marionette/print.js
Also the following extra work would be needed:
- Use
IOUtils.readUTF8()
instead ofString.fromCharCode()
- As best also create some basic wdspec tests under
webdriver/tests/print
Reporter | ||
Comment 1•4 years ago
|
||
(In reply to Henrik Skupin (:whimboo) [⌚️UTC+1] from comment #0)
- Use
IOUtils.readUTF8()
instead ofString.fromCharCode()
Actually in our case we don't have to read from a file, but have a string with the PDF generated data. So this cannot be used.
Assignee | ||
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Assignee: nobody → aborovova
Status: NEW → ASSIGNED
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/deb8b0330528
Create a shared module for PDF creation. r=whimboo,webdriver-reviewers
Comment 4•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox101:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•