Commit 009fa1ab authored by Jérome Perrin's avatar Jérome Perrin

iframe: increase loading timeout to 30s

We often see these timeout errors on test infrastructure, which is overloaded.
I also saw it a few times on my web browser.
parent 2072de46
...@@ -987,7 +987,7 @@ ...@@ -987,7 +987,7 @@
iframe_loading_deferred.reject(error); iframe_loading_deferred.reject(error);
}); });
iframe.addEventListener('load', function handleIframeLoad() { iframe.addEventListener('load', function handleIframeLoad() {
return RSVP.timeout(5000) return RSVP.timeout(30000)
.fail(function triggerIframeTimeout() { .fail(function triggerIframeTimeout() {
iframe_loading_deferred.reject( iframe_loading_deferred.reject(
new Error('Timeout while loading: ' + url) new Error('Timeout while loading: ' + url)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment