We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
WebGL kernel feature checks may throw an error
In WebGLKernel.setupFeatureChecks when trying to check if WebGL 1 kernel is supported
prerequisite:
global variable document must be undefined
OffscreenCanvas class should be define
offsetCanvas.getContext('webgl') should not be truthly
compute GPU.isWebGLSupported
then, offsetCanvas.getContext('experimental-webgl') will throw an error
In Chrome you can directly test this case in console:
2
WebGLKernel.setupFeatureChecks should return without throwing exception.
testCanvas.getContext('experimental-webgl') should not be called on OffscreenCanvas
testCanvas.getContext('experimental-webgl')
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
What is wrong?
WebGL kernel feature checks may throw an error
Where does it happen?
In WebGLKernel.setupFeatureChecks when trying to check if WebGL 1 kernel is supported
How do we replicate the issue?
prerequisite:
global variable document must be undefined
OffscreenCanvas class should be define
offsetCanvas.getContext('webgl') should not be truthly
compute GPU.isWebGLSupported
then, offsetCanvas.getContext('experimental-webgl') will throw an error
In Chrome you can directly test this case in console:
How important is this (1-5)?
2
Expected behavior (i.e. solution)
WebGLKernel.setupFeatureChecks should return without throwing exception.
testCanvas.getContext('experimental-webgl')
should not be called on OffscreenCanvasOther Comments
The text was updated successfully, but these errors were encountered: