Bug 1277424 - Enable webgl.force-enabled by default to bypass old driver problem, r?mtseng draft
authorpeter chang <pchang@mozilla.com>
Tue, 12 Jul 2016 14:59:28 +0800
changeset 388880 b078fe012af0b6b728516d6711bfb38a6e8fc855
parent 388879 9c53528c83533e8670441490e088a8997e16befc
child 388881 dd56126853d4c72759bee14c5325bb72f71410ad
push id23250
push userbmo:howareyou322@gmail.com
push dateMon, 18 Jul 2016 06:51:39 +0000
reviewersmtseng
bugs1277424
milestone50.0a1
Bug 1277424 - Enable webgl.force-enabled by default to bypass old driver problem, r?mtseng MozReview-Commit-ID: LRl359klk6m
dom/canvas/test/webgl-conf/mochi-single.html
--- a/dom/canvas/test/webgl-conf/mochi-single.html
+++ b/dom/canvas/test/webgl-conf/mochi-single.html
@@ -48,16 +48,17 @@ if (parent) {
         parent.SimpleTest.requestLongerTimeout(timeoutLengthMultiplier);
       }
     }
   } catch (e) {
     console.log('Warning: No SpecialPowers.');
   }
 }
 
+SpecialPowers.pushPrefEnv({"set": [['webgl.force-enabled', true]]});
 ////////////////////////////////////////////////////////////////////////
 
 var testPath = location.search.substr(1);
 console.log('testPath: ' + testPath);
 frameElem.src = testPath;
 
 </script>
 </body>