commit | 3a7f1e35efc1b70975193ec4b475e74b59bdf63c | [log] [tgz] |
---|---|---|
author | reillyg <reillyg@chromium.org> | Wed Nov 11 02:27:58 2015 |
committer | Commit bot <commit-bot@chromium.org> | Wed Nov 11 02:28:38 2015 |
tree | f210160d69c10a4d6f412cf8125549cf135f522a | |
parent | 9e4606bced2fa16bd64212c836754c7fc7f1fe59 [diff] |
Require secure contexts and user gestures to use WebUSB. Adds checks in Blink to only allow secure contexts to call getDevices and requestDevice. As requestDevice also displays a permission prompt it also requires a user gesture. BUG=492204 Review URL: https://codereview.chromium.org/1419213006 Cr-Commit-Position: refs/heads/master@{#359021}