Closed Bug 1285661 Opened 8 years ago Closed 8 years ago

Add WebGL2 to about:support

Categories

(Core :: Graphics: CanvasWebGL, defect)

50 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla50
Tracking Status
firefox50 --- fixed

People

(Reporter: jgilbert, Assigned: jgilbert)

References

Details

Attachments

(1 file)

      No description provided.
Comment on attachment 8769365 [details]
Bug 1285661 - Add WebGL2 to about:support. -

https://reviewboard.mozilla.org/r/63304/#review60202

This would've been better as two patches. One to refactor things and the next to add the functionality.

::: toolkit/modules/Troubleshoot.jsm:435
(Diff revision 1)
> +    function GetWebGLInfo(contextType) {
> -    let canvas = doc.createElement("canvas");
> +        let canvas = doc.createElement("canvas");
> -    canvas.width = 1;
> +        canvas.width = 1;
> -    canvas.height = 1;
> +        canvas.height = 1;
>  
> -    let gl;
> +        ///////

This //////// idiom is not used elsewhere in this file. Let's drop it.
Attachment #8769365 - Flags: review?(jmuizelaar) → review+
Pushed by jgilbert@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/afbc3291c261
Add WebGL2 to about:support. - r=jrmuizel
https://hg.mozilla.org/integration/mozilla-inbound/rev/5447bbda9f9d
Pare back usage of //// for code block separation.
https://hg.mozilla.org/mozilla-central/rev/afbc3291c261
https://hg.mozilla.org/mozilla-central/rev/5447bbda9f9d
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
Version: 49 Branch → 50 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: