Closed Bug 1527046 Opened 8 months ago Closed 8 months ago

[wpt-sync] Sync PR 15306 - [Payment Request] Add Web Platform Tests for hasEnrolledInstrument().

Categories

(Core :: DOM: Web Payments, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 15306 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/15306
Details from upstream follow.

Danyao Wang <danyao@chromium.org> wrote:

[Payment Request] Add Web Platform Tests for hasEnrolledInstrument().

The failing expectations are required because hasEnrolledInstrument()
is not yet turned on by default in Blink. These tests pass when running
Chrome with --enable-features=PaymentRequestHasEnrolledInstrument.

Bug: 915907
Change-Id: I2189bfedad813e7942c7ddbd44aac78d1b895a30
Reviewed-on: https://chromium-review.googlesource.com/c/1461313
Commit-Queue: Danyao Wang \<danyao@chromium.org>
Reviewed-by: Rouslan Solomakhin \<rouslan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#630578}

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Component: web-platform-tests → DOM: Web Payments
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 2 tests and 2 subtests
OK     : 2
FAIL   : 2

New tests that have failures or other problems:
/payment-request/payment-request-hasenrolledinstrument-method-protection.https.html
    Optionally, at the user agent's discretion, return a promise rejected with a "NotAllowedError" DOMException.: FAIL
/payment-request/payment-request-hasenrolledinstrument-method.https.html
    hasEnrolledInstrument() resolves to false for unsupported payment methods.: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/1774580635e0
[wpt PR 15306] - [Payment Request] Add Web Platform Tests for hasEnrolledInstrument()., a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/742cfa6b6a4f
[wpt PR 15306] - Update wpt metadata, a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/215f68d94d86
[wpt PR 15306] - [Payment Request] Add Web Platform Tests for hasEnrolledInstrument()., a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/cd859f2c535d
[wpt PR 15306] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.