bug 1335296 - ESLint fix
authorWes Kocher <wkocher@mozilla.com>
Thu, 02 Feb 2017 17:07:04 -0800
changeset 332367 e470a4166e739501181dbb6a918e5c4f8a4003ec
parent 332366 9462a96e05f43437536c4c8f1bb50544fd0ea6a2
child 332368 0a1c94d2176286fe2316988f7641165c3090da8b
push id31304
push usercbook@mozilla.com
push dateFri, 03 Feb 2017 12:25:47 +0000
treeherdermozilla-central@9f17a6fc04f9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1335296
milestone54.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 1335296 - ESLint fix MozReview-Commit-ID: 8iZd4PFGtZH
toolkit/modules/Troubleshoot.jsm
--- a/toolkit/modules/Troubleshoot.jsm
+++ b/toolkit/modules/Troubleshoot.jsm
@@ -414,23 +414,23 @@ var dataProviders = {
       .parseFromString("<html/>", "text/html");
 
     function GetWebGLInfo(data, keyPrefix, contextType) {
         data[keyPrefix + "Renderer"] = "-";
         data[keyPrefix + "Version"] = "-";
         data[keyPrefix + "Extensions"] = "-";
         data[keyPrefix + "WSIInfo"] = "-";
 
-        ////
+        // //
 
         let canvas = doc.createElement("canvas");
         canvas.width = 1;
         canvas.height = 1;
 
-        ////
+        // //
 
         let creationError = null;
 
         canvas.addEventListener(
             "webglcontextcreationerror",
 
             function(e) {
                 creationError = e.statusMessage;
@@ -445,29 +445,29 @@ var dataProviders = {
                 creationError = e.toString();
             }
         }
         if (!gl) {
             data[keyPrefix + "Renderer"] = creationError || "(no creation error info)";
             return;
         }
 
-        ////
+        // //
 
         let ext = gl.getExtension("MOZ_debug_get");
         // This extension is unconditionally available to chrome. No need to check.
         let vendor = ext.getParameter(gl.VENDOR);
         let renderer = ext.getParameter(gl.RENDERER);
 
         data[keyPrefix + "Renderer"] = vendor + " -- " + renderer;
         data[keyPrefix + "Version"] = ext.getParameter(gl.VERSION);
         data[keyPrefix + "Extensions"] = ext.getParameter(ext.EXTENSIONS);
         data[keyPrefix + "WSIInfo"] = ext.getParameter(ext.WSI_INFO);
 
-        ////
+        // //
 
         // Eagerly free resources.
         let loseExt = gl.getExtension("WEBGL_lose_context");
         loseExt.loseContext();
     }
 
     GetWebGLInfo(data, "webgl1", "webgl");
     GetWebGLInfo(data, "webgl2", "webgl2");