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

Unified Diff: third_party/WebKit/LayoutTests/usb/resources/usb-helpers.js

Issue 1963183003: WebUSB: Remove guid property from USBDevice. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update webexposed. Created 4 years, 7 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 | « no previous file | third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/usb/resources/usb-helpers.js
diff --git a/third_party/WebKit/LayoutTests/usb/resources/usb-helpers.js b/third_party/WebKit/LayoutTests/usb/resources/usb-helpers.js
index 3a91fd5448791b8894aa56811b0a621d636df762..dcafa8d74e12b7e5fac79cbf9fd8060e38eea2ea 100644
--- a/third_party/WebKit/LayoutTests/usb/resources/usb-helpers.js
+++ b/third_party/WebKit/LayoutTests/usb/resources/usb-helpers.js
@@ -41,7 +41,6 @@ function usbMocks(mojo) {
'device/usb/public/interfaces/device.mojom',
], (bindings, connection, chooserService, deviceManager, device) => {
function assertDeviceInfoEquals(device, info) {
- assert_equals(device.guid, info.guid);
assert_equals(device.usbVersionMajor, info.usb_version_major);
assert_equals(device.usbVersionMinor, info.usb_version_minor);
assert_equals(device.usbVersionSubminor, info.usb_version_subminor);
@@ -339,6 +338,7 @@ function usbMocks(mojo) {
this.mockDevices_.forEach(device => {
for (var stub of device.stubs)
bindings.StubBindings(stub).close();
+ this.client_.onDeviceRemoved(device.info);
});
this.mockDevices_.clear();
}
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698