Skip to content

Firefox 72.0 error: "OffscreenCanvas is not defined" #137

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
marquizzo opened this issue Jan 15, 2020 · 3 comments
Closed

Firefox 72.0 error: "OffscreenCanvas is not defined" #137

marquizzo opened this issue Jan 15, 2020 · 3 comments
Assignees

Comments

@marquizzo
Copy link

Hello! I've been using Spector.js in Firefox for over a year with great results. However, today I noticed that the "Debug with Spector" button was grayed out with no ability to enable it, and I encountered an error in my dev console that says:

ReferenceError: OffscreenCanvas is not defined.

I looked into this issue, and it looks like OffscreenCanvas only has limited support in Firefox and to enable it in the latest versions (72.0, but possibly earlier), we have to go into the Firefox preferences by visiting about:config and set gfx.offscreencanvas.enabled to true. Once this is toggled, the extension works as expected.

I just thought I'd let you know about this obstacle. Is there a more user-friendly way to enable this setting through the extension?

OS: Mac OS 10.13.6
Browser: Firefox 72.0

@sebavan
Copy link
Member

sebavan commented Jan 15, 2020

Found it, thanks for reporting, it is a side-effect (meaning my big fingers messing up ;-) ) of the OffscreenCanvas support addition, I ll rollout a Fix ASAP.

@sebavan
Copy link
Member

sebavan commented Jan 15, 2020

@marquizzo You can update your extension and it should be all good, I just deployed it

@marquizzo
Copy link
Author

That was super fast. Thank you!

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants