Skip to content

Commit

Permalink
Bug 1462117 [wpt PR 11021] - Test short regionCode, a=testonly
Browse files Browse the repository at this point in the history
Automatic update from web-platform-testsTest short regionCode (#11021)

With w3c/payment-request#690 the spec changed
requiring `regionCode` to just be the "code element" of an [[!ISO3166-2]]
country subdivision name (e.g., "CA" for California).
--

wpt-commits: 32a16759d48dae9332763da98f8582bd320d82ea
wpt-pr: 11021

UltraBlame original commit: 617ffba267cf5f8f6fa6622a96d48cefb45ec2c5
  • Loading branch information
marco-c committed Oct 3, 2019
1 parent 702be47 commit 8514c3d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion testing/web-platform/meta/MANIFEST.json
Original file line number Diff line number Diff line change
Expand Up @@ -593314,7 +593314,7 @@
"support"
],
"payment-request/PaymentAddress/attributes-and-toJSON-method-manual.https.html": [
"1a2bf6b62a5021eec649c0919a35574779e30d09",
"46cac5ba402841a8bc311b1a11de4a82589ee567",
"manual"
],
"payment-request/PaymentItem/type_member.https.html": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ <h2>PaymentAddress interface</h2>
<button onclick="
const expectedAddress = {
country: 'AU',
regionCode: 'AU-QLD',
regionCode: 'QLD',
addressLine: '55 test st',
city: 'Chapel Hill',
dependentLocality: '',
Expand All @@ -90,8 +90,10 @@ <h2>PaymentAddress interface</h2>
<dd>55 test st</dd>
<dt>Country</dt>
<dd>Australia</dd>
<dt>Suburb</dt>
<dt>City</dt>
<dd>Chapel Hill</dd>
<dd>State/Region</dd>
<dd>Queensland</dd>
<dt>postal code </dt>
<dd>6095</dd>
<dt>organization</dt>
Expand Down

0 comments on commit 8514c3d

Please sign in to comment.