Skip to content

[Connection-Allowlist] Enforce for speculation rules prerender#60414

Merged
chromium-wpt-export-bot merged 1 commit into
masterfrom
chromium-export-cl-7886514
Jun 5, 2026
Merged

[Connection-Allowlist] Enforce for speculation rules prerender#60414
chromium-wpt-export-bot merged 1 commit into
masterfrom
chromium-export-cl-7886514

Conversation

@chromium-wpt-export-bot

@chromium-wpt-export-bot chromium-wpt-export-bot commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator
  • The prerendering navigation request already correctly sets the
    initiator frame token. The Connection Allowlist(CA) check in navigation
    request enforces according to the initiator frame's CA.
  • Add browser test and WPT.
  • Add browser test for kPrerender2FallbackPrefetchSpecRules feature.
    When enabled, a fallback prefetch request is created for speculation
    rules prerender. The fallback prefetch is also checked by CA.

About CA: https://github.com/WICG/connection-allowlists

Bug: 447954811, 492462315
Change-Id: I3f14f25d03c9d72eec5a652246769b6e4be36cae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7886514
Reviewed-by: Andrew Verge <averge@chromium.org>
Commit-Queue: Xiaochen Zhou <xiaochenzh@chromium.org>
Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org>
Reviewed-by: Lingqi Chi <lingqi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1642470}

- The prerendering navigation request already correctly sets the
initiator frame token. The Connection Allowlist(CA) check in navigation
request enforces according to the initiator frame's CA.
- Add browser test and WPT.
- Add browser test for kPrerender2FallbackPrefetchSpecRules feature.
When enabled, a fallback prefetch request is created for speculation
rules prerender. The fallback prefetch is also checked by CA.

About CA: https://github.com/WICG/connection-allowlists

Bug: 447954811, 492462315
Change-Id: I3f14f25d03c9d72eec5a652246769b6e4be36cae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7886514
Reviewed-by: Andrew Verge <averge@chromium.org>
Commit-Queue: Xiaochen Zhou <xiaochenzh@chromium.org>
Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org>
Reviewed-by: Lingqi Chi <lingqi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1642470}

@wpt-pr-bot wpt-pr-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot merged commit 8c48ddf into master Jun 5, 2026
27 checks passed
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-7886514 branch June 5, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants