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:
Marcos Cáceres 2019-01-31 18:59:49 +00:00 коммит произвёл James Graham
Родитель 8f4cad121b
Коммит c0fc02fa95
3 изменённых файлов: 3 добавлений и 6 удалений

Просмотреть файл

@ -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);