Bug 1213119 Lengthen timeout in test checking for failure to load iframes and windows. r=ehsan

This commit is contained in:
Ben Kelly 2015-12-11 12:36:05 -05:00
parent 23b3232cce
commit 325a9a014a
2 changed files with 3 additions and 1 deletions

View File

@ -182,6 +182,7 @@
"service-workers/service-worker/fetch-frame-resource.https.html": [
{
"path": "service-workers/service-worker/fetch-frame-resource.https.html",
"timeout": "long",
"url": "/_mozilla/service-workers/service-worker/fetch-frame-resource.https.html"
}
],

View File

@ -1,5 +1,6 @@
<!DOCTYPE html>
<title>Service Worker: Fetch for the frame loading.</title>
<meta name=timeout content=long>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/get-host-info.sub.js"></script>
@ -45,7 +46,7 @@ function getLoadedObject(win, contentFunc, closeFunc) {
// use default empty string for cross-domain window
}
done(content);
}, 5000);
}, 10000);
win.onload = function() {
clearTimeout(timeout);