Bug 1275715 P1 Lengthen timeout for all tests using fetch_test_framework.js. r=asuth

This commit is contained in:
Ben Kelly 2016-05-27 08:24:14 -07:00
Родитель e8d3090e47
Коммит 479671e610
2 изменённых файлов: 7 добавлений и 4 удалений

Просмотреть файл

@ -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>