Add USB device filter validation and matching tests |
||
Issue descriptionThe WebUSB specification includes an algorithm for validating that a filter is well formed. Implement these checks and add web tests for them. https://wicg.github.io/webusb/#is-not-a-valid-filter
,
Aug 31
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/722c9273de82f119a0c5648e5a37457232bee1a8 commit 722c9273de82f119a0c5648e5a37457232bee1a8 Author: Ovidio Henriquez <odejesush@chromium.org> Date: Fri Aug 31 20:14:02 2018 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 Reviewed-by: Reilly Grant <reillyg@chromium.org> Commit-Queue: Ovidio Henriquez <odejesush@chromium.org> Cr-Commit-Position: refs/heads/master@{#588140} [modify] https://crrev.com/722c9273de82f119a0c5648e5a37457232bee1a8/third_party/WebKit/LayoutTests/external/wpt/webusb/usb.https.window.js [modify] https://crrev.com/722c9273de82f119a0c5648e5a37457232bee1a8/third_party/blink/renderer/modules/webusb/usb.cc
,
Aug 31
|
||
►
Sign in to add a comment |
||
Comment 1 by odejesush@chromium.org
, Aug 20Status: Assigned (was: Available)