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
--- 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);