Bug 1275718 - Part 1: Use ok instead of info in case of no OMTA since mochitest fails there is no checks. r?birtles draft
authorHiroyuki Ikezoe <hiikezoe@mozilla-japan.org>
Mon, 06 Jun 2016 06:29:24 +0900
changeset 375509 004ffc82949ded681ae88df82218407a1181d24f
parent 375369 3e8ee3599a67edd971770af4982ad4b0fe77f073
child 375510 a2d030f31998c8e2a8a7a196b83708d4288b5a42
child 375979 a042be021d278f3d4acc7849c88e98b4435b29fd
child 376040 95e57686d95b7889208837f92f2f26e66af1bb17
push id20289
push userhiikezoe@mozilla-japan.org
push dateSun, 05 Jun 2016 21:29:40 +0000
reviewersbirtles
bugs1275718
milestone49.0a1
Bug 1275718 - Part 1: Use ok instead of info in case of no OMTA since mochitest fails there is no checks. r?birtles MozReview-Commit-ID: 5ByJRbOSkDy
layout/style/test/file_transitions_replacement_on_busy_frame.html
--- a/layout/style/test/file_transitions_replacement_on_busy_frame.html
+++ b/layout/style/test/file_transitions_replacement_on_busy_frame.html
@@ -31,17 +31,17 @@ function finish() {
   o.SimpleTest.finish();
 }
 
 var OMTAPrefKey = "layers.offmainthreadcomposition.async-animations";
 var omtaEnabled = SpecialPowers.DOMWindowUtils.layerManagerRemote &&
                   opener.SpecialPowers.getBoolPref(OMTAPrefKey);
 window.addEventListener("load", function() {
   if (!omtaEnabled) {
-    info("Skipping the test since OMTA is disabled");
+    ok(true, "Skipping the test since OMTA is disabled");
     finish();
     return;
   }
 
   var div = document.getElementById("target");
   // Start first transition
   div.style.transform = "translateX(300px)";
   getComputedStyle(div);