Bug 1523562 [wpt PR 14934] - Remove PaymentAddress.regionCode tests, a=testonly
authorMarcos Cáceres <marcos@marcosc.com>
Thu, 31 Jan 2019 18:59:49 +0000
changeset 458101 ff66c85a281440348e2ecced2ce7750820302296
parent 458100 43ae53e7b65e6cc660e292f1fb86df8869d4ccff
child 458102 33368bf84956cb79c2d85e318a96e4845af071db
push id35518
push useropoprus@mozilla.com
push dateFri, 08 Feb 2019 09:55:14 +0000
treeherdermozilla-central@3a3e393396f4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1523562, 14934
milestone67.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 1523562 [wpt PR 14934] - Remove PaymentAddress.regionCode tests, a=testonly Automatic update from web-platform-tests Remove PaymentAddress.regionCode tests (#14934) -- wpt-commits: bbf8f729f4af7bb89dd35f60e900e289ea8b0bcd wpt-pr: 14934
testing/web-platform/tests/payment-request/PaymentAddress/attributes-and-toJSON-method-manual.https.html
testing/web-platform/tests/payment-request/PaymentValidationErrors/retry-shows-shippingAddress-member-manual.https.html
testing/web-platform/tests/payment-request/historical.https.html
--- 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,16 @@ function runManualTest(button, expected 
 <p>
   When prompted, please enter addresses as follows...
 </p>
 <ol>
   <li>
     <button onclick="
     const expectedAddress = {
       country: 'AU',
-      regionCode: 'QLD',
       addressLine: '55 test st',
       city: 'Chapel Hill',
       dependentLocality: '',
       postalCode: '6095',
       sortingCode: '',
       organization: 'w3c',
       recipient: 'web platform test',
       phone: '+61733780000',
--- a/testing/web-platform/tests/payment-request/PaymentValidationErrors/retry-shows-shippingAddress-member-manual.https.html
+++ b/testing/web-platform/tests/payment-request/PaymentValidationErrors/retry-shows-shippingAddress-member-manual.https.html
@@ -77,21 +77,16 @@ function retryShowsShippingAddressMember
     </button>
   </li>
   <li>
     <button onclick="retryShowsShippingAddressMember(this, { region: 'REGION ERROR' });">
       The payment sheet shows "REGION ERROR" for the shipping address' region.
     </button>
   </li>
   <li>
-    <button onclick="retryShowsShippingAddressMember(this, { regionCode: 'REGIONCODE ERROR' });">
-      The payment sheet shows "REGIONCODE ERROR" for the shipping address' region code.
-    </button>
-  </li>
-  <li>
     <button onclick="retryShowsShippingAddressMember(this, { sortingCode: 'SORTINGCODE ERROR' });">
       The payment sheet shows "SORTINGCODE ERROR" for the shipping address' sorting code.
     </button>
   </li>
   <li>
     <button onclick="done();">
       Done!
     </button>
--- a/testing/web-platform/tests/payment-request/historical.https.html
+++ b/testing/web-platform/tests/payment-request/historical.https.html
@@ -16,16 +16,19 @@
   ["totalAmount", "PaymentResponse"],
 
   // https://github.com/w3c/browser-payment-api/pull/426
   ["paymentRequestId", "PaymentRequest"],
   ["paymentRequestId", "PaymentResponse"],
 
   // https://github.com/w3c/payment-request/pull/765
   ["languageCode", "PaymentAddress"],
+
+  // https://github.com/w3c/payment-request/pull/823
+  ["regionCode", "PaymentAddress"],
 ].forEach(([member, interf]) => {
   test(() => {
     assert_false(member in window[interf].prototype);
   }, member + ' in ' + interf);
 });
 
 // https://github.com/w3c/payment-request/pull/551
 test(() => {