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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/external/wpt/remote-playback/idlharness-expected.txt
diff --git a/third_party/WebKit/LayoutTests/external/wpt/remote-playback/idlharness-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/remote-playback/idlharness-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dec28fb8c86f30454e92baf03e9bca844fa17096
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/remote-playback/idlharness-expected.txt
@@ -0,0 +1,38 @@
+This is a testharness.js-based test.
+PASS HTMLMediaElement interface: attribute remote
+PASS HTMLMediaElement interface: attribute disableRemotePlayback
+FAIL HTMLMediaElement must be primary interface of [object HTMLUnknownElement] assert_equals: [object HTMLUnknownElement]'s prototype is not HTMLMediaElement.prototype expected object "[object HTMLMediaElement]" but got object "[object HTMLUnknownElement]"
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
+FAIL Stringification of [object HTMLUnknownElement] assert_equals: class string of [object HTMLUnknownElement] expected "[object HTMLMediaElement]" but got "[object HTMLUnknownElement]"
+FAIL HTMLMediaElement interface: [object HTMLUnknownElement] must inherit property "remote" with the proper type (0) assert_inherits: property "remote" not found in prototype chain
+FAIL HTMLMediaElement interface: [object HTMLUnknownElement] must inherit property "disableRemotePlayback" with the proper type (1) assert_inherits: property "disableRemotePlayback" not found in prototype chain
+FAIL RemotePlayback interface: existence and properties of interface object Cannot read property 'has_extended_attribute' of undefined
+PASS RemotePlayback interface object length
+PASS RemotePlayback interface object name
+FAIL RemotePlayback interface: existence and properties of interface prototype object Cannot read property 'has_extended_attribute' of undefined
+PASS RemotePlayback interface: existence and properties of interface prototype object's "constructor" property
+PASS RemotePlayback interface: attribute state
+PASS RemotePlayback interface: attribute onconnecting
+PASS RemotePlayback interface: attribute onconnect
+PASS RemotePlayback interface: attribute ondisconnect
+FAIL RemotePlayback interface: operation watchAvailability(RemotePlaybackAvailabilityCallback) assert_throws: calling operation with this = null didn't throw TypeError function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+FAIL RemotePlayback interface: operation cancelWatchAvailability(long) assert_throws: calling operation with this = null didn't throw TypeError function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+FAIL RemotePlayback interface: operation prompt() assert_throws: calling operation with this = null didn't throw TypeError function "function () {
+ fn.apply(obj, args);
+ }" did not throw
+FAIL RemotePlayback must be primary interface of undefined assert_equals: wrong typeof object expected "object" but got "undefined"
+FAIL Stringification of undefined assert_equals: wrong typeof object expected "object" but got "undefined"
+FAIL RemotePlayback interface: undefined must inherit property "state" with the proper type (0) assert_equals: wrong typeof object expected "object" but got "undefined"
+FAIL RemotePlayback interface: undefined must inherit property "onconnecting" with the proper type (1) assert_equals: wrong typeof object expected "object" but got "undefined"
+FAIL RemotePlayback interface: undefined must inherit property "onconnect" with the proper type (2) assert_equals: wrong typeof object expected "object" but got "undefined"
+FAIL RemotePlayback interface: undefined must inherit property "ondisconnect" with the proper type (3) assert_equals: wrong typeof object expected "object" but got "undefined"
+FAIL RemotePlayback interface: undefined must inherit property "watchAvailability" with the proper type (4) assert_equals: wrong typeof object expected "object" but got "undefined"
+FAIL RemotePlayback interface: calling watchAvailability(RemotePlaybackAvailabilityCallback) on undefined with too few arguments must throw TypeError assert_equals: wrong typeof object expected "object" but got "undefined"
+FAIL RemotePlayback interface: undefined must inherit property "cancelWatchAvailability" with the proper type (5) assert_equals: wrong typeof object expected "object" but got "undefined"
+FAIL RemotePlayback interface: calling cancelWatchAvailability(long) on undefined with too few arguments must throw TypeError assert_equals: wrong typeof object expected "object" but got "undefined"
+FAIL RemotePlayback interface: undefined must inherit property "prompt" with the proper type (6) assert_equals: wrong typeof object expected "object" but got "undefined"
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698