Closed Bug 1391301 Opened 7 years ago Closed 2 years ago

WebGL errors are not getting through from OffscreenCanvases

Categories

(Core :: Graphics: CanvasWebGL, defect, P5)

defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox57 --- unaffected

People

(Reporter: jujjyl, Unassigned)

References

Details

(Whiteboard: [gfx-noted])

Running

> <html><meta charset="utf-8"><body><canvas id="canvas"><script>
>   document.getElementById("canvas").getContext('webgl').getParameter(42624);
> </script></body></html>

prints out the following to console, as expected:

> Error: WebGL warning: getParameter: parameter: invalid enum value <enum 0xa680>

However, when running with OffscreenCanvas (gfx.offscreencanvas.enabled;true), the following

> <html><meta charset="utf-8"><body><canvas id="canvas"><script>
>   document.getElementById("canvas").transferControlToOffscreen().getContext('webgl').getParameter(42624);
> </script></body></html>

does not print out any error diagnostics to console.

Tested on Windows 10 x64 Firefox Nightly.
Not sure exactly where this problem would be, but it seems like Jeff would be a good person to know.
Flags: needinfo?(jgilbert)
Whiteboard: [gfx-noted]
Offscreen canvas is not enabled in 57.
Flags: needinfo?(jgilbert)
Priority: -- → P3
Priority: P3 → P5
We aren't maintaining offscreen canvas at the moment.

I can't reproduce this issue. I see the error message in both cases.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.