Bug 1275718 - Part 1: Use ok instead of info in case of no OMTA since mochitest fails there is no checks. r=birtles, a=test-only
authorHiroyuki Ikezoe <hiikezoe@mozilla-japan.org>
Mon, 06 Jun 2016 06:29:24 +0900
changeset 339682 cc3c9a349ba128aa6664ca987595f9fa3415e293
parent 339681 25bbebc01ba094f66d10183629a85bd85c897016
child 339683 184867bc86ef1f841e0879b6e2635308d3e79e73
push id6249
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 13:59:36 +0000
treeherdermozilla-beta@bad9d4f5bf7e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbirtles, test-only
bugs1275718
milestone49.0a2
Bug 1275718 - Part 1: Use ok instead of info in case of no OMTA since mochitest fails there is no checks. r=birtles, a=test-only 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);