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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/webusb/resources/fake-devices.js

Issue 2789723003: Migrate WebUSB LayoutTests into external/wpt (Closed)
Patch Set: Created 3 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 unified diff | Download patch
OLDNEW
1 'use strict'; 1 'use strict';
2 2
3 function fakeUsbDevices() { 3 function fakeUsbDevices() {
4 return define('Fake USB Devices', [ 4 return define('Fake USB Devices', [
ortuno 2017/04/03 01:47:19 This is chrome specific so I don't think we can up
Reilly Grant (use Gerrit) 2017/04/05 18:39:37 Good catch. I forgot to remove that when I switche
5 'device/usb/public/interfaces/device.mojom', 5 'device/usb/public/interfaces/device.mojom',
6 ], device => Promise.resolve([ 6 ], device => Promise.resolve([
7 { 7 {
8 guid: 'CD9FA048-FC9B-7A71-DBFC-FD44B78D6397', 8 guid: 'CD9FA048-FC9B-7A71-DBFC-FD44B78D6397',
9 usb_version_major: 2, 9 usb_version_major: 2,
10 usb_version_minor: 0, 10 usb_version_minor: 0,
11 usb_version_subminor: 0, 11 usb_version_subminor: 0,
12 class_code: 7, 12 class_code: 7,
13 subclass_code: 1, 13 subclass_code: 1,
14 protocol_code: 2, 14 protocol_code: 2,
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 }, { 201 }, {
202 endpointNumber: 1, 202 endpointNumber: 1,
203 direction: 'out', 203 direction: 'out',
204 type: 'isochronous', 204 type: 'isochronous',
205 packetSize: 1024 205 packetSize: 1024
206 }] 206 }]
207 }] 207 }]
208 }] 208 }]
209 }] 209 }]
210 }; 210 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698