Repository navigation
refactor(browser): allow native page navigation - #167703
Draft
jesse-merhi wants to merge 2 commits into
Draft
jesse-merhi wants to merge 2 commits into
jesse-merhi wants to merge 2 commits into
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review blockedAutomated review did not run, so no review verdict was produced. Reason: The input-safety check rejected material in this revision. No detected value, path, or scanner output is reproduced here. Automatic review is on hold, including after source changes. Request a fresh re-review after resolving the failure; maintainers can also release the hold through an intentional scanner-policy update. Next step: If this is a genuine credential, remove and rotate it. If it is an intentional test fixture, a maintainer must review and qualify it. |
This was referenced Oct 22, 2026
This branch has not been deployed
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.
What Problem This Solves
Allows browser page navigation to use Chromium's native network behavior, including private and local pages, without OpenClaw's page-level IP/DNS restrictions.
User Impact
Opening, navigating, clicking, and downloading can reach private pages and follow redirects. URL scheme and embedded-credential checks remain. Native browser security remains enabled.
browser.ssrfPolicyis retired. Runopenclaw doctor --fixto preserve remote CDP endpoint restrictions inbrowser.cdpPolicy. Those restrictions apply to the browser control connection, not page navigation. Discord media uses Discord-owned policy. Private OpenAI image endpoint permission moves tomodels.providers.openai.request.allowPrivateNetwork; ambiguous auth routes require explicit operator configuration and receive a migration notice.Why This Change Was Made
Removes page interception, redirect/subframe guards, quarantine, and network prediction overrides while preserving browser lifecycle, cancellation, ownership, and document authority. Updates callers, migration, documentation, and coverage together.
The test-value pass removes exact generated-source assertions and a pre-aborted wait permutation. Returned evaluator values and consequential in-flight cancellation coverage remain. The cleanup adds no lines and removes 29.
Evidence
node scripts/run-vitest.mjs extensions/browser/src/browser/pw-tools-core.interactions.results.test.tspassed all 9 cases in 17.87 seconds. Formatting andgit diff --checkpassed.