KEMBAR78
[Spec] Only allow show() to be called in a foreground tab by stephenmcgruer · Pull Request #1005 · w3c/payment-request · GitHub
Skip to content

Conversation

stephenmcgruer
Copy link
Collaborator

@stephenmcgruer stephenmcgruer commented Apr 13, 2023

This addresses this issue in SPC - https://w3c.github.io/secure-payment-confirmation/#issue-e92619e9

The behavior spec'd in SPC appears to already be followed in general Payment Request implementations already, based on testing in both Safari and Chrome, so it seems safe to just spec it here instead.

The following tasks have been completed:

  • Modified Web platform tests (link)

Implementation commitment:

  • WebKit (already passes test)
  • Chromium (already passes test)
  • Gecko (doesn't implement Payment Request)

Preview | Diff

@stephenmcgruer

This comment was marked as outdated.

stephenmcgruer and others added 2 commits May 29, 2023 10:59
Co-authored-by: Marcos Cáceres <marcos@marcosc.com>
This reverts commit fe07e08.
@stephenmcgruer
Copy link
Collaborator Author

Build failure appears unrelated to this change, so I'm going to merge it.

@stephenmcgruer stephenmcgruer merged commit cce8f5e into gh-pages May 30, 2023
@stephenmcgruer stephenmcgruer deleted the smcgruer/reject-if-background branch May 30, 2023 13:22
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Jun 13, 2023
… called in a foreground tab, a=testonly

Automatic update from web-platform-tests
[PaymentRequest] Only allow show() to be called in a foreground tab (#40256)

See w3c/payment-request#1005

--

wpt-commits: ce9e78b850380c6bc782efeae6faaded29d0228e
wpt-pr: 40256
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Jun 16, 2023
… called in a foreground tab, a=testonly

Automatic update from web-platform-tests
[PaymentRequest] Only allow show() to be called in a foreground tab (#40256)

See w3c/payment-request#1005

--

wpt-commits: ce9e78b850380c6bc782efeae6faaded29d0228e
wpt-pr: 40256

UltraBlame original commit: 1200c0a52171decd28e41fe24ef83c66ad347680
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Jun 16, 2023
… called in a foreground tab, a=testonly

Automatic update from web-platform-tests
[PaymentRequest] Only allow show() to be called in a foreground tab (#40256)

See w3c/payment-request#1005

--

wpt-commits: ce9e78b850380c6bc782efeae6faaded29d0228e
wpt-pr: 40256

UltraBlame original commit: 1200c0a52171decd28e41fe24ef83c66ad347680
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Jun 16, 2023
… called in a foreground tab, a=testonly

Automatic update from web-platform-tests
[PaymentRequest] Only allow show() to be called in a foreground tab (#40256)

See w3c/payment-request#1005

--

wpt-commits: ce9e78b850380c6bc782efeae6faaded29d0228e
wpt-pr: 40256

UltraBlame original commit: 1200c0a52171decd28e41fe24ef83c66ad347680
marcoscaceres pushed a commit that referenced this pull request Feb 5, 2024
This addresses this issue in SPC - https://w3c.github.io/secure-payment-confirmation/#issue-e92619e9

The behavior spec'd in SPC appears to already be followed in general Payment Request implementations already, based on testing in both Safari and Chrome, so it seems safe to just spec it here instead.
jwidar pushed a commit to jwidar/LatencyZeroGithub that referenced this pull request Sep 16, 2025
… called in a foreground tab, a=testonly

Automatic update from web-platform-tests
[PaymentRequest] Only allow show() to be called in a foreground tab (#40256)

See w3c/payment-request#1005

--

wpt-commits: ce9e78b850380c6bc782efeae6faaded29d0228e
wpt-pr: 40256
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants