Bug 1481971 - Update payment-(handler|method-basic-card|method-id) wpt expectations. r=marcosc

Set pref to enable payment request during wpt tests.

--HG--
extra : rebase_source : 1b27804fe138c58420b9192fae590af18faed7d3
This commit is contained in:
Matthew Noorenberghe 2018-10-16 20:21:41 -07:00
Родитель 0ad023d797
Коммит 031139ce4f
6 изменённых файлов: 23 добавлений и 9 удалений

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

@ -0,0 +1,3 @@
prefs: [dom.payments.request.enabled:true]
disabled:
if not nightly_build: https://bugzilla.mozilla.org/show_bug.cgi?id=1495301

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

@ -18,7 +18,8 @@
expected: FAIL
[If an app supports "basic-card" in general and that's what merchant requests as well, then capability filtering should make the app available for use. CanMakePaymentEvent should not be fired for "basic-card".]
expected: FAIL
expected:
if not e10s: FAIL
[If an app has less specific "basic-card" capabilites than merchant's request, capability filtering should not make the app available for use. CanMakePaymentEvent should not be fired for "basic-card". ]
expected: FAIL

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

@ -0,0 +1,3 @@
prefs: [dom.payments.request.enabled:true]
disabled:
if not nightly_build: https://bugzilla.mozilla.org/show_bug.cgi?id=1495301

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

@ -1,10 +1,11 @@
[payment-request-canmakepayment-method.https.html]
[Must return false when the PMI is not supported at by the user agent.]
expected: FAIL
expected:
if not e10s: FAIL
[Must return true when basic-card is amongst unsupported PMIs.]
expected: FAIL
[If basic-card is supported, then return a promise that resolves to true.]
expected: FAIL
expected:
if not e10s: FAIL

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

@ -0,0 +1,3 @@
prefs: [dom.payments.request.enabled:true]
disabled:
if not nightly_build: https://bugzilla.mozilla.org/show_bug.cgi?id=1495301

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

@ -1,13 +1,16 @@
[payment-request-ctor-pmi-handling.https.html]
[Must not throw on syntactically valid standardized payment method identifiers, even if they are not supported]
expected: FAIL
expected:
if not e10s: FAIL
[Must support valid standard URL PMIs]
expected: FAIL
expected:
if not e10s: FAIL
[Must throw on syntactically invalid standardized payment method identifiers]
expected: FAIL
expected:
if not e10s: FAIL
[Constructor MUST throw if given an invalid URL-based payment method identifier]
expected: FAIL
expected:
if not e10s: FAIL