Repository navigation
Move renderer worker support out of api.js (PR 21860 follow-up) - #22105
Conversation
Reference testsResults for 5e7bdbf (run, references from mozilla/pdf.js.refs@cfb07bcc7a).
The report is kept for 30 days and replaced by the next run. Problems on LinuxProblems on Windows |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #22105 +/- ##
=======================================
Coverage 90.21% 90.22%
=======================================
Files 275 276 +1
Lines 67838 67811 -27
=======================================
- Hits 61202 61181 -21
+ Misses 6636 6630 -6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Viewer preview🗑️ Viewer previews removed. |
Snuffleupagus
left a comment
There was a problem hiding this comment.
Given the size/scope of this patch I don't have time to properly review it today, but hopefully tomorrow.
|
FYI, the font issue on windows isn't related to this patch but it's more likely an issue when loading a same font in Firefox. |
eda5820 to
9f7bcf3
Compare
Snuffleupagus
left a comment
There was a problem hiding this comment.
This feels much better structured; thank you!
r=me, with a couple of small suggestions/questions.
Extract RendererWorker and WorkerRenderTask into renderer_worker_proxy.js. Share worker URL wrapping and canvas tracker creation. Forward only page objects stored on the main thread, removing the renderer's cleaned-page tracking and restorePage message. Create the annotation canvases with the canvas factory, as main-thread rendering does, so they're no longer dropped when rendering into an OffscreenCanvas.
9f7bcf3 to
5e7bdbf
Compare
Extract RendererWorker and WorkerRenderTask into renderer_worker_proxy.js. Share worker URL wrapping and canvas tracker creation.
Forward only page objects stored on the main thread, removing the renderer's cleaned-page tracking and restorePage message.