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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/webusb/idlharness.https-expected.txt

Issue 2789723003: Migrate WebUSB LayoutTests into external/wpt (Closed)
Patch Set: Addressed comments from ortuno@ and foolip@ 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
(Empty)
1 This is a testharness.js-based test.
2 PASS Navigator interface: attribute usb
3 PASS Navigator must be primary interface of navigator
4 PASS Stringification of navigator
5 PASS Navigator interface: navigator must inherit property "usb" with the proper type (0)
6 PASS USB interface: existence and properties of interface object
7 PASS USB interface object length
8 PASS USB interface object name
9 FAIL USB interface: existence and properties of interface prototype object asser t_equals: class string of USB.prototype expected "[object USBPrototype]" but got "[object USB]"
10 PASS USB interface: existence and properties of interface prototype object's "co nstructor" property
11 PASS USB interface: attribute onconnect
12 PASS USB interface: attribute ondisconnect
13 PASS USB interface: operation getDevices()
14 PASS USB interface: operation requestDevice(USBDeviceRequestOptions)
15 PASS USB must be primary interface of navigator.usb
16 PASS Stringification of navigator.usb
17 PASS USB interface: navigator.usb must inherit property "onconnect" with the pro per type (0)
18 PASS USB interface: navigator.usb must inherit property "ondisconnect" with the proper type (1)
19 PASS USB interface: navigator.usb must inherit property "getDevices" with the pr oper type (2)
20 PASS USB interface: navigator.usb must inherit property "requestDevice" with the proper type (3)
21 PASS USB interface: calling requestDevice(USBDeviceRequestOptions) on navigator. usb with too few arguments must throw TypeError
22 PASS USBConnectionEvent interface: existence and properties of interface object
23 PASS USBConnectionEvent interface object length
24 PASS USBConnectionEvent interface object name
25 FAIL USBConnectionEvent interface: existence and properties of interface prototy pe object assert_equals: class string of USBConnectionEvent.prototype expected " [object USBConnectionEventPrototype]" but got "[object USBConnectionEvent]"
26 PASS USBConnectionEvent interface: existence and properties of interface prototy pe object's "constructor" property
27 PASS USBConnectionEvent interface: attribute device
28 PASS USBConnectionEvent must be primary interface of usbConnectionEvent
29 PASS Stringification of usbConnectionEvent
30 PASS USBConnectionEvent interface: usbConnectionEvent must inherit property "dev ice" with the proper type (0)
31 PASS USBDevice interface: existence and properties of interface object
32 PASS USBDevice interface object length
33 PASS USBDevice interface object name
34 FAIL USBDevice interface: existence and properties of interface prototype object assert_equals: class string of USBDevice.prototype expected "[object USBDeviceP rototype]" but got "[object USBDevice]"
35 PASS USBDevice interface: existence and properties of interface prototype object 's "constructor" property
36 PASS USBDevice interface: attribute usbVersionMajor
37 PASS USBDevice interface: attribute usbVersionMinor
38 PASS USBDevice interface: attribute usbVersionSubminor
39 PASS USBDevice interface: attribute deviceClass
40 PASS USBDevice interface: attribute deviceSubclass
41 PASS USBDevice interface: attribute deviceProtocol
42 PASS USBDevice interface: attribute vendorId
43 PASS USBDevice interface: attribute productId
44 PASS USBDevice interface: attribute deviceVersionMajor
45 PASS USBDevice interface: attribute deviceVersionMinor
46 PASS USBDevice interface: attribute deviceVersionSubminor
47 PASS USBDevice interface: attribute manufacturerName
48 PASS USBDevice interface: attribute productName
49 PASS USBDevice interface: attribute serialNumber
50 PASS USBDevice interface: attribute configuration
51 PASS USBDevice interface: attribute configurations
52 PASS USBDevice interface: attribute opened
53 PASS USBDevice interface: operation open()
54 PASS USBDevice interface: operation close()
55 PASS USBDevice interface: operation selectConfiguration(octet)
56 PASS USBDevice interface: operation claimInterface(octet)
57 PASS USBDevice interface: operation releaseInterface(octet)
58 PASS USBDevice interface: operation selectAlternateInterface(octet,octet)
59 PASS USBDevice interface: operation controlTransferIn(USBControlTransferParamete rs,unsigned short)
60 PASS USBDevice interface: operation controlTransferOut(USBControlTransferParamet ers,BufferSource)
61 PASS USBDevice interface: operation clearHalt(USBDirection,octet)
62 PASS USBDevice interface: operation transferIn(octet,unsigned long)
63 PASS USBDevice interface: operation transferOut(octet,BufferSource)
64 PASS USBDevice interface: operation isochronousTransferIn(octet,[object Object])
65 PASS USBDevice interface: operation isochronousTransferOut(octet,BufferSource,[o bject Object])
66 PASS USBDevice interface: operation reset()
67 PASS USBDevice must be primary interface of usbDevice
68 PASS Stringification of usbDevice
69 PASS USBDevice interface: usbDevice must inherit property "usbVersionMajor" with the proper type (0)
70 PASS USBDevice interface: usbDevice must inherit property "usbVersionMinor" with the proper type (1)
71 PASS USBDevice interface: usbDevice must inherit property "usbVersionSubminor" w ith the proper type (2)
72 PASS USBDevice interface: usbDevice must inherit property "deviceClass" with the proper type (3)
73 PASS USBDevice interface: usbDevice must inherit property "deviceSubclass" with the proper type (4)
74 PASS USBDevice interface: usbDevice must inherit property "deviceProtocol" with the proper type (5)
75 PASS USBDevice interface: usbDevice must inherit property "vendorId" with the pr oper type (6)
76 PASS USBDevice interface: usbDevice must inherit property "productId" with the p roper type (7)
77 PASS USBDevice interface: usbDevice must inherit property "deviceVersionMajor" w ith the proper type (8)
78 PASS USBDevice interface: usbDevice must inherit property "deviceVersionMinor" w ith the proper type (9)
79 PASS USBDevice interface: usbDevice must inherit property "deviceVersionSubminor " with the proper type (10)
80 PASS USBDevice interface: usbDevice must inherit property "manufacturerName" wit h the proper type (11)
81 PASS USBDevice interface: usbDevice must inherit property "productName" with the proper type (12)
82 PASS USBDevice interface: usbDevice must inherit property "serialNumber" with th e proper type (13)
83 PASS USBDevice interface: usbDevice must inherit property "configuration" with t he proper type (14)
84 PASS USBDevice interface: usbDevice must inherit property "configurations" with the proper type (15)
85 PASS USBDevice interface: usbDevice must inherit property "opened" with the prop er type (16)
86 PASS USBDevice interface: usbDevice must inherit property "open" with the proper type (17)
87 PASS USBDevice interface: usbDevice must inherit property "close" with the prope r type (18)
88 PASS USBDevice interface: usbDevice must inherit property "selectConfiguration" with the proper type (19)
89 PASS USBDevice interface: calling selectConfiguration(octet) on usbDevice with t oo few arguments must throw TypeError
90 PASS USBDevice interface: usbDevice must inherit property "claimInterface" with the proper type (20)
91 PASS USBDevice interface: calling claimInterface(octet) on usbDevice with too fe w arguments must throw TypeError
92 PASS USBDevice interface: usbDevice must inherit property "releaseInterface" wit h the proper type (21)
93 PASS USBDevice interface: calling releaseInterface(octet) on usbDevice with too few arguments must throw TypeError
94 PASS USBDevice interface: usbDevice must inherit property "selectAlternateInterf ace" with the proper type (22)
95 PASS USBDevice interface: calling selectAlternateInterface(octet,octet) on usbDe vice with too few arguments must throw TypeError
96 PASS USBDevice interface: usbDevice must inherit property "controlTransferIn" wi th the proper type (23)
97 PASS USBDevice interface: calling controlTransferIn(USBControlTransferParameters ,unsigned short) on usbDevice with too few arguments must throw TypeError
98 PASS USBDevice interface: usbDevice must inherit property "controlTransferOut" w ith the proper type (24)
99 PASS USBDevice interface: calling controlTransferOut(USBControlTransferParameter s,BufferSource) on usbDevice with too few arguments must throw TypeError
100 PASS USBDevice interface: usbDevice must inherit property "clearHalt" with the p roper type (25)
101 PASS USBDevice interface: calling clearHalt(USBDirection,octet) on usbDevice wit h too few arguments must throw TypeError
102 PASS USBDevice interface: usbDevice must inherit property "transferIn" with the proper type (26)
103 PASS USBDevice interface: calling transferIn(octet,unsigned long) on usbDevice w ith too few arguments must throw TypeError
104 PASS USBDevice interface: usbDevice must inherit property "transferOut" with the proper type (27)
105 PASS USBDevice interface: calling transferOut(octet,BufferSource) on usbDevice w ith too few arguments must throw TypeError
106 PASS USBDevice interface: usbDevice must inherit property "isochronousTransferIn " with the proper type (28)
107 PASS USBDevice interface: calling isochronousTransferIn(octet,[object Object]) o n usbDevice with too few arguments must throw TypeError
108 PASS USBDevice interface: usbDevice must inherit property "isochronousTransferOu t" with the proper type (29)
109 PASS USBDevice interface: calling isochronousTransferOut(octet,BufferSource,[obj ect Object]) on usbDevice with too few arguments must throw TypeError
110 PASS USBDevice interface: usbDevice must inherit property "reset" with the prope r type (30)
111 PASS USBInTransferResult interface: existence and properties of interface object
112 PASS USBInTransferResult interface object length
113 PASS USBInTransferResult interface object name
114 FAIL USBInTransferResult interface: existence and properties of interface protot ype object assert_equals: class string of USBInTransferResult.prototype expected "[object USBInTransferResultPrototype]" but got "[object USBInTransferResult]"
115 PASS USBInTransferResult interface: existence and properties of interface protot ype object's "constructor" property
116 PASS USBInTransferResult interface: attribute data
117 PASS USBInTransferResult interface: attribute status
118 PASS USBInTransferResult must be primary interface of new USBInTransferResult("o k")
119 PASS Stringification of new USBInTransferResult("ok")
120 PASS USBInTransferResult interface: new USBInTransferResult("ok") must inherit p roperty "data" with the proper type (0)
121 PASS USBInTransferResult interface: new USBInTransferResult("ok") must inherit p roperty "status" with the proper type (1)
122 PASS USBOutTransferResult interface: existence and properties of interface objec t
123 PASS USBOutTransferResult interface object length
124 PASS USBOutTransferResult interface object name
125 FAIL USBOutTransferResult interface: existence and properties of interface proto type object assert_equals: class string of USBOutTransferResult.prototype expect ed "[object USBOutTransferResultPrototype]" but got "[object USBOutTransferResul t]"
126 PASS USBOutTransferResult interface: existence and properties of interface proto type object's "constructor" property
127 PASS USBOutTransferResult interface: attribute bytesWritten
128 PASS USBOutTransferResult interface: attribute status
129 PASS USBOutTransferResult must be primary interface of new USBOutTransferResult( "ok")
130 PASS Stringification of new USBOutTransferResult("ok")
131 PASS USBOutTransferResult interface: new USBOutTransferResult("ok") must inherit property "bytesWritten" with the proper type (0)
132 PASS USBOutTransferResult interface: new USBOutTransferResult("ok") must inherit property "status" with the proper type (1)
133 PASS USBIsochronousInTransferPacket interface: existence and properties of inter face object
134 PASS USBIsochronousInTransferPacket interface object length
135 PASS USBIsochronousInTransferPacket interface object name
136 FAIL USBIsochronousInTransferPacket interface: existence and properties of inter face prototype object assert_equals: class string of USBIsochronousInTransferPac ket.prototype expected "[object USBIsochronousInTransferPacketPrototype]" but go t "[object USBIsochronousInTransferPacket]"
137 PASS USBIsochronousInTransferPacket interface: existence and properties of inter face prototype object's "constructor" property
138 PASS USBIsochronousInTransferPacket interface: attribute data
139 PASS USBIsochronousInTransferPacket interface: attribute status
140 PASS USBIsochronousInTransferPacket must be primary interface of new USBIsochron ousInTransferPacket("ok")
141 PASS Stringification of new USBIsochronousInTransferPacket("ok")
142 PASS USBIsochronousInTransferPacket interface: new USBIsochronousInTransferPacke t("ok") must inherit property "data" with the proper type (0)
143 PASS USBIsochronousInTransferPacket interface: new USBIsochronousInTransferPacke t("ok") must inherit property "status" with the proper type (1)
144 PASS USBIsochronousInTransferResult interface: existence and properties of inter face object
145 PASS USBIsochronousInTransferResult interface object length
146 PASS USBIsochronousInTransferResult interface object name
147 FAIL USBIsochronousInTransferResult interface: existence and properties of inter face prototype object assert_equals: class string of USBIsochronousInTransferRes ult.prototype expected "[object USBIsochronousInTransferResultPrototype]" but go t "[object USBIsochronousInTransferResult]"
148 PASS USBIsochronousInTransferResult interface: existence and properties of inter face prototype object's "constructor" property
149 PASS USBIsochronousInTransferResult interface: attribute data
150 PASS USBIsochronousInTransferResult interface: attribute packets
151 PASS USBIsochronousInTransferResult must be primary interface of new USBIsochron ousInTransferResult([])
152 PASS Stringification of new USBIsochronousInTransferResult([])
153 PASS USBIsochronousInTransferResult interface: new USBIsochronousInTransferResul t([]) must inherit property "data" with the proper type (0)
154 PASS USBIsochronousInTransferResult interface: new USBIsochronousInTransferResul t([]) must inherit property "packets" with the proper type (1)
155 PASS USBIsochronousOutTransferPacket interface: existence and properties of inte rface object
156 PASS USBIsochronousOutTransferPacket interface object length
157 PASS USBIsochronousOutTransferPacket interface object name
158 FAIL USBIsochronousOutTransferPacket interface: existence and properties of inte rface prototype object assert_equals: class string of USBIsochronousOutTransferP acket.prototype expected "[object USBIsochronousOutTransferPacketPrototype]" but got "[object USBIsochronousOutTransferPacket]"
159 PASS USBIsochronousOutTransferPacket interface: existence and properties of inte rface prototype object's "constructor" property
160 PASS USBIsochronousOutTransferPacket interface: attribute bytesWritten
161 PASS USBIsochronousOutTransferPacket interface: attribute status
162 PASS USBIsochronousOutTransferPacket must be primary interface of new USBIsochro nousOutTransferPacket("ok")
163 PASS Stringification of new USBIsochronousOutTransferPacket("ok")
164 PASS USBIsochronousOutTransferPacket interface: new USBIsochronousOutTransferPac ket("ok") must inherit property "bytesWritten" with the proper type (0)
165 PASS USBIsochronousOutTransferPacket interface: new USBIsochronousOutTransferPac ket("ok") must inherit property "status" with the proper type (1)
166 PASS USBIsochronousOutTransferResult interface: existence and properties of inte rface object
167 PASS USBIsochronousOutTransferResult interface object length
168 PASS USBIsochronousOutTransferResult interface object name
169 FAIL USBIsochronousOutTransferResult interface: existence and properties of inte rface prototype object assert_equals: class string of USBIsochronousOutTransferR esult.prototype expected "[object USBIsochronousOutTransferResultPrototype]" but got "[object USBIsochronousOutTransferResult]"
170 PASS USBIsochronousOutTransferResult interface: existence and properties of inte rface prototype object's "constructor" property
171 PASS USBIsochronousOutTransferResult interface: attribute packets
172 PASS USBIsochronousOutTransferResult must be primary interface of new USBIsochro nousOutTransferResult([])
173 PASS Stringification of new USBIsochronousOutTransferResult([])
174 PASS USBIsochronousOutTransferResult interface: new USBIsochronousOutTransferRes ult([]) must inherit property "packets" with the proper type (0)
175 PASS USBConfiguration interface: existence and properties of interface object
176 PASS USBConfiguration interface object length
177 PASS USBConfiguration interface object name
178 FAIL USBConfiguration interface: existence and properties of interface prototype object assert_equals: class string of USBConfiguration.prototype expected "[obj ect USBConfigurationPrototype]" but got "[object USBConfiguration]"
179 PASS USBConfiguration interface: existence and properties of interface prototype object's "constructor" property
180 PASS USBConfiguration interface: attribute configurationValue
181 PASS USBConfiguration interface: attribute configurationName
182 PASS USBConfiguration interface: attribute interfaces
183 PASS USBConfiguration must be primary interface of usbConfiguration
184 PASS Stringification of usbConfiguration
185 PASS USBConfiguration interface: usbConfiguration must inherit property "configu rationValue" with the proper type (0)
186 PASS USBConfiguration interface: usbConfiguration must inherit property "configu rationName" with the proper type (1)
187 PASS USBConfiguration interface: usbConfiguration must inherit property "interfa ces" with the proper type (2)
188 PASS USBInterface interface: existence and properties of interface object
189 PASS USBInterface interface object length
190 PASS USBInterface interface object name
191 FAIL USBInterface interface: existence and properties of interface prototype obj ect assert_equals: class string of USBInterface.prototype expected "[object USBI nterfacePrototype]" but got "[object USBInterface]"
192 PASS USBInterface interface: existence and properties of interface prototype obj ect's "constructor" property
193 PASS USBInterface interface: attribute interfaceNumber
194 PASS USBInterface interface: attribute alternate
195 PASS USBInterface interface: attribute alternates
196 PASS USBInterface interface: attribute claimed
197 PASS USBInterface must be primary interface of usbInterface
198 PASS Stringification of usbInterface
199 PASS USBInterface interface: usbInterface must inherit property "interfaceNumber " with the proper type (0)
200 PASS USBInterface interface: usbInterface must inherit property "alternate" with the proper type (1)
201 PASS USBInterface interface: usbInterface must inherit property "alternates" wit h the proper type (2)
202 PASS USBInterface interface: usbInterface must inherit property "claimed" with t he proper type (3)
203 PASS USBAlternateInterface interface: existence and properties of interface obje ct
204 PASS USBAlternateInterface interface object length
205 PASS USBAlternateInterface interface object name
206 FAIL USBAlternateInterface interface: existence and properties of interface prot otype object assert_equals: class string of USBAlternateInterface.prototype expe cted "[object USBAlternateInterfacePrototype]" but got "[object USBAlternateInte rface]"
207 PASS USBAlternateInterface interface: existence and properties of interface prot otype object's "constructor" property
208 PASS USBAlternateInterface interface: attribute alternateSetting
209 PASS USBAlternateInterface interface: attribute interfaceClass
210 PASS USBAlternateInterface interface: attribute interfaceSubclass
211 PASS USBAlternateInterface interface: attribute interfaceProtocol
212 PASS USBAlternateInterface interface: attribute interfaceName
213 PASS USBAlternateInterface interface: attribute endpoints
214 PASS USBAlternateInterface must be primary interface of usbAlternateInterface
215 PASS Stringification of usbAlternateInterface
216 PASS USBAlternateInterface interface: usbAlternateInterface must inherit propert y "alternateSetting" with the proper type (0)
217 PASS USBAlternateInterface interface: usbAlternateInterface must inherit propert y "interfaceClass" with the proper type (1)
218 PASS USBAlternateInterface interface: usbAlternateInterface must inherit propert y "interfaceSubclass" with the proper type (2)
219 PASS USBAlternateInterface interface: usbAlternateInterface must inherit propert y "interfaceProtocol" with the proper type (3)
220 PASS USBAlternateInterface interface: usbAlternateInterface must inherit propert y "interfaceName" with the proper type (4)
221 PASS USBAlternateInterface interface: usbAlternateInterface must inherit propert y "endpoints" with the proper type (5)
222 PASS USBEndpoint interface: existence and properties of interface object
223 PASS USBEndpoint interface object length
224 PASS USBEndpoint interface object name
225 FAIL USBEndpoint interface: existence and properties of interface prototype obje ct assert_equals: class string of USBEndpoint.prototype expected "[object USBEnd pointPrototype]" but got "[object USBEndpoint]"
226 PASS USBEndpoint interface: existence and properties of interface prototype obje ct's "constructor" property
227 PASS USBEndpoint interface: attribute endpointNumber
228 PASS USBEndpoint interface: attribute direction
229 PASS USBEndpoint interface: attribute type
230 PASS USBEndpoint interface: attribute packetSize
231 PASS USBEndpoint must be primary interface of usbEndpoint
232 PASS Stringification of usbEndpoint
233 PASS USBEndpoint interface: usbEndpoint must inherit property "endpointNumber" w ith the proper type (0)
234 PASS USBEndpoint interface: usbEndpoint must inherit property "direction" with t he proper type (1)
235 PASS USBEndpoint interface: usbEndpoint must inherit property "type" with the pr oper type (2)
236 PASS USBEndpoint interface: usbEndpoint must inherit property "packetSize" with the proper type (3)
237 Harness: the test ran to completion.
238
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698