Bug 1481971 - Update payment-(handler|method-basic-card|method-id) wpt expectations. r=marcosc
authorMatthew Noorenberghe <mozilla@noorenberghe.ca>
Tue, 16 Oct 2018 20:21:41 -0700
changeset 497384 025fdcb0c798b7f633c17ce17b282b8f3029cbe5
parent 497383 73912f1633a16370d8b9410ebd35e6dc2532eb3d
child 497385 fb5d7c25d897ca7deb958d96e9eb35bdaf955fb0
push id9996
push userarchaeopteryx@coole-files.de
push dateThu, 18 Oct 2018 18:37:15 +0000
treeherdermozilla-beta@8efe26839243 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmarcosc
bugs1481971
milestone64.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 1481971 - Update payment-(handler|method-basic-card|method-id) wpt expectations. r=marcosc Set pref to enable payment request during wpt tests.
testing/web-platform/meta/payment-handler/__dir__.ini
testing/web-platform/meta/payment-handler/can-make-payment-event.https.html.ini
testing/web-platform/meta/payment-method-basic-card/__dir__.ini
testing/web-platform/meta/payment-method-basic-card/payment-request-canmakepayment-method.https.html.ini
testing/web-platform/meta/payment-method-id/__dir__.ini
testing/web-platform/meta/payment-method-id/payment-request-ctor-pmi-handling.https.html.ini
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/payment-handler/__dir__.ini
@@ -0,0 +1,3 @@
+prefs: [dom.payments.request.enabled:true]
+disabled:
+  if not nightly_build: https://bugzilla.mozilla.org/show_bug.cgi?id=1495301
--- a/testing/web-platform/meta/payment-handler/can-make-payment-event.https.html.ini
+++ b/testing/web-platform/meta/payment-handler/can-make-payment-event.https.html.ini
@@ -13,17 +13,18 @@
 
   [If CanMakePaymentEvent.respondWith(Promise.resolve(true)) is called, then the payment method is supported.]
     expected: FAIL
 
   [If CanMakePaymentEvent.respondWith(Promise.reject(error)) is called, then the payment method is not supported.]
     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
 
   [If an app has the exact "basic-card" capabilities that a merchant requested, capability filtering should make the app available for use. CanMakePaymentEvent should not be fired for "basic-card".]
     expected: FAIL
 
   [If an app has more specific "basic-card" capabilities than merchant's request, capability filtering should make the app available for use. CanMakePaymentEvent should not be fired for "basic-card".]
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/payment-method-basic-card/__dir__.ini
@@ -0,0 +1,3 @@
+prefs: [dom.payments.request.enabled:true]
+disabled:
+  if not nightly_build: https://bugzilla.mozilla.org/show_bug.cgi?id=1495301
--- a/testing/web-platform/meta/payment-method-basic-card/payment-request-canmakepayment-method.https.html.ini
+++ b/testing/web-platform/meta/payment-method-basic-card/payment-request-canmakepayment-method.https.html.ini
@@ -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
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/payment-method-id/__dir__.ini
@@ -0,0 +1,3 @@
+prefs: [dom.payments.request.enabled:true]
+disabled:
+  if not nightly_build: https://bugzilla.mozilla.org/show_bug.cgi?id=1495301
--- a/testing/web-platform/meta/payment-method-id/payment-request-ctor-pmi-handling.https.html.ini
+++ b/testing/web-platform/meta/payment-method-id/payment-request-ctor-pmi-handling.https.html.ini
@@ -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