Bug 783763 - Move browser_bug435325.js to /browser/ and remove reference to nsIDOMWindowUtils. r=dolske

--HG--
rename : docshell/test/browser/browser_bug435325.js => browser/base/content/test/browser_bug435325.js
This commit is contained in:
Blair McBride 2012-08-21 19:42:30 +12:00
parent b25da2598d
commit dda1c1585c
3 changed files with 3 additions and 5 deletions

View File

@ -92,6 +92,7 @@ _BROWSER_FILES = \
browser_bug427559.js \
browser_bug432599.js \
browser_bug435035.js \
browser_bug435325.js \
browser_bug441778.js \
browser_popupNotification.js \
browser_bug455852.js \

View File

@ -2,7 +2,6 @@
http://creativecommons.org/publicdomain/zero/1.0/ */
/* Ensure that clicking the button in the Offline mode neterror page makes the browser go online. See bug 435325. */
/* TEST_PATH=docshell/test/browser/browser_bug435325.js make -C $(OBJDIR) mochitest-browser-chrome */
function test() {
waitForExplicitFinish();
@ -34,9 +33,8 @@ function checkPage() {
"The error page has got a #errorTryAgain element");
gBrowser.contentDocument.getElementById("errorTryAgain").click();
ok(!Services.io.offline, "After clicking the Try Again button, we're back "
+" online. This depends on Components.interfaces.nsIDOMWindowUtils being "
+"available from untrusted content (bug 435325).");
ok(!Services.io.offline, "After clicking the Try Again button, we're back " +
"online.");
finish();
}

View File

@ -17,7 +17,6 @@ MOCHITEST_BROWSER_FILES = \
browser_bug349769.js \
browser_bug388121-1.js \
browser_bug388121-2.js \
browser_bug435325.js \
browser_bug441169.js \
browser_bug420605.js \
file_bug420605.html \