We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66eeb13 commit 267bf79Copy full SHA for 267bf79
packages/rrweb-snapshot/src/snapshot.ts
@@ -343,8 +343,9 @@ function onceIframeLoaded(
343
}
344
// check blank frame for Chrome
345
const blankUrl = 'about:blank';
346
- if ((iframeEl.src === blankUrl ||
347
- (iframeEl.src !== blankUrl && win.location.href !== blankUrl)) &&
+ if (
+ (iframeEl.src === blankUrl ||
348
+ (iframeEl.src !== blankUrl && win.location.href !== blankUrl)) &&
349
readyState === 'complete'
350
) {
351
// iframe was already loaded, make sure we wait to trigger the listener
0 commit comments