Skip to content

Commit

Permalink
fix: Iframe replay fails after the second full snapshot #983 (#984)
Browse files Browse the repository at this point in the history
  • Loading branch information
luocongqiu authored Sep 8, 2022
1 parent e7fdf53 commit 6eaec04
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/rrweb-snapshot/src/snapshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -478,13 +478,11 @@ function serializeNode(
type: NodeType.Document,
childNodes: [],
compatMode: (n as Document).compatMode, // probably "BackCompat"
rootId,
};
} else {
return {
type: NodeType.Document,
childNodes: [],
rootId,
};
}
case n.DOCUMENT_TYPE_NODE:
Expand Down

0 comments on commit 6eaec04

Please sign in to comment.