Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Issue 1842643004: Add --disable-webusb-security flag for testing existing devices. (Closed)

Created:
4 years, 8 months ago by Reilly Grant (use Gerrit)
Modified:
4 years, 8 months ago
Reviewers:
Peter Kasting, estark
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add --disable-webusb-security flag for testing existing devices. This flag disables checking of the WebUSB allowed origins descriptors that implement a CORS-like mechanism to secure origin to device communications. This is intended for early adopters testing their existing devices with WebUSB before they can update their firmware or the public device registry (issue 598765) is implemented. BUG=598763 Committed: https://crrev.com/344e0fd8d4c91ca9244055b27b521c24a08020cb Cr-Commit-Position: refs/heads/master@{#384098}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Renamed and refactored FindInWebUsbAllowedOrigins. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -9 lines) Patch
M chrome/browser/ui/startup/bad_flags_prompt.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/usb/usb_chooser_bubble_controller.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/usb/usb_chooser_bubble_controller.cc View 1 3 chunks +14 lines, -9 lines 0 comments Download
M chrome/browser/usb/web_usb_permission_provider.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
Reilly Grant (use Gerrit)
pkasting@ for an OWNERS review. estark@ for a security review.
4 years, 8 months ago (2016-03-29 20:23:58 UTC) #2
Peter Kasting
LGTM since it seems like this flag has a deprecation plan. https://codereview.chromium.org/1842643004/diff/1/chrome/browser/usb/usb_chooser_bubble_controller.cc File chrome/browser/usb/usb_chooser_bubble_controller.cc (right): ...
4 years, 8 months ago (2016-03-29 23:29:31 UTC) #3
estark
lgtm but can you clarify the deprecation plan? Specifically, I imagine that even once the ...
4 years, 8 months ago (2016-03-30 00:45:18 UTC) #4
Reilly Grant (use Gerrit)
On 2016/03/30 at 00:45:18, estark wrote: > lgtm but can you clarify the deprecation plan? ...
4 years, 8 months ago (2016-03-30 17:32:42 UTC) #5
estark
On 2016/03/30 17:32:42, Reilly Grant wrote: > On 2016/03/30 at 00:45:18, estark wrote: > > ...
4 years, 8 months ago (2016-03-30 17:34:03 UTC) #6
Reilly Grant (use Gerrit)
https://codereview.chromium.org/1842643004/diff/1/chrome/browser/usb/usb_chooser_bubble_controller.cc File chrome/browser/usb/usb_chooser_bubble_controller.cc (right): https://codereview.chromium.org/1842643004/diff/1/chrome/browser/usb/usb_chooser_bubble_controller.cc#newcode36 chrome/browser/usb/usb_chooser_bubble_controller.cc:36: return device::FindInWebUsbAllowedOrigins(allowed_origins, origin); On 2016/03/29 at 23:29:31, Peter Kasting ...
4 years, 8 months ago (2016-03-30 20:26:43 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1842643004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1842643004/20001
4 years, 8 months ago (2016-03-30 20:27:08 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-03-30 21:36:15 UTC) #11
commit-bot: I haz the power
4 years, 8 months ago (2016-03-30 21:37:46 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/344e0fd8d4c91ca9244055b27b521c24a08020cb
Cr-Commit-Position: refs/heads/master@{#384098}

Powered by Google App Engine
This is Rietveld 408576698