Skip to content

Commit

Permalink
Add compat data for secure payment confirmation (#21460)
Browse files Browse the repository at this point in the history
* Add compat data for secure payment confirmation

* Have separate mdn_url and description fields

* Use mdn_url for secure-payment-confirmation

* rm stray </a>

---------

Co-authored-by: Florian Scholz <[email protected]>
  • Loading branch information
wbamberg and Elchi3 authored Dec 8, 2023
1 parent 64dd3fe commit b77fd7b
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 0 deletions.
41 changes: 41 additions & 0 deletions api/CredentialsContainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@
"appidExclude": {
"__compat": {
"description": "<code>appidExclude</code> extension",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Web_Authentication_API/WebAuthn_extensions#appidexclude",
"spec_url": "https://w3c.github.io/webauthn/#sctn-appid-exclude-extension",
"support": {
"chrome": {
Expand Down Expand Up @@ -191,6 +192,7 @@
"credProps": {
"__compat": {
"description": "<code>credProps</code> extension",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Web_Authentication_API/WebAuthn_extensions#credprops",
"spec_url": "https://w3c.github.io/webauthn/#sctn-authenticator-credential-properties-extension",
"support": {
"chrome": {
Expand Down Expand Up @@ -229,6 +231,7 @@
"credProtect": {
"__compat": {
"description": "<code>credProtect</code> extension",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Web_Authentication_API/WebAuthn_extensions#credprotect",
"support": {
"chrome": {
"version_added": "76"
Expand Down Expand Up @@ -264,6 +267,7 @@
"largeBlob": {
"__compat": {
"description": "<code>largeBlob</code> extension",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Web_Authentication_API/WebAuthn_extensions#largeblob",
"spec_url": "https://w3c.github.io/webauthn/#sctn-large-blob-extension",
"support": {
"chrome": {
Expand Down Expand Up @@ -332,6 +336,43 @@
"deprecated": false
}
}
},
"payment": {
"__compat": {
"description": "<code>payment</code> extension",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Web_Authentication_API/WebAuthn_extensions#payment",
"spec_url": "https://w3c.github.io/secure-payment-confirmation/#sctn-payment-extension-registration",
"support": {
"chrome": {
"version_added": "95"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": {
"version_added": false
}
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
}
},
"requireResidentKey": {
Expand Down
42 changes: 42 additions & 0 deletions api/PaymentRequest.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,48 @@
"standard_track": true,
"deprecated": false
}
},
"secure_payment_confirmation_method": {
"__compat": {
"description": "<code>secure-payment-confirmation</code> method",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Payment_Request_API/Concepts#secure-payment-confirmation",
"support": {
"chrome": {
"version_added": "95"
},
"chrome_android": "mirror",
"deno": {
"version_added": false
},
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"nodejs": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": {
"version_added": false
}
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
}
},
"abort": {
Expand Down

0 comments on commit b77fd7b

Please sign in to comment.