Bug 499435 - mochitest-browser-chrome: browser_420786.js needs to report "success"; (Av1) Add a |todo(false, "...");|.
r=gavin.sharp.
--- a/browser/components/shell/test/browser_420786.js
+++ b/browser/components/shell/test/browser_420786.js
@@ -64,19 +64,19 @@ function onPageLoad() {
gBrowser.removeCurrentTab();
finish();
}
function test() {
var osString = Cc["@mozilla.org/xre/app-info;1"].
getService(Ci.nsIXULRuntime).OS;
-
- // This test is Linux specific for now
- if (osString != "Linux")
+ if (osString != "Linux") {
+ todo(false, "This test is Linux specific for now.");
return;
+ }
gBrowser.selectedTab = gBrowser.addTab();
gBrowser.selectedBrowser.addEventListener("load", onPageLoad, true);
content.location = "about:logo";
waitForExplicitFinish();
}