KhronosGroup / KhronosGroup/WebGL
Syntax errors in some extra tests
- Dominant language
- HTML
- Stars
- 2.9k
- Forks
- 703
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 4
Description
Some of the tests under https://www.khronos.org/registry/webgl/sdk/tests/extra fail with syntax errors:
#### "Uncaught SyntaxError: In strict mode code, functions can only be declared at toplevel or immediately within another function."
- https://www.khronos.org/registry/webgl/sdk/tests/extra/fbo-lost-context.html
- https://www.khronos.org/registry/webgl/sdk/tests/extra/out-of-memory.html
- https://www.khronos.org/registry/webgl/sdk/tests/extra/out-of-resources.html
- https://www.khronos.org/registry/webgl/sdk/tests/extra/out-of-vram.html
#### "Uncaught ReferenceError: canvas is not defined"
- https://www.khronos.org/registry/webgl/sdk/tests/extra/offscreen-issue.html
Contributor guide
Research direction
Open the five listed tests under tests/extra and reproduce the reported browser errors. Inspect the script sections in fbo-lost-context.html, out-of-memory.html, out-of-resources.html, out-of-vram.html, and offscreen-issue.html. Done means these tests load without the reported SyntaxError or ReferenceError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, javascript
- Domain
- testing, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100