fix(browser): bound script metadata and preserve omissions

This commit is contained in:
morluto
2026-10-09 06:32:10 +08:00
parent 0a0174b9ac
commit faf209e50d
13 changed files with 541 additions and 15 deletions
+5
View File
@@ -9,6 +9,11 @@ export interface CdpCaptureEventsState {
readonly input: InspectWebPageInput;
readonly allowedOrigins: ReadonlySet<string>;
readonly scripts: Map<string, CapturedScript>;
readonly scriptMetadataBudgetOmissionsById: Map<string, true>;
rejectedScriptMetadataBudgetCount: number;
rejectedSourceMapMetadataBudgetCount: number;
readonly scriptMetadataBytesById: Map<string, number>;
retainedScriptMetadataBytes: number;
readonly executionContextFrames: Map<string, string>;
readonly network: Map<string, NetworkState>;
readonly networkRequestTimestamps: Map<string, number>;