DescriptionMove 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)."
Committed: https://crrev.com/403af928b91df81acac1fc3b27fc093f2eb6da24
Cr-Commit-Position: refs/heads/master@{#391090}
Patch Set 1 #Patch Set 2 : merge TOT #
Total comments: 2
Patch Set 3 : correct content/public/common/content_features.h #Messages
Total messages: 17 (8 generated)
|