зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1275715 P1 Lengthen timeout for all tests using fetch_test_framework.js. r=asuth
This commit is contained in:
Родитель
e8d3090e47
Коммит
479671e610
|
@ -1,4 +1,11 @@
|
|||
function testScript(script) {
|
||||
|
||||
// The framework runs the entire test in many different configurations.
|
||||
// On slow platforms and builds this can make the tests likely to
|
||||
// timeout while they are still running. Lengthen the timeout to
|
||||
// accomodate this.
|
||||
SimpleTest.requestLongerTimeout(2);
|
||||
|
||||
// reroute.html should have set this variable if a service worker is present!
|
||||
if (!("isSWPresent" in window)) {
|
||||
window.isSWPresent = false;
|
||||
|
|
|
@ -16,10 +16,6 @@
|
|||
<script type="text/javascript" src="utils.js"> </script>
|
||||
<script type="text/javascript" src="fetch_test_framework.js"> </script>
|
||||
<script class="testbody" type="text/javascript">
|
||||
|
||||
// XXXcatalinb: this test takes a really long time to run on android debug.
|
||||
SimpleTest.requestLongerTimeout(2);
|
||||
|
||||
testScript("test_fetch_cors.js");
|
||||
</script>
|
||||
</body>
|
||||
|
|
Загрузка…
Ссылка в новой задаче