Bug 1420026: Disable this code path for now for permafailure. r=me
authorEmilio Cobos Álvarez <emilio@crisal.io>
Tue, 05 Dec 2017 19:58:22 +0100
changeset 395158 10d466f591088b05474f290849702f0e568acdc8
parent 395157 0e6a5c7f8c7190816ad67f50101ab77e913eb878
child 395159 b1089f839d33f1c36b18e69d6772658f1b0e61b4
push id98021
push usernbeleuzu@mozilla.com
push dateTue, 05 Dec 2017 23:49:57 +0000
treeherdermozilla-inbound@78a9a1962684 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1420026
milestone59.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 1420026: Disable this code path for now for permafailure. r=me It's permafailing devtools/client/webconsole/test/browser_webconsole_bug_595934_message_categories.js | MozReview-Commit-ID: 2aolifj0asm
dom/canvas/CanvasRenderingContext2D.cpp
--- a/dom/canvas/CanvasRenderingContext2D.cpp
+++ b/dom/canvas/CanvasRenderingContext2D.cpp
@@ -1161,17 +1161,18 @@ CanvasRenderingContext2D::WrapObject(JSC
 
 bool
 CanvasRenderingContext2D::ParseColor(const nsAString& aString,
                                      nscolor* aColor)
 {
   nsIDocument* document = mCanvasElement ? mCanvasElement->OwnerDoc() : nullptr;
   css::Loader* loader = document ? document->CSSLoader() : nullptr;
 
-  if (document->IsStyledByServo()) {
+  // FIXME(bug 1420026).
+  if (false) {
     nsCOMPtr<nsIPresShell> presShell = GetPresShell();
     ServoStyleSet* set = presShell ? presShell->StyleSet()->AsServo() : nullptr;
 
     // First, try computing the color without handling currentcolor.
     bool wasCurrentColor = false;
     if (!ServoCSSParser::ComputeColor(set, NS_RGB(0, 0, 0), aString, aColor,
                                       &wasCurrentColor, loader)) {
       return false;