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.
Pull request: https://github.com/WebKit/WebKit/pull/3833
Committed 253969@main (5d022f330fb4): <https://commits.webkit.org/253969@main> Reviewed commits have been landed. Closing PR #3833 and removing active labels.
<rdar://problem/99360618>