Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Sentry: Don't try to initialize WebGL context if not available #659

Open
oo-bldrs opened this issue Mar 14, 2023 · 1 comment
Open

Sentry: Don't try to initialize WebGL context if not available #659

oo-bldrs opened this issue Mar 14, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@oo-bldrs
Copy link
Contributor

Most headless browsers do not have feature WebGL support yet the application tries to initialize it no matter what. This results in errors being deposited into Sentry each time a headless browser visits the page. (e.g. search engine crawling)

It would be useful if we could detect that the browser is lacking WebGL support and if it is, display a polite, friendly message and not attempt to initialize THREE and its dependents.

@sentry-io
Copy link

sentry-io bot commented Mar 14, 2023

Sentry issue: SHARE-J

@OlegMoshkovich OlegMoshkovich changed the title Don't try to initialize WebGL context if not available Bug: Don't try to initialize WebGL context if not available Mar 15, 2023
@pablo-mayrgundter pablo-mayrgundter self-assigned this Mar 16, 2023
@pablo-mayrgundter pablo-mayrgundter added the bug Something isn't working label Mar 16, 2023
@pablo-mayrgundter pablo-mayrgundter changed the title Bug: Don't try to initialize WebGL context if not available Sentruy: Don't try to initialize WebGL context if not available Mar 16, 2023
@pablo-mayrgundter pablo-mayrgundter changed the title Sentruy: Don't try to initialize WebGL context if not available Sentry: Don't try to initialize WebGL context if not available Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Status: Share Backlog
Development

No branches or pull requests

3 participants