Bug 1462117 [wpt PR 11021] - Test short regionCode, a=testonly
authorMarcos Cáceres <marcos@marcosc.com>
Sat, 19 May 2018 20:24:39 +0000
changeset 419074 617ffba267cf5f8f6fa6622a96d48cefb45ec2c5
parent 419073 4143290a87a68d7268365fe429e48cf6aba9e52d
child 419075 75d5d677ef5fb31e1034e98d66b91711ef26e3e2
push id34026
push userapavel@mozilla.com
push dateMon, 21 May 2018 09:47:33 +0000
treeherdermozilla-central@dc1868d255be [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1462117, 11021
milestone62.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1462117 [wpt PR 11021] - Test short regionCode, a=testonly Automatic update from web-platform-testsTest short regionCode (#11021) With https://github.com/w3c/payment-request/pull/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
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/payment-request/PaymentAddress/attributes-and-toJSON-method-manual.https.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -593309,17 +593309,17 @@
    "20d0e6d34a096a9e8c59a8e6ae7d0bfeaa0e6344",
    "support"
   ],
   "payment-request/OWNERS": [
    "60cf95eb7b2e583315fe8539d2caf38667412d19",
    "support"
   ],
   "payment-request/PaymentAddress/attributes-and-toJSON-method-manual.https.html": [
-   "1a2bf6b62a5021eec649c0919a35574779e30d09",
+   "46cac5ba402841a8bc311b1a11de4a82589ee567",
    "manual"
   ],
   "payment-request/PaymentItem/type_member.https.html": [
    "5568f96eac7b0ebf1d91d468bb30b9eaa8b1a9f0",
    "testharness"
   ],
   "payment-request/PaymentRequestUpdateEvent/constructor.http.html": [
    "017f1f1aca43171083833ddb27ff66e39902e85d",
--- a/testing/web-platform/tests/payment-request/PaymentAddress/attributes-and-toJSON-method-manual.https.html
+++ b/testing/web-platform/tests/payment-request/PaymentAddress/attributes-and-toJSON-method-manual.https.html
@@ -63,17 +63,17 @@ function runManualTest(button, expected 
 <p>
   When prompted, please enter addresses as follows...
 </p>
 <ol>
   <li>
     <button onclick="
     const expectedAddress = {
       country: 'AU',
-      regionCode: 'AU-QLD',
+      regionCode: 'QLD',
       addressLine: '55 test st',
       city: 'Chapel Hill',
       dependentLocality: '',
       postalCode: '6095',
       sortingCode: '',
       languageCode: 'en',
       organization: 'w3c',
       recipient: 'web platform test',
@@ -85,18 +85,20 @@ function runManualTest(button, expected 
     Please use:
     <dl>
       <dt>Recipient:</dt>
       <dd>web platform test</dd>
       <dt>Address line:</dt>
       <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>
       <dd>w3c</dd>
       <dt>Phone number</dt>
       <dd>+61 7 3378 0000</dd>
     </dl>
   </li>