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

Unified Diff: extensions/test/data/api_test/usb/device_handling/test.js

Issue 1857033002: Include USB device version in chrome.usb.Device fields. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/common/api/usb.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/test/data/api_test/usb/device_handling/test.js
diff --git a/extensions/test/data/api_test/usb/device_handling/test.js b/extensions/test/data/api_test/usb/device_handling/test.js
index 5914f6ab6fb8ce2f512255075f22bdf563eadf05..b1d525285f8141b22f0a6b49be712490533a335d 100644
--- a/extensions/test/data/api_test/usb/device_handling/test.js
+++ b/extensions/test/data/api_test/usb/device_handling/test.js
@@ -11,6 +11,7 @@ function getDevices() {
}, function(devices) {
chrome.test.assertEq(1, devices.length);
var device = devices[0];
+ chrome.test.assertEq(0x0100, device.version);
chrome.test.assertEq("Test Device", device.productName);
chrome.test.assertEq("Test Manufacturer", device.manufacturerName);
chrome.test.assertEq("ABC123", device.serialNumber);
« no previous file with comments | « extensions/common/api/usb.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698