mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 00:05:36 +00:00
Bug 1486350 [wpt PR 12684] - Remove languageCode tests, a=testonly
Automatic update from web-platform-testsRemove languageCode tests (#12684) -- wpt-commits: ab1c11787a91e8ad8a6129e24ab6f881d5c0b2e2 wpt-pr: 12684
This commit is contained in:
parent
f7e0664c73
commit
b978b52645
@ -99,7 +99,6 @@ self.addEventListener('paymentrequest', event => {
|
||||
city: 'Reston',
|
||||
country: 'US',
|
||||
dependentLocality: '',
|
||||
languageCode: '',
|
||||
organization: 'Google',
|
||||
phone: '+15555555555',
|
||||
postalCode: '20190',
|
||||
|
@ -81,7 +81,6 @@ function runTests() {
|
||||
assert_equals(response.details.billingAddress.city, 'Reston');
|
||||
assert_equals(response.details.billingAddress.country, 'US');
|
||||
assert_equals(response.details.billingAddress.dependentLocality, '');
|
||||
assert_equals(response.details.billingAddress.languageCode, '');
|
||||
assert_equals(response.details.billingAddress.organization, 'Google');
|
||||
assert_equals(response.details.billingAddress.phone, '+15555555555');
|
||||
assert_equals(response.details.billingAddress.postalCode, '20190');
|
||||
|
@ -25,7 +25,6 @@ const defaultBillingAddress = {
|
||||
dependentLocality: '',
|
||||
postalCode: '1001',
|
||||
sortingCode: '',
|
||||
languageCode: 'fa',
|
||||
organization: 'w3c',
|
||||
recipient: 'web platform test',
|
||||
phone: '+93555555555',
|
||||
|
@ -74,7 +74,6 @@ function runManualTest(button, expected = {}) {
|
||||
dependentLocality: '',
|
||||
postalCode: '6095',
|
||||
sortingCode: '',
|
||||
languageCode: 'en',
|
||||
organization: 'w3c',
|
||||
recipient: 'web platform test',
|
||||
phone: '+61733780000',
|
||||
|
@ -56,11 +56,6 @@ function retryShowsShippingAddressMember(button, error) {
|
||||
The payment sheet shows "DEPENDENTLOCALITY ERROR" for the shipping address' dependentLocality.
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button onclick="retryShowsShippingAddressMember(this, { languageCode: 'LANGUAGECODE ERROR' });">
|
||||
The payment sheet shows "LANGUAGECODE ERROR" for the shipping address' languageCode.
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button onclick="retryShowsShippingAddressMember(this, { organization: 'ORGANIZATION ERROR' });">
|
||||
The payment sheet shows "ORGANIZATION ERROR" for the shipping address' organization.
|
||||
|
@ -19,6 +19,8 @@
|
||||
["paymentRequestId", "PaymentRequest"],
|
||||
["paymentRequestId", "PaymentResponse"],
|
||||
|
||||
// https://github.com/w3c/payment-request/pull/765
|
||||
["languageCode", "PaymentAddress"],
|
||||
].forEach(([member, interf]) => {
|
||||
test(() => {
|
||||
assert_false(member in window[interf].prototype);
|
||||
|
Loading…
Reference in New Issue
Block a user