From 12ef798ece00859b4911596b1604cb358e84593c Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Thu, 22 Aug 2024 23:22:03 -0700 Subject: [PATCH] Update metadata for PaymentResponse API This PR updates and corrects the metadata (spec URLs, descriptions, statuses, etc.) for the `PaymentResponse` API. Additional Notes: This fixes #24205. --- api/PaymentResponse.json | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/api/PaymentResponse.json b/api/PaymentResponse.json index fcc5119515b4f3..ad998b0626469f 100644 --- a/api/PaymentResponse.json +++ b/api/PaymentResponse.json @@ -212,6 +212,7 @@ "__compat": { "description": "payerdetailchange event", "mdn_url": "https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerdetailchange_event", + "spec_url": "https://www.w3.org/TR/payment-request/#dfn-payerdetailchange", "support": { "chrome": { "version_added": "78" @@ -255,14 +256,15 @@ }, "status": { "experimental": false, - "standard_track": false, - "deprecated": true + "standard_track": true, + "deprecated": false } } }, "payerEmail": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerEmail", + "spec_url": "https://www.w3.org/TR/payment-request/#payeremail-attribute", "support": { "chrome": { "version_added": "60" @@ -306,14 +308,15 @@ }, "status": { "experimental": false, - "standard_track": false, - "deprecated": true + "standard_track": true, + "deprecated": false } } }, "payerName": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerName", + "spec_url": "https://www.w3.org/TR/payment-request/#payername-attribute", "support": { "chrome": { "version_added": "60" @@ -357,14 +360,15 @@ }, "status": { "experimental": false, - "standard_track": false, - "deprecated": true + "standard_track": true, + "deprecated": false } } }, "payerPhone": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerPhone", + "spec_url": "https://www.w3.org/TR/payment-request/#payerphone-attribute", "support": { "chrome": { "version_added": "60" @@ -408,8 +412,8 @@ }, "status": { "experimental": false, - "standard_track": false, - "deprecated": true + "standard_track": true, + "deprecated": false } } }, @@ -524,6 +528,7 @@ "shippingAddress": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/PaymentResponse/shippingAddress", + "spec_url": "https://www.w3.org/TR/payment-request/#shippingaddress-attribute", "support": { "chrome": { "version_added": "60" @@ -567,14 +572,15 @@ }, "status": { "experimental": false, - "standard_track": false, - "deprecated": true + "standard_track": true, + "deprecated": false } } }, "shippingOption": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/PaymentResponse/shippingOption", + "spec_url": "https://www.w3.org/TR/payment-request/#shippingoption-attribute", "support": { "chrome": { "version_added": "60" @@ -618,8 +624,8 @@ }, "status": { "experimental": false, - "standard_track": false, - "deprecated": true + "standard_track": true, + "deprecated": false } } },