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
+1
View File
@@ -162,6 +162,7 @@ const captureAuthorizedPage = async (
if (state.events.navigationDuringCapture || completedUrl !== attachedUrl)
throw new BrowserObservationError("inspect_web_page", "target_changed");
await report(context.progress, 3, "Normalizing browser evidence");
state.events.recordScriptMetadataBudgetExclusions();
return {
inspection: normalizedInspection(state, {
attachedUrl,