refactor(observation): separate capture coordination from document consistency

This commit is contained in:
Ljy-0827
2026-09-09 13:20:23 +08:00
committed by GitHub
parent 874e4b7da5
commit 16f1bc080c
12 changed files with 76 additions and 439 deletions
@@ -8,7 +8,6 @@ export interface CdpFrame {
parentFrameId?: string;
ownerBackendNodeId?: number;
url?: string;
loaderId?: string;
target: CdpTarget;
}
@@ -22,7 +21,6 @@ export interface CdpFrameTreeNode {
id: string;
parentId?: string;
url?: string;
loaderId?: string;
};
childFrames?: CdpFrameTreeNode[];
}
@@ -50,7 +48,6 @@ function mergeFrame(
frameId: node.frame.id,
...(parentFrameId ? { parentFrameId } : {}),
...(url ? { url } : {}),
...(node.frame.loaderId ? { loaderId: node.frame.loaderId } : {}),
target,
});
}