Chromium Code Reviews
DescriptionMake navigator.usb open the DeviceManager connection lazily.
This change makes it so that accessing the navigator.usb object does not
automatically cause Blink to connect to the browser process for an
instance of the DeviceManager service. This is useful because it makes
it easier for tests to register a Mojo service override before the
connection is made.
BUG=None
Review-Url: https://codereview.chromium.org/2751173004
Cr-Commit-Position: refs/heads/master@{#457484}
Committed: https://chromium.googlesource.com/chromium/src/+/7f238dd47bf022bc3f40fd64131c5a2784a9da3a
Patch Set 1 #
Total comments: 2
Messages
Total messages: 13 (8 generated)
|
||||||||||||||||||||||||||||