Bug 499435 - mochitest-browser-chrome: browser_420786.js needs to report "success"; (Av1) Add a |todo(false, "...");|.

r=gavin.sharp.
This commit is contained in:
Serge Gautherie 2010-03-03 11:12:28 +01:00
parent 997849d1bf
commit 991186070c

View File

@ -69,10 +69,10 @@ function onPageLoad() {
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);