Closed Bug 1275210 Opened 8 years ago Closed 8 years ago

slidr.io needs to upgrade its pdf.js version

Categories

(Web Compatibility :: Site Reports, defect)

Firefox 49
x86_64
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: marcosc, Unassigned)

References

()

Details

(Whiteboard: [country-all][sitewait])

This site doesn't load worker script (throws security error), but other browser load: 

https://slidr.io/vakila/learning-functional-programming-with-javascript#1
OS: Unspecified → Mac OS X
Hardware: Unspecified → x86_64
Version: unspecified → 49 Branch
I guess this is a web compat issue... no idea where to file it... oh, hai mike lols!!! :)
Flags: needinfo?(miket)
AFAICT the site is trying to run a cross-origin worker script.  This won't work.

Pdf.js had a bug where it was not listening for the worker.onerror handler.  It assumed a synchronous exception if the script failed to load.  This was fixed in:

https://github.com/mozilla/pdf.js/pull/7107

So the site needs to be updated to the new version of pdf.js.  See bug 1260961 for more discussion.
(In reply to Marcos Caceres [:marcosc] from comment #1)
> I guess this is a web compat issue... no idea where to file it... oh, hai
> mike lols!!! :)

Heh, moving it to Tech Evangelism works. :)

And thanks Ben for analysis.
Component: DOM: Security → Desktop
Flags: needinfo?(miket)
Product: Core → Tech Evangelism
Whiteboard: [country-all][contactready]
Version: 49 Branch → Firefox 49
Summary: Site won't load worker script → slidr.io needs to upgrade its pdf.js version
Contacted at http://twitter.com/MozWebCompat/status/735219977641283584
Whiteboard: [country-all][contactready] → [country-all][sitewait]
This is fixed!
http://twitter.com/slidrio/status/754970031721738240
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.