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

This commit is contained in:
luocongqiu
2026-04-01 12:00:00 +08:00
committed by GitHub
parent 60a9501293
commit 4df0282b65

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: