Bug 620273 - Make bloatcycle.html not hit the network, r=dbaron, a=test

This commit is contained in:
Phil Ringnalda 2010-12-13 15:57:59 -08:00
parent 37cf4defcb
commit 91718c3f4a
2 changed files with 18 additions and 7 deletions

View File

@ -90,6 +90,18 @@ _LEAKTEST_FILES = \
leaktest.py \
bloatcycle.html \
$(topsrcdir)/build/pgo/server-locations.txt \
$(topsrcdir)/build/pgo/favicon.ico \
$(topsrcdir)/build/pgo/blueprint/sample.html \
$(topsrcdir)/build/pgo/blueprint/elements.html \
$(topsrcdir)/build/pgo/blueprint/forms.html \
$(topsrcdir)/build/pgo/blueprint/grid.html \
$(topsrcdir)/build/pgo/blueprint/test.jpg \
$(topsrcdir)/build/pgo/blueprint/test-small.jpg \
$(topsrcdir)/build/pgo/blueprint/valid.png \
$(topsrcdir)/build/pgo/blueprint/screen.css \
$(topsrcdir)/build/pgo/blueprint/print.css \
$(topsrcdir)/build/pgo/blueprint/grid.png \
$(topsrcdir)/build/pgo/blueprint/fancytype-screen.css \
$(NULL)
leaktest.py: leaktest.py.in

View File

@ -163,14 +163,13 @@ function goQuitApplication()
var list =
[
"http://www.mozilla.org",
"http://www.mozilla.org",
"http://www.mozilla.org/newlayout/samples/test2.html",
"http://www.mozilla.org/newlayout/samples/test8.html",
"http://www.mozilla.org/newlayout/samples/test6.html",
"http://www.mozilla.org/newlayout/samples/test8.html"
"sample.html",
"forms.html",
"grid.html",
"forms.html",
"elements.html"
];
var interval = 3000; // 15000
var interval = 5000; // 15000
var idx = 0;
var w;