[Pkg-javascript-commits] [sockjs-client] 392/434: Fix #58 - increase the timeout for iframe

Tonnerre Lombard tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:28 UTC 2014


This is an automated email from the git hooks/post-receive script.

tonnerre-guest pushed a commit to branch master
in repository sockjs-client.

commit d72bbd9b5a1ef6167a82f2ca9a75dd8ff4009c69
Author: Marek Majkowski <majek04 at gmail.com>
Date:   Fri Apr 20 13:09:02 2012 +0100

    Fix #58 - increase the timeout for iframe
---
 lib/dom.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/dom.js b/lib/dom.js
index 01ff69e..e1ce970 100644
--- a/lib/dom.js
+++ b/lib/dom.js
@@ -143,7 +143,7 @@ utils.createIframe = function (iframe_url, error_callback) {
         tref = setTimeout(function(){onerror('onload timeout');}, 2000);
     };
     _document.body.appendChild(iframe);
-    tref = setTimeout(function(){onerror('timeout');}, 5000);
+    tref = setTimeout(function(){onerror('timeout');}, 15000);
     unload_ref = utils.unload_add(cleanup);
     return {
         post: post,
@@ -195,7 +195,7 @@ utils.createHtmlfile = function (iframe_url, error_callback) {
     iframe = doc.createElement('iframe');
     c.appendChild(iframe);
     iframe.src = iframe_url;
-    tref = setTimeout(function(){onerror('timeout');}, 5000);
+    tref = setTimeout(function(){onerror('timeout');}, 15000);
     unload_ref = utils.unload_add(cleanup);
     return {
         post: post,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git



More information about the Pkg-javascript-commits mailing list