Open Bug 1431013 Opened 6 years ago Updated 2 years ago

Ignore WebGL powerPreference if no "webglcontextlost" and "webglcontextrestored" event listeners exist

Categories

(Core :: Graphics: CanvasWebGL, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: daoshengmu, Unassigned)

References

Details

Attachments

(1 file)

According to WebGL spec [1], "At WebGLRenderingContext creation time, this attribute will be ignored if no event listeners exist which would handle both "webglcontextlost" and "webglcontextrestored" events dispatched to the canvas element.", we should detect if there are these events under the HTMLCanvasElement for WebGL powerPreference attribute.

[1] https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.2.1
Assignee: nobody → dmu
Blocks: 1349799
Assignee: dmu → kgilbert

The bug assignee didn't login in Bugzilla in the last 7 months.
:jgilbert, could you have a look please?
For more information, please visit auto_nag documentation.

Assignee: kearwood → nobody
Flags: needinfo?(jgilbert)
Flags: needinfo?(jgilbert)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: