Skip to content

Commit

Permalink
Deprecate PaymentAddress, PayerErrors, and related members
Browse files Browse the repository at this point in the history
w3c/payment-request@486c07a
(w3c/payment-request#955) removed the
PaymentAddress and PayerErrors objects from the Payment Request
specification — as well as removing related members from the
PaymentRequest, PaymentResponse, and PaymentDetailsUpdate objects.

So this change marks PaymentAddress and PayerErrors as deprecated and
standard_track:false, as well as all their members, and the related
members of the PaymentRequest, PaymentResponse, and PaymentDetailsUpdate
objects.

The change also removes all the spec URLs for the deprecated features
(they’re no longer in the spec).

Related MDN change: mdn/content#4850
  • Loading branch information
sideshowbarker committed May 10, 2021
1 parent d7a30de commit 195066b
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 99 deletions.
26 changes: 11 additions & 15 deletions api/PayerErrors.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"PayerErrors": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PayerErrors",
"spec_url": "https://w3c.github.io/payment-request/#dom-payererrors",
"support": {
"chrome": [
{
Expand Down Expand Up @@ -129,14 +128,13 @@
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
"standard_track": false,
"deprecated": true
}
},
"email": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PayerErrors/email",
"spec_url": "https://w3c.github.io/payment-request/#dom-payererrors-email",
"support": {
"chrome": [
{
Expand Down Expand Up @@ -261,16 +259,15 @@
}
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
"experimental": false,
"standard_track": false,
"deprecated": true
}
}
},
"name": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PayerErrors/name",
"spec_url": "https://w3c.github.io/payment-request/#dom-payererrors-name",
"support": {
"chrome": [
{
Expand Down Expand Up @@ -395,16 +392,15 @@
}
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
"experimental": false,
"standard_track": false,
"deprecated": true
}
}
},
"phone": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PayerErrors/phone",
"spec_url": "https://w3c.github.io/payment-request/#dom-payererrors-phone",
"support": {
"chrome": [
{
Expand Down Expand Up @@ -529,9 +525,9 @@
}
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
"experimental": false,
"standard_track": false,
"deprecated": true
}
}
}
Expand Down
60 changes: 24 additions & 36 deletions api/PaymentAddress.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"PaymentAddress": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PaymentAddress",
"spec_url": "https://w3c.github.io/payment-request/#paymentaddress-interface",
"support": {
"chrome": {
"version_added": "60"
Expand Down Expand Up @@ -46,14 +45,13 @@
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
"standard_track": false,
"deprecated": true
}
},
"addressLine": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PaymentAddress/addressLine",
"spec_url": "https://w3c.github.io/payment-request/#dom-paymentaddress-addressline",
"support": {
"chrome": {
"version_added": "60"
Expand Down Expand Up @@ -96,15 +94,14 @@
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
"standard_track": false,
"deprecated": true
}
}
},
"city": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PaymentAddress/city",
"spec_url": "https://w3c.github.io/payment-request/#dom-paymentaddress-city",
"support": {
"chrome": {
"version_added": "60"
Expand Down Expand Up @@ -147,15 +144,14 @@
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
"standard_track": false,
"deprecated": true
}
}
},
"country": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PaymentAddress/country",
"spec_url": "https://w3c.github.io/payment-request/#dom-paymentaddress-country",
"support": {
"chrome": {
"version_added": "60"
Expand Down Expand Up @@ -198,15 +194,14 @@
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
"standard_track": false,
"deprecated": true
}
}
},
"dependentLocality": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PaymentAddress/dependentLocality",
"spec_url": "https://w3c.github.io/payment-request/#dom-paymentaddress-dependentlocality",
"support": {
"chrome": {
"version_added": "60"
Expand Down Expand Up @@ -249,8 +244,8 @@
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
"standard_track": false,
"deprecated": true
}
}
},
Expand Down Expand Up @@ -309,7 +304,6 @@
"organization": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PaymentAddress/organization",
"spec_url": "https://w3c.github.io/payment-request/#dom-paymentaddress-organization",
"support": {
"chrome": {
"version_added": "60"
Expand Down Expand Up @@ -352,15 +346,14 @@
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
"standard_track": false,
"deprecated": true
}
}
},
"phone": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PaymentAddress/phone",
"spec_url": "https://w3c.github.io/payment-request/#dom-paymentaddress-phone",
"support": {
"chrome": {
"version_added": "60"
Expand Down Expand Up @@ -403,15 +396,14 @@
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
"standard_track": false,
"deprecated": true
}
}
},
"postalCode": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PaymentAddress/postalCode",
"spec_url": "https://w3c.github.io/payment-request/#dom-paymentaddress-postalcode",
"support": {
"chrome": {
"version_added": "60"
Expand Down Expand Up @@ -454,15 +446,14 @@
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
"standard_track": false,
"deprecated": true
}
}
},
"recipient": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PaymentAddress/recipient",
"spec_url": "https://w3c.github.io/payment-request/#dom-paymentaddress-recipient",
"support": {
"chrome": {
"version_added": "60"
Expand Down Expand Up @@ -505,15 +496,14 @@
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
"standard_track": false,
"deprecated": true
}
}
},
"region": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PaymentAddress/region",
"spec_url": "https://w3c.github.io/payment-request/#dom-paymentaddress-region",
"support": {
"chrome": {
"version_added": "60"
Expand Down Expand Up @@ -556,8 +546,8 @@
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
"standard_track": false,
"deprecated": true
}
}
},
Expand Down Expand Up @@ -614,7 +604,6 @@
"sortingCode": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PaymentAddress/sortingCode",
"spec_url": "https://w3c.github.io/payment-request/#dom-paymentaddress-sortingcode",
"support": {
"chrome": {
"version_added": "60"
Expand Down Expand Up @@ -657,15 +646,14 @@
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
"standard_track": false,
"deprecated": true
}
}
},
"toJSON": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PaymentAddress/toJSON",
"spec_url": "https://heycam.github.io/webidl/#default-tojson-steps",
"description": "<code>toJSON()</code>",
"support": {
"chrome": {
Expand Down Expand Up @@ -709,8 +697,8 @@
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
"standard_track": false,
"deprecated": true
}
}
}
Expand Down
10 changes: 4 additions & 6 deletions api/PaymentDetailsUpdate.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@
"error": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PaymentDetailsUpdate/error",
"spec_url": "https://w3c.github.io/payment-request/#dom-paymentdetailsupdate-error",
"support": {
"chrome": {
"version_added": "61"
Expand Down Expand Up @@ -134,15 +133,14 @@
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
"standard_track": false,
"deprecated": true
}
}
},
"shippingAddressErrors": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PaymentDetailsUpdate/shippingAddressErrors",
"spec_url": "https://w3c.github.io/payment-request/#dom-paymentdetailsupdate-shippingaddresserrors",
"support": {
"chrome": {
"version_added": "61"
Expand Down Expand Up @@ -199,8 +197,8 @@
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
"standard_track": false,
"deprecated": true
}
}
},
Expand Down
Loading

0 comments on commit 195066b

Please sign in to comment.