mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 957952 - Hopefully fix browser_net_timing-division.js by waiting for the first request to finish. r=vporof
This commit is contained in:
parent
43f3dec08a
commit
b1fd5a67cb
@ -52,7 +52,13 @@ function test() {
|
|||||||
teardown(aMonitor).then(finish);
|
teardown(aMonitor).then(finish);
|
||||||
});
|
});
|
||||||
|
|
||||||
aDebuggee.performRequests(1);
|
aDebuggee.get(Math.random(), () => {
|
||||||
window.setTimeout(() => aDebuggee.performRequests(1), 2000);
|
// Timeout needed for having enough divisions on the time scale.
|
||||||
|
setTimeout(() => {
|
||||||
|
aDebuggee.get(Math.random(), () => {
|
||||||
|
// Done.
|
||||||
|
});
|
||||||
|
}, 3000);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user