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 387540 0962a9ff07109272887bd745be5784033d241483
parent 387539 1f719dd551242819ae186c204e4fc6223eda1b00
child 387541 4757b041f377b4a383a665b7209653d6f2931d12
push id22983
push userbmo:howareyou322@gmail.com
push dateThu, 14 Jul 2016 07:09:05 +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>