commit | e708cef743e4245064bafb701cf78a97106fa59a | [log] [tgz] |
---|---|---|
author | reillyg <reillyg@chromium.org> | Tue Dec 15 08:21:53 2015 |
committer | Commit bot <commit-bot@chromium.org> | Tue Dec 15 08:22:52 2015 |
tree | 3767a8d4df4991e44fb4367d55397d5802e2f8fd | |
parent | 8693c05028f9a67271b277b60f594aedb6ae2cd4 [diff] |
Match WebUSB errors more closely to the specificiation. This change updates USBError to generate the set of DOMExceptions used in the WebUSB specification and updates WebUSBClientImpl and WebUSBDeviceImpl to generate them where possible. At this point accurate errors are limited by the granularity of the results returned by the Mojo interface. BUG=492204 Review URL: https://codereview.chromium.org/1521803002 Cr-Commit-Position: refs/heads/master@{#365209}