зеркало из https://github.com/mozilla/gecko-dev.git
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
This commit is contained in:
Родитель
8f4cad121b
Коммит
c0fc02fa95
|
@ -68,7 +68,6 @@ function runManualTest(button, expected = {}) {
|
|||
<button onclick="
|
||||
const expectedAddress = {
|
||||
country: 'AU',
|
||||
regionCode: 'QLD',
|
||||
addressLine: '55 test st',
|
||||
city: 'Chapel Hill',
|
||||
dependentLocality: '',
|
||||
|
|
|
@ -81,11 +81,6 @@ function retryShowsShippingAddressMember(button, 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.
|
||||
|
|
|
@ -21,6 +21,9 @@
|
|||
|
||||
// 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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче