|
@@ -107,7 +107,6 @@ this.frameTree = this.frameTree || (() => {
|
|
|
frameData.usedFonts = messageFrameData.usedFonts;
|
|
frameData.usedFonts = messageFrameData.usedFonts;
|
|
|
frameData.shadowRootContents = messageFrameData.shadowRootContents;
|
|
frameData.shadowRootContents = messageFrameData.shadowRootContents;
|
|
|
frameData.processed = messageFrameData.processed;
|
|
frameData.processed = messageFrameData.processed;
|
|
|
- frameData.timeout = messageFrameData.timeout;
|
|
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
const remainingFrames = windowData.frames.filter(frameData => !frameData.processed).length;
|
|
const remainingFrames = windowData.frames.filter(frameData => !frameData.processed).length;
|
|
@@ -146,9 +145,9 @@ this.frameTree = this.frameTree || (() => {
|
|
|
}
|
|
}
|
|
|
if (frameDoc) {
|
|
if (frameDoc) {
|
|
|
sendInitResponse({ framesData: [getFrameData(frameDoc, null, windowId, options)] });
|
|
sendInitResponse({ framesData: [getFrameData(frameDoc, null, windowId, options)] });
|
|
|
- timeout.set(() => sendInitResponse({ framesData: [{ windowId, processed: true, timeout: true }], sessionId }));
|
|
|
|
|
|
|
+ timeout.set(() => sendInitResponse({ framesData: [{ windowId, processed: true }], sessionId }));
|
|
|
} else {
|
|
} else {
|
|
|
- sendInitResponse({ framesData: [{ windowId, processed: true, timeout: true }], sessionId });
|
|
|
|
|
|
|
+ sendInitResponse({ framesData: [{ windowId, processed: true }], sessionId });
|
|
|
}
|
|
}
|
|
|
}, TIMEOUT_INIT_REQUEST_MESSAGE);
|
|
}, TIMEOUT_INIT_REQUEST_MESSAGE);
|
|
|
});
|
|
});
|