Backed out changeset 87bf65872b56 (bug 1341959) for xpcshell failures
authorIris Hsiao <ihsiao@mozilla.com>
Thu, 02 Mar 2017 11:53:44 +0800
changeset 392145 f24d5588057b82d6d2fc533fd2bcfdf78dc1623c
parent 392144 6fb5321bf52cd852ea49a6efb3c30c21205c03ef
child 392146 f76695801b2a0bd36eb4263e2e797d3062889afe
push id7198
push userjlorenzo@mozilla.com
push dateTue, 18 Apr 2017 12:07:49 +0000
treeherdermozilla-beta@d57aa49c3948 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1341959
milestone54.0a1
backs out87bf65872b562834b3b13eea0074c249cc355503
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
Backed out changeset 87bf65872b56 (bug 1341959) for xpcshell failures
dom/canvas/WebGLContext.cpp
--- a/dom/canvas/WebGLContext.cpp
+++ b/dom/canvas/WebGLContext.cpp
@@ -705,32 +705,16 @@ WebGLContext::CreateAndInitGLWith(FnCrea
 
     return true;
 }
 
 bool
 WebGLContext::CreateAndInitGL(bool forceEnabled,
                               std::vector<FailureReason>* const out_failReasons)
 {
-    // WebGL2 is separately blocked:
-    if (IsWebGL2()) {
-        const nsCOMPtr<nsIGfxInfo> gfxInfo = services::GetGfxInfo();
-        const auto feature = nsIGfxInfo::FEATURE_WEBGL2;
-
-        FailureReason reason;
-        if (IsFeatureInBlacklist(gfxInfo, feature, &reason.key)) {
-            reason.info = "Refused to create WebGL2 context because of blacklist"
-                          " entry: ";
-            reason.info.Append(reason.key);
-            out_failReasons->push_back(reason);
-            GenerateWarning("%s", reason.info.BeginReading());
-            return false;
-        }
-    }
-
     const gl::SurfaceCaps baseCaps = BaseCaps(mOptions, this);
     gl::CreateContextFlags flags = gl::CreateContextFlags::NO_VALIDATION;
     bool tryNativeGL = true;
     bool tryANGLE = false;
 
     if (forceEnabled) {
         flags |= gl::CreateContextFlags::FORCE_ENABLE_HARDWARE;
     }