From 632672351b1e037fb43ff86c5c1cf26d9f2240e7 Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Tue, 27 Aug 2024 20:22:11 -0700 Subject: [PATCH] Update metadata for PaymentResponse API (#24208) * 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. * Use the same spec URL --- api/PaymentResponse.json | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/api/PaymentResponse.json b/api/PaymentResponse.json index fcc5119515b4f3..da5c5097731dfe 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://w3c.github.io/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://w3c.github.io/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://w3c.github.io/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://w3c.github.io/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://w3c.github.io/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://w3c.github.io/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 } } },