Bug 907559 - Update the PGO profile to open and close tabs between test pages. r=ted

--HG--
extra : rebase_source : 525887cb80092f795f0026aaf0fee8b4f559ea55
This commit is contained in:
Jared Wein 2013-08-23 13:48:32 -04:00
parent 0a8a28362a
commit fce3a43144

View File

@ -157,9 +157,10 @@
window.setTimeout(loadURL, interval);
};
function loadURL () {
w.location.href = list[idx++];
w.close();
w = window.open(list[idx++]);
if (idx < list.length) {
window.setTimeout(loadURL, interval);
window.setTimeout(loadURL, interval);
} else {
window.setTimeout(goQuitApplication, interval);
}