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

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: Add README.md and more comments explaining the polyfill Created 3 years, 6 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 let fakeDeviceInit = { 3 let fakeDeviceInit = {
4 usbVersionMajor: 2, 4 usbVersionMajor: 2,
5 usbVersionMinor: 0, 5 usbVersionMinor: 0,
6 usbVersionSubminor: 0, 6 usbVersionSubminor: 0,
7 deviceClass: 7, 7 deviceClass: 7,
8 deviceSubclass: 1, 8 deviceSubclass: 1,
9 deviceProtocol: 2, 9 deviceProtocol: 2,
10 vendorId: 0x18d1, 10 vendorId: 0x18d1,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 }, { 81 }, {
82 endpointNumber: 1, 82 endpointNumber: 1,
83 direction: 'out', 83 direction: 'out',
84 type: 'isochronous', 84 type: 'isochronous',
85 packetSize: 1024 85 packetSize: 1024
86 }] 86 }]
87 }] 87 }]
88 }] 88 }]
89 }] 89 }]
90 }; 90 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698