Bug 726521. (BBv1-29) Port |Bug 595292 - browser_394759.js seems to hit network with dns failures|. r=Neil a=Callek
authorSerge Gautherie <sgautherie.bz@free.fr>
Sat, 10 Mar 2012 06:36:00 +0100
changeset 10636 c0666f5a239c4c0e90e8aaa1def26532e30da716
parent 10635 e1cc720b420033f7536cf21be77f4b5148e0b56e
child 10637 bf89b7ad6f3cb422dee3a57cfd1a1735d5fba4a2
push id402
push userbugzilla@standard8.plus.com
push dateTue, 13 Mar 2012 21:17:18 +0000
treeherdercomm-beta@d080a8ebf16a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersNeil, Callek
bugs726521, 595292
Bug 726521. (BBv1-29) Port |Bug 595292 - browser_394759.js seems to hit network with dns failures|. r=Neil a=Callek
suite/common/tests/browser/browser_bug510890.js
--- a/suite/common/tests/browser/browser_bug510890.js
+++ b/suite/common/tests/browser/browser_bug510890.js
@@ -150,17 +150,17 @@ function test() {
         // cleanup & return
         executeSoon(recCallback);
         return;
       }
       // hack to force window to be considered a popup (toolbar=no didn't work)
       let winData = windowsToOpen.shift();
       let settings = "chrome,dialog=no," +
                      (winData.isPopup ? "all=no" : "all");
-      let url = "http://window" + windowsToOpen.length + ".example.com";
+      let url = "http://example.com/?window=" + windowsToOpen.length;
       let window = openDialog(location, "_blank", settings, url);
       window.addEventListener("load", function(aEvent) {
         window.gBrowser.addEventListener("load", function(aEvent) {
           // the window _should_ have state with a tab of url, but it doesn't
           // always happend before window.close(). addTab ensure we don't treat
           // this window as a stateless window
           window.gBrowser.addTab();
           window.gBrowser.removeEventListener("load", arguments.callee, true);