Bug 1393402 set longer timeout for document load r=mixedpuppy

MozReview-Commit-ID: BSWPMaNvtwG

--HG--
extra : rebase_source : c1c76f5d85e5e8ba52217e012dc5ad42382eb7a2
This commit is contained in:
Shane Caraveo 2017-08-24 14:35:31 -07:00
parent ffc4667148
commit 9a9c3cc30f

View File

@ -59,7 +59,7 @@ function getExtension() {
s.onload = () => resolve(['loaded', s.contentWindow.location.href]);
s.onerror = () => resolve(['error']);
document.documentElement.appendChild(s);
setTimeout(() => resolve(['timed_out']), 2000);
setTimeout(() => resolve(['timed_out']), 5000);
});`,
});
return result;