[Connection-Allowlist] Add web platform tests for connection allowlist enforcement on PaymentRequest API: service worker registration - #61460
Merged
Conversation
chromium-wpt-export-bot
force-pushed
the
chromium-export-cl-8012329
branch
from
July 27, 2026 13:00
fd5f67c to
ba7111e
Compare
chromium-wpt-export-bot
marked this pull request as ready for review
July 27, 2026 16:08
…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
approved these changes
Jul 27, 2026
wpt-pr-bot
left a comment
Collaborator
There was a problem hiding this comment.
The review process for this patch is being conducted in the Chromium project.
chromium-wpt-export-bot
force-pushed
the
chromium-export-cl-8012329
branch
from
July 27, 2026 16:08
ba7111e to
d4ff80f
Compare
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.
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:
sent back.
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}