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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/remote-playback/idlharness-expected.txt

Issue 2862423002: [RemotePlayback] Added IDL harness WebPlatform test for RemotePlayback API. (Closed)
Patch Set: Created 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 This is a testharness.js-based test.
2 PASS HTMLMediaElement interface: attribute remote
3 PASS HTMLMediaElement interface: attribute disableRemotePlayback
4 FAIL HTMLMediaElement must be primary interface of [object HTMLUnknownElement] a ssert_equals: [object HTMLUnknownElement]'s prototype is not HTMLMediaElement.pr ototype expected object "[object HTMLMediaElement]" but got object "[object HTML UnknownElement]"
foolip 2017/05/08 14:58:03 This is because of <media> in the test instead of
whywhat 2017/05/08 17:31:45 TBH I'm confused about this. <media> is not a vali
foolip 2017/05/08 20:15:42 <media> isn't a known HTML element, so it ends up
5 FAIL Stringification of [object HTMLUnknownElement] assert_equals: class string of [object HTMLUnknownElement] expected "[object HTMLMediaElement]" but got "[ob ject HTMLUnknownElement]"
6 FAIL HTMLMediaElement interface: [object HTMLUnknownElement] must inherit proper ty "remote" with the proper type (0) assert_inherits: property "remote" not foun d in prototype chain
7 FAIL HTMLMediaElement interface: [object HTMLUnknownElement] must inherit proper ty "disableRemotePlayback" with the proper type (1) assert_inherits: property "d isableRemotePlayback" not found in prototype chain
8 FAIL RemotePlayback interface: existence and properties of interface object Cann ot read property 'has_extended_attribute' of undefined
9 PASS RemotePlayback interface object length
10 PASS RemotePlayback interface object name
11 FAIL RemotePlayback interface: existence and properties of interface prototype o bject Cannot read property 'has_extended_attribute' of undefined
12 PASS RemotePlayback interface: existence and properties of interface prototype o bject's "constructor" property
13 PASS RemotePlayback interface: attribute state
14 PASS RemotePlayback interface: attribute onconnecting
15 PASS RemotePlayback interface: attribute onconnect
16 PASS RemotePlayback interface: attribute ondisconnect
17 FAIL RemotePlayback interface: operation watchAvailability(RemotePlaybackAvailab ilityCallback) assert_throws: calling operation with this = null didn't throw Ty peError function "function () {
18 fn.apply(obj, args);
19 }" did not throw
20 FAIL RemotePlayback interface: operation cancelWatchAvailability(long) assert_th rows: calling operation with this = null didn't throw TypeError function "functi on () {
21 fn.apply(obj, args);
22 }" did not throw
23 FAIL RemotePlayback interface: operation prompt() assert_throws: calling operati on with this = null didn't throw TypeError function "function () {
24 fn.apply(obj, args);
25 }" did not throw
26 FAIL RemotePlayback must be primary interface of undefined assert_equals: wrong typeof object expected "object" but got "undefined"
27 FAIL Stringification of undefined assert_equals: wrong typeof object expected "o bject" but got "undefined"
28 FAIL RemotePlayback interface: undefined must inherit property "state" with the proper type (0) assert_equals: wrong typeof object expected "object" but got "un defined"
29 FAIL RemotePlayback interface: undefined must inherit property "onconnecting" wi th the proper type (1) assert_equals: wrong typeof object expected "object" but got "undefined"
30 FAIL RemotePlayback interface: undefined must inherit property "onconnect" with the proper type (2) assert_equals: wrong typeof object expected "object" but got "undefined"
31 FAIL RemotePlayback interface: undefined must inherit property "ondisconnect" wi th the proper type (3) assert_equals: wrong typeof object expected "object" but got "undefined"
32 FAIL RemotePlayback interface: undefined must inherit property "watchAvailabilit y" with the proper type (4) assert_equals: wrong typeof object expected "object" but got "undefined"
33 FAIL RemotePlayback interface: calling watchAvailability(RemotePlaybackAvailabil ityCallback) on undefined with too few arguments must throw TypeError assert_equ als: wrong typeof object expected "object" but got "undefined"
34 FAIL RemotePlayback interface: undefined must inherit property "cancelWatchAvail ability" with the proper type (5) assert_equals: wrong typeof object expected "o bject" but got "undefined"
35 FAIL RemotePlayback interface: calling cancelWatchAvailability(long) on undefine d with too few arguments must throw TypeError assert_equals: wrong typeof object expected "object" but got "undefined"
36 FAIL RemotePlayback interface: undefined must inherit property "prompt" with the proper type (6) assert_equals: wrong typeof object expected "object" but got "u ndefined"
37 Harness: the test ran to completion.
38
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698