mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug 1393402 set longer timeout for document load r=mixedpuppy
MozReview-Commit-ID: BSWPMaNvtwG --HG-- extra : rebase_source : c1c76f5d85e5e8ba52217e012dc5ad42382eb7a2
This commit is contained in:
parent
ffc4667148
commit
9a9c3cc30f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user