Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate allowpaymentrequest attribute #928

Merged
merged 2 commits into from
Sep 18, 2020
Merged

Conversation

marcoscaceres
Copy link
Member

@marcoscaceres marcoscaceres commented Sep 15, 2020

closes #925

The following tasks have been completed:

  • Confirmed there are no ReSpec errors/warnings.
  • Modified Web platform tests
  • Modified MDN Docs (link)
  • Has undergone security/privacy review (link)

Implementation commitment:

  • Safari - Never implemented
  • Chrome
  • Firefox - never shipped.
  • Edge (public signal)

Optional, impact on Payment Handler spec?
None.

Waiting on:
whatwg/html#5915
w3c/webappsec-permissions-policy#402


Preview | Diff

@ianbjacobs
Copy link
Collaborator

Looks good (but I am not an implementer).

Copy link
Collaborator

@danyao danyao left a comment

Choose a reason for hiding this comment

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

LGTM!

@marcoscaceres
Copy link
Member Author

(but I am not an implementer).

You are an honorary implementer 😂

@marcoscaceres
Copy link
Member Author

I'm going to migrate the WPTests to use allow="payment", that way we don't lose those existing tests.

@marcoscaceres
Copy link
Member Author

Updated tests at web-platform-tests/wpt#25560

Copy link
Collaborator

@danyao danyao left a comment

Choose a reason for hiding this comment

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

Sorry for missing this bit of detail yesterday. I think we need to recommend allow="payment *" instead of allow="payment" as the replacement for allowpaymentrequest.

index.html Outdated Show resolved Hide resolved
Copy link
Collaborator

@danyao danyao left a comment

Choose a reason for hiding this comment

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

New change LGTM!

@marcoscaceres marcoscaceres merged commit a4f35e3 into gh-pages Sep 18, 2020
@marcoscaceres marcoscaceres deleted the allowpaymentrequest branch September 18, 2020 01:20
stephenmcgruer pushed a commit to web-platform-tests/wpt that referenced this pull request Sep 19, 2020
@ianbjacobs ianbjacobs added a11y-tracker Group bringing to attention of a11y, or tracked by the a11y Group but not needing response. i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response. privacy-tracker Group bringing to attention of Privacy, or tracked by the Privacy Group but not needing response. security-tracker Group bringing to attention of security, or tracked by the security Group but not needing response. tag-tracker Group bringing to attention of the TAG, or tracked by the TAG but not needing response. labels Sep 21, 2020
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Sep 23, 2020
…low=payment, a=testonly

Automatic update from web-platform-tests
Replace allowpaymentrequest attr with allow=payment (#25560)

Tests for w3c/payment-request#928
--

wpt-commits: aa0d5711933473ebd2c10d169edb259f08d1136b
wpt-pr: 25560
sidvishnoi pushed a commit to sidvishnoi/gecko-webmonetization that referenced this pull request Sep 24, 2020
…low=payment, a=testonly

Automatic update from web-platform-tests
Replace allowpaymentrequest attr with allow=payment (#25560)

Tests for w3c/payment-request#928
--

wpt-commits: aa0d5711933473ebd2c10d169edb259f08d1136b
wpt-pr: 25560
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Sep 28, 2020
…low=payment, a=testonly

Automatic update from web-platform-tests
Replace allowpaymentrequest attr with allow=payment (#25560)

Tests for w3c/payment-request#928
--

wpt-commits: aa0d5711933473ebd2c10d169edb259f08d1136b
wpt-pr: 25560

UltraBlame original commit: 4afcc2d6ffce639a37e26154f4441750d65cb678
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Sep 28, 2020
…low=payment, a=testonly

Automatic update from web-platform-tests
Replace allowpaymentrequest attr with allow=payment (#25560)

Tests for w3c/payment-request#928
--

wpt-commits: aa0d5711933473ebd2c10d169edb259f08d1136b
wpt-pr: 25560

UltraBlame original commit: 4afcc2d6ffce639a37e26154f4441750d65cb678
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Sep 28, 2020
…low=payment, a=testonly

Automatic update from web-platform-tests
Replace allowpaymentrequest attr with allow=payment (#25560)

Tests for w3c/payment-request#928
--

wpt-commits: aa0d5711933473ebd2c10d169edb259f08d1136b
wpt-pr: 25560

UltraBlame original commit: 4afcc2d6ffce639a37e26154f4441750d65cb678
sideshowbarker added a commit to w3c/browser-compat-data that referenced this pull request Oct 12, 2020
This change marks the allowPaymentRequest property of the
HTMLIFrameElement interface standard_track:false and deprecated:true.

The allowPaymentRequest property was removed from the Payment Request spec:

* w3c/payment-request#928
* w3c/payment-request@a4f35e3

https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/allowPaymentRequest
already updated.
ddbeck pushed a commit to mdn/browser-compat-data that referenced this pull request Oct 15, 2020
This change marks the allowPaymentRequest property of the
HTMLIFrameElement interface standard_track:false and deprecated:true.

The allowPaymentRequest property was removed from the Payment Request spec:

* w3c/payment-request#928
* w3c/payment-request@a4f35e3

https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/allowPaymentRequest
already updated.
@marcoscaceres
Copy link
Member Author

@stephenmcgruer, seems Chrome night not have gotten updated to match? (the allowpaymentrequest attribute was removed from HTML a few years ago) https://bugs.chromium.org/p/chromium/issues/detail?id=1127988

@stephenmcgruer
Copy link
Collaborator

Hey Marcos - yes, we tried to remove allowpaymentrequest previously, but found that usage was too high for a trivial removal. (This is the UseCounter). I admit we then put it aside and failed to come back to it :(, but the next steps for us are to dig into cases where the metric triggers to see if we can identify ways to drive it down. This is tracked in https://crbug.com/1127988

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y-tracker Group bringing to attention of a11y, or tracked by the a11y Group but not needing response. i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response. privacy-tracker Group bringing to attention of Privacy, or tracked by the Privacy Group but not needing response. security-tracker Group bringing to attention of security, or tracked by the security Group but not needing response. tag-tracker Group bringing to attention of the TAG, or tracked by the TAG but not needing response.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Proposal: drop allowpaymentrequest attribute
5 participants