Closed Bug 1487880 Opened 7 years ago Closed 7 years ago

[wpt-sync] Sync PR 12785 - Add validation to the requestDevice filters

Categories

(Core :: DOM: Device Interfaces, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 12785 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/12785 Details from upstream follow. Ovidio Henriquez <odejesush@chromium.org> wrote: > Add validation to the requestDevice filters > > This change adds validation checks to the USBDeviceFilter parameters > passed into navigator.usb.requestDevice. > > Bug: 854703 > Change-Id: I921a7f30a9e2ec5d46d3a74801de594565ab8a6f > Reviewed-on: https://chromium-review.googlesource.com/1196034 > WPT-Export-Revision: b7738d01186ef138892658b7d108da7f5f10f438
PR 12785 applied with additional changes from upstream: 66f7d1eaeb4b4bf6dcce2cec0d730a3a16f44985
Component: web-platform-tests → DOM: Device Interfaces
Product: Testing → Core
Ran 1 tests and 7 subtests OK : 1 FAIL : 7 New tests that have failures or other problems: /webusb/usb.https.window.html requestDevice rejects on invalid filters: FAIL
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/878c07c4f15f [wpt PR 12785] - Add validation to the requestDevice filters, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/a0e2197dcf27 [wpt PR 12785] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.