Repository navigation
fix(browser): diagnostics parity: no getRequestPostData on the allowlist, preview URLs shown as their page, merged headers bounded - #548
Merged
Conversation
…ist, preview URLs shown as their page, merged headers bounded READER-10's three parity diffs on #495: Network.getRequestPostData leaves the typed-CDP allowlist (nothing calls it since #495); on a preview tab the engine maps internal oc-preview:// addresses in every forwarded event to the page's display URL (official diagnostics.ts:43,47,157); ExtraInfo headers merge under the stored ones and the merged set keeps the 100-header / 16,000-character bound (official trimHeaders on the merge, diagnostics-machine.ts:148,165,182). Engine change: dev ENGINE_REVISION 6, published 5: no bump.
READER-10 should-fix 6, last part: ExtraInfo that arrives before its requestWillBeSent is held (128 requests, 16 events each, as official MAX_STASHED_CHAINS / MAX_WIRE_QUEUE) and replayed when the request comes; a redirect, which reuses the request ID, completes the earlier hop with the redirect's status and headers instead of leaving it pending (official transitionChain 'redirected').
|
PR test build retired — merged into |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
READER-10's three parity diffs on #495 (
notes\review-rd-tools.md):Network.getRequestPostDataremoved from the typed-CDP allowlist (crates/browser-policy/src/agent.rs); nothing calls it since fix(browser): stop reading request bodies Chromium did not capture inline #495, and official never does.oc-preview://address in a forwarded CDP event to the page's display URL (PreviewGrant::sanitize_reported_url), as official maps console text, sources and request URLs (packages/gui-plugins/src/browser/diagnostics.ts:43,47,157atdb2d889c).ExtraInfoheaders merge under the stored ones (stored wins, as official's{ ...extra, ...latest }) and the merged set keeps the 100-header / 16,000-character bound (officialtrimHeaderson the merge,diagnostics-machine.ts:148,165,182).Engine change:
ENGINE_REVISIONis 6 ondev, 5 published: no bump. Desktop,browser-pane,browser-policyand engine checks pass; guardrails 5/5. Touches network diagnostics: held for READER-10.