[PR #1398] [CLOSED] fix(browser): recover masked Chromium frame URLs #2856

Closed
opened 2026-10-17 21:11:05 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/morluto/rea/pull/1398
Author: @cold-atom
Created: 10/10/2026
Status: ❌ Closed

Base: main ← Head: fix/issue-1384


📝 Commits (1)

  • e62c572 fix(browser): recover masked Chromium frame URLs

📊 Changes

15 files changed (+800 additions, -120 deletions)

View changed files

➕ src/browser/CdpAuthorizedMainFrame.test.ts (+61 -0)
📝 src/browser/CdpAuthorizedMainFrame.ts (+130 -7)
📝 src/browser/CdpCaptureDocuments.test.ts (+22 -0)
📝 src/browser/CdpCaptureDocuments.ts (+14 -3)
📝 src/browser/CdpObservationSession.ts (+49 -8)
📝 src/browser/CdpPageCapture.ts (+35 -13)
📝 src/browser/CdpScreenshot.ts (+46 -13)
📝 src/browser/CdpWebMcpDiscovery.ts (+102 -61)
📝 src/browser/execution/CdpRuntimeSession.ts (+24 -14)
📝 tests/boundary/browser/cdpBrowserProvider.document_script.test.ts (+122 -0)
📝 tests/boundary/browser/cdpBrowserProvider.lifecycle_failures.test.ts (+85 -0)
➕ tests/boundary/browser/cdpMaskedMainFrameConsumers.test.ts (+57 -0)
📝 tests/boundary/browser/cdpWebRuntime.test.ts (+30 -0)
📝 tests/fixtures/fakeCdpBrowserResults.ts (+21 -1)
📝 tests/fixtures/fakeCdpBrowserTypes.ts (+2 -0)

📄 Description

Summary

Problem and expected behavior

Change and scope

Contract and boundary impact

  • Semantic owner and earliest changed stage:
  • CLI and MCP/tool-catalog contract:
  • Provider, bridge, target-format, or platform compatibility:
  • Evidence, artifact, provenance, or reconstruction contract:
  • Process execution, authorization, cleanup, or containment impact:
  • Generated metadata (docs/public/product-catalog.json), package, or installation impact (CI generates and validates ignored catalogs and skills/; edit authored instructions in skill-src/ and never commit build outputs):

Evidence and regression coverage

  • Tests added or updated:
  • Base reproduction or other evidence:
  • User-visible CLI/MCP output (if applicable):
  • Remaining proof gaps:

For evidence-bearing changes:

  • Observed, derived, and inferred claims remain distinguishable.
  • Artifact identity, source provenance, and failed attempts remain preserved.
  • Unsupported, incomplete, unavailable, or uncertain outcomes remain visible.

Validation performed

  • command — result

Compatibility, safety, and release

  • Breaking changes or migration steps:
  • Real Hopper/Ghidra, browser, or OS coverage:
  • Package or release metadata impact:
  • Security, privacy, process, or containment review:

Review checklist

  • This PR addresses a concrete problem or an agreed enhancement.
  • The PR has one focused outcome and the title follows type(scope): outcome.
  • Related issue is linked, or the reason for not linking one is stated above.
  • Tests cover changed observable behavior and meaningful failure paths.
  • Owning docs, contracts, and generated metadata are updated where needed.
  • User-visible CLI/MCP changes include representative output.
  • I checked the final diff for secrets, unrelated cleanup, and unsupported claims.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/morluto/rea/pull/1398 **Author:** [@cold-atom](https://github.com/cold-atom) **Created:** 10/10/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/issue-1384` --- ### 📝 Commits (1) - [`e62c572`](https://github.com/morluto/rea/commit/e62c572b464daed1ab4b9b4c08f3fdbae6eddbac) fix(browser): recover masked Chromium frame URLs ### 📊 Changes **15 files changed** (+800 additions, -120 deletions) <details> <summary>View changed files</summary> ➕ `src/browser/CdpAuthorizedMainFrame.test.ts` (+61 -0) 📝 `src/browser/CdpAuthorizedMainFrame.ts` (+130 -7) 📝 `src/browser/CdpCaptureDocuments.test.ts` (+22 -0) 📝 `src/browser/CdpCaptureDocuments.ts` (+14 -3) 📝 `src/browser/CdpObservationSession.ts` (+49 -8) 📝 `src/browser/CdpPageCapture.ts` (+35 -13) 📝 `src/browser/CdpScreenshot.ts` (+46 -13) 📝 `src/browser/CdpWebMcpDiscovery.ts` (+102 -61) 📝 `src/browser/execution/CdpRuntimeSession.ts` (+24 -14) 📝 `tests/boundary/browser/cdpBrowserProvider.document_script.test.ts` (+122 -0) 📝 `tests/boundary/browser/cdpBrowserProvider.lifecycle_failures.test.ts` (+85 -0) ➕ `tests/boundary/browser/cdpMaskedMainFrameConsumers.test.ts` (+57 -0) 📝 `tests/boundary/browser/cdpWebRuntime.test.ts` (+30 -0) 📝 `tests/fixtures/fakeCdpBrowserResults.ts` (+21 -1) 📝 `tests/fixtures/fakeCdpBrowserTypes.ts` (+2 -0) </details> ### 📄 Description <!-- PR title: type(optional-scope): imperative outcome The title becomes the squash-merge commit subject and generated changelog entry. --> ## Summary <!-- What user, agent, or maintainer problem does this solve? Link the issue with "Fixes #123" when applicable. Keep the prior behavior, expected contract, and new behavior understandable without private context. --> ## Problem and expected behavior <!-- For fixes, give the smallest trigger and violated invariant. For features, describe the use case and observable outcome. --> ## Change and scope <!-- Explain the chosen approach, why it fits REA's architecture, and what is intentionally not included. --> ## Contract and boundary impact <!-- Complete the applicable lines; use "none" or "not applicable" explicitly. --> - Semantic owner and earliest changed stage: - CLI and MCP/tool-catalog contract: - Provider, bridge, target-format, or platform compatibility: - Evidence, artifact, provenance, or reconstruction contract: - Process execution, authorization, cleanup, or containment impact: - Generated metadata (`docs/public/product-catalog.json`), package, or installation impact (CI generates and validates ignored catalogs and `skills/`; edit authored instructions in `skill-src/` and never commit build outputs): ## Evidence and regression coverage <!-- State whether evidence is executed, source-derived, or proposed. For fixes, explain how the regression would fail on the affected base revision when practical. --> - Tests added or updated: - Base reproduction or other evidence: - User-visible CLI/MCP output (if applicable): - Remaining proof gaps: For evidence-bearing changes: - [ ] Observed, derived, and inferred claims remain distinguishable. - [ ] Artifact identity, source provenance, and failed attempts remain preserved. - [ ] Unsupported, incomplete, unavailable, or uncertain outcomes remain visible. ## Validation performed <!-- List only commands that actually ran, with observed results. Include the relevant real-provider or platform workflow, or explain why it was unavailable. --> - `command` — result ## Compatibility, safety, and release <!-- Call out breaking changes, migrations, package effects, platform/provider limits, security/privacy/containment implications, and meaningful proof gaps. --> - Breaking changes or migration steps: <!-- For ! / BREAKING CHANGE: show a previously valid call/configuration, its new behavior and migration, and why compatibility/deprecation cannot preserve it. Every release increments minor, including breaking changes; keep breaking markers and migration notes so callers can assess compatibility. See docs/releasing.md. --> - Real Hopper/Ghidra, browser, or OS coverage: - Package or release metadata impact: - Security, privacy, process, or containment review: ## Review checklist - [ ] This PR addresses a concrete problem or an agreed enhancement. - [ ] The PR has one focused outcome and the title follows `type(scope): outcome`. - [ ] Related issue is linked, or the reason for not linking one is stated above. - [ ] Tests cover changed observable behavior and meaningful failure paths. - [ ] Owning docs, contracts, and generated metadata are updated where needed. - [ ] User-visible CLI/MCP changes include representative output. - [ ] I checked the final diff for secrets, unrelated cleanup, and unsupported claims. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-17 21:11:05 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
morluto/rea#2856
No description provided.