Bug 244562

Summary: [macOS] Load PDF.js worker for optimal performance
Product: WebKit Reporter: Tim Nguyen (:ntim) <ntim>
Component: PDFAssignee: Tim Nguyen (:ntim) <ntim>
Status: RESOLVED FIXED    
Severity: Normal CC: thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Tim Nguyen (:ntim)
Reported 2022-08-30 17:45:32 PDT
The worker currently doesn't load because the origin for any "webkit-pdfjs-viewer" URL is "null", when it should be "webkit-pdfjs-viewer://pdfjs". This is already the case in GTK/WPE, we just need to make the check unconditional from these platforms. Loading the worker should be a performance improvement.
Attachments
Tim Nguyen (:ntim)
Comment 1 2022-08-30 17:51:06 PDT
EWS
Comment 2 2022-08-30 18:02:55 PDT
Committed 253969@main (5d022f330fb4): <https://commits.webkit.org/253969@main> Reviewed commits have been landed. Closing PR #3833 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2022-08-30 18:03:15 PDT
Note You need to log in before you can comment on or make changes to this bug.