Bug 1040386: Fix hopefully-harmless CSS syntax error in isOMTAWorking(). r=birtles
authorL. David Baron <dbaron@dbaron.org>
Fri, 18 Jul 2014 21:22:20 -0700
changeset 217041 a692217e595a3c85593281b443eed0c0acdb40c9
parent 217040 16372635dd288d89aa1c6fa95685b2ce4d9e99b2
child 217042 0973575320f8bcca4de4ec9ea7c886c21d7779b0
push id515
push userraliiev@mozilla.com
push dateMon, 06 Oct 2014 12:51:51 +0000
treeherdermozilla-release@267c7a481bef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbirtles
bugs1040386
milestone33.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 1040386: Fix hopefully-harmless CSS syntax error in isOMTAWorking(). r=birtles I noticed this in the logs of a B2G emulator mochitest run.
layout/style/test/animation_utils.js
--- a/layout/style/test/animation_utils.js
+++ b/layout/style/test/animation_utils.js
@@ -112,17 +112,17 @@ function runOMTATest(aTestFunction, aOnS
     ok(false, err);
     aOnSkip();
   });
 
   function isOMTAWorking() {
     // Create keyframes rule
     const animationName = "a6ce3091ed85"; // Random name to avoid clashes
     var ruleText = "@keyframes " + animationName +
-                   " { from { opacity: 0.5 } to { opacity 0.5 } }";
+                   " { from { opacity: 0.5 } to { opacity: 0.5 } }";
     var style = document.createElement("style");
     style.appendChild(document.createTextNode(ruleText));
     document.head.appendChild(style);
 
     // Create animation target
     var div = document.createElement("div");
     document.body.appendChild(div);