[WebHID] Change some interfaces to dictionaries
This CL changes HIDCollectionInfo, HIDReportInfo, and HIDReportItem interfaces to dictionaries for easier logging with JSON and to avoid polluting the window web namespace. Spec: https://github.com/WICG/webhid/issues/22 Test: https://webhid-collections.glitch.me/ Change-Id: Ife8d089505312bba9f42e5d8fb1c466f44bd8e45 Bug: 890096 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2398541Reviewed-by:Matt Reynolds <mattreynolds@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Commit-Queue: François Beaufort <beaufort.francois@gmail.com> Cr-Commit-Position: refs/heads/master@{#812626}
Showing
This diff is collapsed.
Please register or sign in to comment