Closed Bug 1572181 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 18319 - [Contacts] Add contacts wpt tests with a mock contacts implementation.

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox70 fixed)

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Rayan Kanso <rayankans@chromium.org> wrote:

[Contacts] Add contacts wpt tests with a mock contacts implementation.

  • Create a mocked contacts interface that requires user agents to set
    the contacts to return when queried.
  • Implement the mocked contacts interface for chromium.
  • Move chromium web_tests to the wpt folder. I've added one test and
    removed one test.

Change-Id: I8fe518eef37eedf2908b4b0ea9bec9df9ea4938f
Reviewed-on: https://chromium-review.googlesource.com/1741915
WPT-Export-Revision: faba09f27d0b911a8caee75c9a702cc32c27d062

Ran 1 tests and 8 subtests
OK     : 1
FAIL   : 8

New tests that have failures or other problems:
/contacts/contacts-select.https.window.html
    Only one contact is returned if `multiple` is not set.: FAIL
    Test contacts.select() throws a TypeError in a sub-frame: FAIL
    The Contact API can fail when the selector cannot be opened: FAIL
    The Contact API cannot be used again until the first operation is complete.: FAIL
    The Contact API correctly returns ContactInfo entries: FAIL
    The Contact API does not include fields that were not requested: FAIL
    The Contact API requires a user gesture: FAIL
    The Contact API requires valid properties to be provided: FAIL
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/3e7355cd6240
[wpt PR 18319] - [Contacts] Add contacts wpt tests with a mock contacts implementation., a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/45422d6f3d75
[wpt PR 18319] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.