Closed
Bug 1459101
Opened 6 years ago
Closed 6 years ago
[wpt-sync] Sync PR 10835 - Add WorkerNavigatorUSB supplement
Categories
(Core :: DOM: Device Interfaces, enhancement, P4)
Core
DOM: Device Interfaces
Tracking
()
RESOLVED
FIXED
mozilla62
Tracking | Status | |
---|---|---|
firefox62 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 10835 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/w3c/web-platform-tests/pull/10835 Details from upstream follow. Ovidio Henriquez <odejesush@chromium.org> wrote: > Add WorkerNavigatorUSB supplement > > This change adds a WorkerNavigatorUSB supplement for WorkerNavigator. > The WorkerNavigatorUSB interface contains a usb attribute that returns > a USB object. The constructor for this USB object was also changed to > use an ExecutionContext* parameter to allow a worker to properly > initialize the object. > > This change also updates the global interface listing tests to reflect > the new attribute that WorkerNavigator contains and adds web platform > tests to check that the WorkerNavigator does indeed have the usb > attribute defined in the supported contexts. > > Due to a bug (https://crbug.com/839117) with the WebIDL bindings > generator, the global-interface-listing-service-worker.html test > exposes the usb attribute of WorkerNavigator. Therefore, a check is > performed in WorkerNavigatorUSB to return a null pointer if the > execution context is a ServiceWorkerGlobalScope, and a web platform test > ensures that this is true when navigator.usb is called in a service > worker. > > Bug: 837414 > Change-Id: I3ca63c9ae0b85e5425134024d2fdd9b29ef7d8c3 > Reviewed-on: https://chromium-review.googlesource.com/1024724 > WPT-Export-Revision: 54a752ca24a6f69ac3905d513cbb0b29e3572bee
Reporter | ||
Updated•6 years ago
|
Component: web-platform-tests → DOM: Device Interfaces
Product: Testing → Core
Reporter | ||
Comment 1•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=313d6dc80953cac516f6a17063940cd00dd6568d
Reporter | ||
Comment 2•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=067a3e3260810cb0bed1473ae123a76d49ed5c74
Reporter | ||
Comment 3•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=33522e9b295e755a75417329569278eec99e1b17
Reporter | ||
Comment 4•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=89f8ece70c41e8bca8acbb745b0abdbc5b12db4e
Reporter | ||
Comment 5•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=68f9f21464aa7806fffeaf0300f8c58eafdf4730
Reporter | ||
Comment 6•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=250a82138089111848edc35e6bfc919255abf34b
Reporter | ||
Comment 7•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=812a3944e41b05cecc83b9199d5583ee1fa15201
Reporter | ||
Comment 8•6 years ago
|
||
Ran 3 tests and 4 subtests OK : 3 PASS : 2 FAIL : 2 New tests that have failures or other problems: /webusb/worker/usb.dedicatedworker.https.html Web workers should have the WebUSB API exposed as defined in the spec.: FAIL /webusb/worker/usb.sharedworker.https.html Web workers should have the WebUSB API exposed as defined in the spec.: FAIL
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/0f48a1bd26e4 [wpt PR 10835] - Add WorkerNavigatorUSB supplement, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/67cf2d929392 [wpt PR 10835] - Update wpt metadata, a=testonly
Comment 10•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0f48a1bd26e4 https://hg.mozilla.org/mozilla-central/rev/67cf2d929392
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox62:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in
before you can comment on or make changes to this bug.
Description
•