Bug 600883 - Fix intermittent timeouts in browser_bug579872.js by loading the proxied http://example.com instead of the unproxied http://www.example.com, r=dao, a=orange

This commit is contained in:
Sindre Dammann 2010-10-12 12:49:00 -07:00
Родитель d4a5b8579c
Коммит 65e0e42a21
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -46,10 +46,10 @@ function test() {
openUILinkIn("javascript:var x=0;", "current");
is(gBrowser.tabs.length, 2, "Should open in current tab");
openUILinkIn("http://www.example.com/1", "current");
openUILinkIn("http://example.com/1", "current");
is(gBrowser.tabs.length, 2, "Should open in current tab");
openUILinkIn("http://www.example.org/", "current");
openUILinkIn("http://example.org/", "current");
is(gBrowser.tabs.length, 3, "Should open in new tab");
newTab.removeEventListener("load", mainPart, true);
@ -57,5 +57,5 @@ function test() {
gBrowser.removeTab(gBrowser.tabs[1]); // example.org tab
finish();
}
newTab.linkedBrowser.loadURI("http://www.example.com");
newTab.linkedBrowser.loadURI("http://example.com");
}