Ver código fonte

removed unused property

Gildas 7 anos atrás
pai
commit
ca0069f95b
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3 3
      lib/single-file/frame-tree.js

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

@@ -125,9 +125,9 @@ this.frameTree = this.frameTree || (() => {
 					/* ignored */
 				}
 			}
-			timeout.set(() => sendInitResponse({ framesData: [{ windowId, processed: true, timeout: true }], windowId: parentWindowId, sessionId }), TIMEOUT_INIT_REQUEST_MESSAGE);
+			timeout.set(() => sendInitResponse({ framesData: [{ windowId, processed: true, timeout: true }], sessionId }), TIMEOUT_INIT_REQUEST_MESSAGE);
 		});
-		sendInitResponse({ framesData, windowId: parentWindowId, sessionId });
+		sendInitResponse({ framesData, sessionId });
 	}
 
 	function processFramesSync(frameElements, options, parentWindowId, sessionId) {
@@ -145,7 +145,7 @@ this.frameTree = this.frameTree || (() => {
 				}
 			}
 		});
-		sendInitResponse({ framesData, windowId: parentWindowId, sessionId });
+		sendInitResponse({ framesData, sessionId });
 	}
 
 	function sendInitResponse(message) {