diff options
author | reillyg <reillyg@chromium.org> | 2016-03-15 12:47:06 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-15 19:48:11 +0000 |
commit | cc9b0c5fa36368bb012b4b4d572ada52ceb1146b (patch) | |
tree | 5cd24491c7188fb4702d69a9e08053ad3c53eb16 /third_party/WebKit/LayoutTests/usb/resources/fake-devices.js | |
parent | 8b58c0d445772371cba4da0000f78917a12c79bc (diff) | |
download | chromium_src-cc9b0c5fa36368bb012b4b4d572ada52ceb1146b.zip chromium_src-cc9b0c5fa36368bb012b4b4d572ada52ceb1146b.tar.gz chromium_src-cc9b0c5fa36368bb012b4b4d572ada52ceb1146b.tar.bz2 |
Track USB device configuration state in Blink.
Blink now tracks the currently selected device configuration and can
thus provide it as an IDL attribute without a getConfiguration() method
which has been removed.
This continues the trend of being able to handle errors in Blink before
calling methods on the Mojo interface.
BUG=593164
R=juncai@chromium.org
TBR=dgozman@chromium.org
Review URL: https://codereview.chromium.org/1784733002
Cr-Commit-Position: refs/heads/master@{#381288}
Diffstat (limited to 'third_party/WebKit/LayoutTests/usb/resources/fake-devices.js')
-rw-r--r-- | third_party/WebKit/LayoutTests/usb/resources/fake-devices.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/WebKit/LayoutTests/usb/resources/fake-devices.js b/third_party/WebKit/LayoutTests/usb/resources/fake-devices.js index cccea0b..5783f25 100644 --- a/third_party/WebKit/LayoutTests/usb/resources/fake-devices.js +++ b/third_party/WebKit/LayoutTests/usb/resources/fake-devices.js @@ -20,6 +20,7 @@ function fakeUsbDevices() { manufacturer_name: 'Google, Inc.', product_name: 'The amazing imaginary printer', serial_number: '4', + active_configuration: 0, configurations: [ { configuration_value: 1, |