fix: Iframe replay fails after the second full snapshot #983 (#984)

This commit is contained in:
luocongqiu
2022-09-08 21:51:39 +08:00
committed by GitHub
parent e7fdf53366
commit 6eaec0424d

View File

@@ -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: