Explorar o código

higher timeout value for iframe responses handlers

Gildas %!s(int64=7) %!d(string=hai) anos
pai
achega
101302d6f5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/single-file/frame-tree.js

+ 1 - 1
lib/single-file/frame-tree.js

@@ -27,7 +27,7 @@ this.frameTree = this.frameTree || (() => {
 	const INIT_REQUEST_MESSAGE = "initRequest";
 	const INIT_RESPONSE_MESSAGE = "initResponse";
 	const TARGET_ORIGIN = "*";
-	const TIMEOUT_INIT_REQUEST_MESSAGE = 500;
+	const TIMEOUT_INIT_REQUEST_MESSAGE = 750;
 	const PREFIX_VALID_FRAME_URL = /^https?:\/\//;
 	const TOP_WINDOW_ID = "0";
 	const WINDOW_ID_SEPARATOR = ".";