Move WebUSB from OriginTrialEnabled to RuntimeEnabled.
This reverses commit 5c00cb62536b679d52c3741598d3f08f79e7e32f.
BUG=605326, 492204
TEST=To verify:
On Windows, Chrome OS, Mac OSX:
Check the following with chrome launched without command line flags:
For each site:
https://permission.site
http://permission.site
Load and press the USB button.
Expect in Chrome Developer Tools: Console output:
"Uncaught TypeError: Cannot read property 'requestDevice' of undefined"
Check the following with chrome launched with command line flag:
--enable-blink-features=ExperimentalFramework
For https://permission.site
Load and press the USB button.
Expect a chooser dialog to open.
For http://permission.site
Load and press the USB button.
Expect in Chrome Developer Tools: Console output:
"error usb DOMException: Only secure origins are allowed (see: https://goo.gl/Y0ZkNV)."
Review-Url: https://codereview.chromium.org/1917103004
Cr-Commit-Position: refs/heads/master@{#391090}
18 files changed