fix(browser): preserve authorized redirect hops (#986)

* fix(browser): preserve authorized redirect hops

* fix(browser): compare redirect semantics without event times

* fix(browser): classify missing redirect predecessors

* fix(browser): distinguish malformed redirect URLs

* fix(browser): preserve evidence on malformed redirect envelopes

* fix(browser): freeze evidence after malformed redirect

* docs: regenerate catalogs after main integration

* fix(browser): account for skipped redirect body shapes

* fix(browser): mark skipped redirect response shapes unavailable

When a malformed redirect keeps a JSON predecessor, record that its response body shape was not captured.

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
This commit is contained in:
morluto
2026-10-08 01:08:31 +08:00
committed by GitHub
co-authored by Cursor Agent
parent a6132be054
commit ae0f725fad
16 changed files with 798 additions and 12 deletions
+2
View File
@@ -11,6 +11,8 @@ export interface CdpCaptureEventsState {
readonly scripts: Map<string, CapturedScript>;
readonly executionContextFrames: Map<string, string>;
readonly network: Map<string, NetworkState>;
readonly networkRequestTimestamps: Map<string, number>;
readonly malformedRedirectRequestIds: Set<string>;
readonly allowedWebSockets: Set<string>;
console: WebPageInspection["console"]["events"];
websockets: WebPageInspection["network"]["websocket_events"];