зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1290065 - Extend timeout for sendBeacon redirect test so redirect can happen before querying the result. r=tomcat
This commit is contained in:
Родитель
a65cdc8f83
Коммит
1ded1763e4
|
@ -47,8 +47,8 @@ function runTest() {
|
|||
navigator.sendBeacon(BEACON_URL, data);
|
||||
|
||||
// we have to make sure the channel did follow the redirect hence
|
||||
// we have to wait for 2 seconds before we can query the result.
|
||||
intervalID = setInterval(queryIfRedirectSucceeded, 2000);
|
||||
// we have to wait for 4 seconds before we can query the result.
|
||||
intervalID = setInterval(queryIfRedirectSucceeded, 4000);
|
||||
}
|
||||
|
||||
</script>
|
||||
|
|
Загрузка…
Ссылка в новой задаче