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

--HG--
extra : rebase_source : 4a634a0623fdbe92e8b932df9f330cd1f2fc9128
This commit is contained in:
Hiroyuki Ikezoe 2016-06-06 06:29:24 +09:00
parent fc825d169c
commit ef1f98e30c

View File

@ -36,7 +36,7 @@ var omtaEnabled = SpecialPowers.DOMWindowUtils.layerManagerRemote &&
opener.SpecialPowers.getBoolPref(OMTAPrefKey); opener.SpecialPowers.getBoolPref(OMTAPrefKey);
window.addEventListener("load", function() { window.addEventListener("load", function() {
if (!omtaEnabled) { if (!omtaEnabled) {
info("Skipping the test since OMTA is disabled"); ok(true, "Skipping the test since OMTA is disabled");
finish(); finish();
return; return;
} }