[wpt-sync] Sync PR 23305 - bluetooth: Improve fake device setup helpers
Categories
(Core :: DOM: Device Interfaces, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
125.46 KB,
text/plain
|
Details |
Sync web-platform-tests PR 23305 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/23305
Details from upstream follow.
Ovidio Henriquez <odejesush@chromium.org> wrote:
bluetooth: Improve fake device setup helpers
This change adds a more versatile fake device setup helper. This helper
can add services and set the device as connectable and with all services
discovered. Additionally, the device can be requested with the given
RequestDeviceOptions.This change also adds a global fakeCentral object that enables test to
be able to use it to simulate advertisements or to be able to add more
fake devices mid-test.This change converts the Blocklist and HID fake helpers. The
Health Thermometer helpers require more work to properly convert to using
the new method, so it will be done in a future patch.Bug: 1070816
Change-Id: I7ff70949e9ff7b22cc1a4e0ac235a42ea7356018
Reviewed-on: https://chromium-review.googlesource.com/2165446
WPT-Export-Revision: 09377f2a8012fb6e3f7a12a98df5040182199139
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Comment 6•5 years ago
|
||
bugherder |
Description
•