Skip to content

[Connection-Allowlist] Add web platform tests for connection allowlist enforcement on PaymentRequest API: service worker registration - #61460

Merged
chromium-wpt-export-bot merged 1 commit into
masterfrom
chromium-export-cl-8012329
Jul 27, 2026
Merged

[Connection-Allowlist] Add web platform tests for connection allowlist enforcement on PaymentRequest API: service worker registration#61460
chromium-wpt-export-bot merged 1 commit into
masterfrom
chromium-export-cl-8012329

Conversation

@chromium-wpt-export-bot

@chromium-wpt-export-bot chromium-wpt-export-bot commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

The web platform tests cover the service worker registration behavior
when there is a connection allowlist on the initiator frame of PaymentRequest API.

Requests flow:

  1. PaymentRequest API sends a HEAD request to payment url.
  2. A response with Link header pointing to the app manifest is
    sent back.
  3. The API downloads the app manifest.
  4. The app registers a service worker.

The test sets up allowlist to either block or allow the registration.

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

Bug: 519915328, 447954811, 506480941
Change-Id: I6f7b8f39e6227404242c22d24fee5c2992c50f10
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8012329
Commit-Queue: Xiaochen Zhou <xiaochenzh@chromium.org>
Reviewed-by: Andrew Verge <averge@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1668628}

…t enforcement on PaymentRequest API: service worker registration

The web platform tests cover the service worker registration behavior
when there is a connection allowlist on the initiator frame of PaymentRequest API.

Requests flow:
1. PaymentRequest API sends a HEAD request to payment url.
2. A response with Link header pointing to the app manifest is
   sent back.
3. The API downloads the app manifest.
4. The app registers a service worker.

The test sets up allowlist to either block or allow the registration.

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

Bug: 519915328, 447954811, 506480941
Change-Id: I6f7b8f39e6227404242c22d24fee5c2992c50f10
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8012329
Commit-Queue: Xiaochen Zhou <xiaochenzh@chromium.org>
Reviewed-by: Andrew Verge <averge@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1668628}

@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 177f223 into master Jul 27, 2026
27 checks passed
@chromium-wpt-export-bot
chromium-wpt-export-bot deleted the chromium-export-cl-8012329 branch July 27, 2026 16:30
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