Bug 1275637 - Fix eslint errors in webgl-utils.js. r=jryans
☠☠ backed out by 34ac60e5b29c ☠ ☠
authorTom Tromey <tom@tromey.com>
Wed, 25 May 2016 13:39:18 -0600
changeset 338107 75bb440d7525ee56a201664945a5c907d9a40a67
parent 338106 def937e0dda7f3e9409e3f5bd70a659c4232782f
child 338108 b71c1dcf988a9da071b5c7dec62923f42e156977
push id6249
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 13:59:36 +0000
treeherdermozilla-beta@bad9d4f5bf7e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjryans
bugs1275637
milestone49.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 1275637 - Fix eslint errors in webgl-utils.js. r=jryans MozReview-Commit-ID: 1T2vOPMAj8G
.eslintignore
devtools/client/shared/webgl-utils.js
--- a/.eslintignore
+++ b/.eslintignore
@@ -89,17 +89,16 @@ devtools/client/netmonitor/test/**
 devtools/client/netmonitor/har/test/**
 devtools/client/performance/**
 devtools/client/projecteditor/**
 devtools/client/promisedebugger/**
 devtools/client/responsivedesign/**
 devtools/client/scratchpad/**
 devtools/client/shadereditor/**
 devtools/client/shared/*.jsm
-devtools/client/shared/webgl-utils.js
 devtools/client/shared/developer-toolbar.js
 devtools/client/shared/components/test/**
 devtools/client/shared/redux/middleware/test/**
 devtools/client/shared/test/**
 devtools/client/shared/widgets/*.jsm
 devtools/client/sourceeditor/**
 devtools/client/webaudioeditor/**
 devtools/client/webconsole/**
--- a/devtools/client/shared/webgl-utils.js
+++ b/devtools/client/shared/webgl-utils.js
@@ -28,17 +28,17 @@ function isWebGLSupportedByGFX() {
   }
   return supported;
 }
 
 function create3DContext(canvas) {
   // try to get a valid context from an existing canvas
   let context = null;
   try {
-    context = canvas.getContext(WEBGL_CONTEXT_NAME, aFlags);
+    context = canvas.getContext(WEBGL_CONTEXT_NAME);
   } catch (e) {
     return null;
   }
   return context;
 }
 
 function createCanvas(doc) {
   return doc.createElementNS("http://www.w3.org/1999/xhtml", "canvas");