Disable the test for bug 517396 on Linux.

--HG--
extra : rebase_source : 5a5c6785a62af9027e7eb408ecc200b1b13dfc4e
This commit is contained in:
Markus Stange 2009-11-03 17:45:00 +01:00
parent dd5f06ec02
commit ce61c6dd93

View File

@ -29,6 +29,13 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=517396
SimpleTest.waitForExplicitFinish();
SimpleTest.waitForFocus(function () {
// this test fails on Linux, bug 526236
if (navigator.platform.indexOf("Lin") != -1) {
ok(true, "disabled on Linux");
SimpleTest.finish();
return;
}
var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"].
getService(Components.interfaces.nsIWindowMediator);
var win = wm.getMostRecentWindow("navigator:browser");