Bug 968783 - Request a longer timeout for test_jQuery.html. r=RyanVM

--HG--
extra : rebase_source : e824e2eb2e602350d35ab12e5afe800f56505d8b
This commit is contained in:
C.J. Ku 2014-08-22 00:50:00 -04:00
parent b016495539
commit 87d94471fa

View File

@ -14,7 +14,7 @@ function runAJAXTest() {
function onManifestLoad(manifest) {
if (manifest.testcases) {
AJAXtests = manifest.testcases;
runAJAXTest();
runAJAXTest();
} else {
ok(false, "manifest check", "no manifest!?!");
SimpleTest.finish();
@ -26,5 +26,10 @@ function fetchManifest() {
d.addBoth(onManifestLoad);
}
// Double timeout duration. Since this test case takes longer than 300 seconds
// on B2G emulator.
// See bug 968783.
SimpleTest.requestLongerTimeout(2);
SimpleTest.waitForExplicitFinish();
addLoadEvent(fetchManifest);