[Webkit-unassigned] [Bug 251887] REGRESSION(253223 at main): PDF.js viewer fails to load PDF: [Error] TypeError: null is not an object (evaluating 'PDFViewerApplication.eventBus.on')

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 17 06:58:41 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=251887

--- Comment #10 from Michael Catanzaro <mcatanzaro at gnome.org> ---
We need to delay the entire init() function.

I found documentation on what we're supposed to do here:

https://github.com/mozilla/pdf.js/wiki/Third-party-viewer-usage#initialization-promise

but it doesn't work, and I can't figure out how to make it work properly, so I'll try using a timeout instead.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230217/ea67f512/attachment.htm>


More information about the webkit-unassigned mailing list