[Presentation API] WebIDL test failures for receiving UA |
||||||||
Issue descriptionVersion: 51.0.2687.0 OS: All What steps will reproduce the problem? (1) Visit http://w3c-test.org/presentation-api/receiving-ua/idlharness.html What is the expected output? All tests pass What do you see instead? There are 28 test failures. The output is easier to read at the URL above, but copy-pasting here for posterity. Fail Presentation interface: existence and properties of interface prototype object assert_equals: class string of Presentation.prototype expected "[object PresentationPrototype]" but got "[object Presentation]" at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:924:9) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_self (http://w3c-test.org/resources/idlharness.js:828:5) at IdlObject.IdlInterface.test (http://w3c-test.org/resources/idlharness.js:652:14) Fail Presentation interface: attribute receiver assert_true: The prototype object must have a property "receiver" expected true got false at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:1080:13) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_member_attribute (http://w3c-test.org/resources/idlharness.js:1035:5) at IdlObject.IdlInterface.test_members (http://w3c-test.org/resources/idlharness.js:1317:22) at IdlObject.IdlInterface.test (http://w3c-test.org/resources/idlharness.js:661:10) Fail Presentation interface: navigator.presentation must inherit property "receiver" with the proper type (0) assert_inherits: property "receiver" not found in prototype chain at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:1468:25) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_interface_of (http://w3c-test.org/resources/idlharness.js:1462:13) at IdlObject.IdlInterface.test_object (http://w3c-test.org/resources/idlharness.js:1374:27) at .<anonymous> (http://w3c-test.org/resources/idlharness.js:354:36) Fail PresentationConnectionAvailableEvent interface: existence and properties of interface prototype object assert_equals: class string of PresentationConnectionAvailableEvent.prototype expected "[object PresentationConnectionAvailableEventPrototype]" but got "[object PresentationConnectionAvailableEvent]" at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:924:9) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_self (http://w3c-test.org/resources/idlharness.js:828:5) at IdlObject.IdlInterface.test (http://w3c-test.org/resources/idlharness.js:652:14) Fail PresentationConnection interface: existence and properties of interface prototype object assert_equals: class string of PresentationConnection.prototype expected "[object PresentationConnectionPrototype]" but got "[object PresentationConnection]" at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:924:9) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_self (http://w3c-test.org/resources/idlharness.js:828:5) at IdlObject.IdlInterface.test (http://w3c-test.org/resources/idlharness.js:652:14) Fail PresentationConnectionClosedEvent interface: existence and properties of interface object assert_own_property: self does not have own property "PresentationConnectionClosedEvent" expected property "PresentationConnectionClosedEvent" missing at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:689:9) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_self (http://w3c-test.org/resources/idlharness.js:668:5) at IdlObject.IdlInterface.test (http://w3c-test.org/resources/idlharness.js:652:14) at IdlArray.test (http://w3c-test.org/resources/idlharness.js:349:28) Fail PresentationConnectionClosedEvent interface object length assert_own_property: self does not have own property "PresentationConnectionClosedEvent" expected property "PresentationConnectionClosedEvent" missing at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:780:13) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_self (http://w3c-test.org/resources/idlharness.js:776:9) at IdlObject.IdlInterface.test (http://w3c-test.org/resources/idlharness.js:652:14) at IdlArray.test (http://w3c-test.org/resources/idlharness.js:349:28) Fail PresentationConnectionClosedEvent interface object name assert_own_property: self does not have own property "PresentationConnectionClosedEvent" expected property "PresentationConnectionClosedEvent" missing at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:807:13) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_self (http://w3c-test.org/resources/idlharness.js:803:9) at IdlObject.IdlInterface.test (http://w3c-test.org/resources/idlharness.js:652:14) at IdlArray.test (http://w3c-test.org/resources/idlharness.js:349:28) Fail PresentationConnectionClosedEvent interface: existence and properties of interface prototype object assert_own_property: self does not have own property "PresentationConnectionClosedEvent" expected property "PresentationConnectionClosedEvent" missing at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:837:9) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_self (http://w3c-test.org/resources/idlharness.js:828:5) at IdlObject.IdlInterface.test (http://w3c-test.org/resources/idlharness.js:652:14) at IdlArray.test (http://w3c-test.org/resources/idlharness.js:349:28) Fail PresentationConnectionClosedEvent interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "PresentationConnectionClosedEvent" expected property "PresentationConnectionClosedEvent" missing at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:940:9) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_self (http://w3c-test.org/resources/idlharness.js:934:5) at IdlObject.IdlInterface.test (http://w3c-test.org/resources/idlharness.js:652:14) at IdlArray.test (http://w3c-test.org/resources/idlharness.js:349:28) Fail PresentationConnectionClosedEvent interface: attribute reason assert_own_property: self does not have own property "PresentationConnectionClosedEvent" expected property "PresentationConnectionClosedEvent" missing at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:1041:9) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_member_attribute (http://w3c-test.org/resources/idlharness.js:1035:5) at IdlObject.IdlInterface.test_members (http://w3c-test.org/resources/idlharness.js:1317:22) at IdlObject.IdlInterface.test (http://w3c-test.org/resources/idlharness.js:661:10) Fail PresentationConnectionClosedEvent interface: attribute message assert_own_property: self does not have own property "PresentationConnectionClosedEvent" expected property "PresentationConnectionClosedEvent" missing at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:1041:9) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_member_attribute (http://w3c-test.org/resources/idlharness.js:1035:5) at IdlObject.IdlInterface.test_members (http://w3c-test.org/resources/idlharness.js:1317:22) at IdlObject.IdlInterface.test (http://w3c-test.org/resources/idlharness.js:661:10) Fail PresentationReceiver interface: existence and properties of interface object assert_own_property: self does not have own property "PresentationReceiver" expected property "PresentationReceiver" missing at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:689:9) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_self (http://w3c-test.org/resources/idlharness.js:668:5) at IdlObject.IdlInterface.test (http://w3c-test.org/resources/idlharness.js:652:14) at IdlArray.test (http://w3c-test.org/resources/idlharness.js:349:28) Fail PresentationReceiver interface object length assert_own_property: self does not have own property "PresentationReceiver" expected property "PresentationReceiver" missing at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:780:13) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_self (http://w3c-test.org/resources/idlharness.js:776:9) at IdlObject.IdlInterface.test (http://w3c-test.org/resources/idlharness.js:652:14) at IdlArray.test (http://w3c-test.org/resources/idlharness.js:349:28) Fail PresentationReceiver interface object name assert_own_property: self does not have own property "PresentationReceiver" expected property "PresentationReceiver" missing at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:807:13) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_self (http://w3c-test.org/resources/idlharness.js:803:9) at IdlObject.IdlInterface.test (http://w3c-test.org/resources/idlharness.js:652:14) at IdlArray.test (http://w3c-test.org/resources/idlharness.js:349:28) Fail PresentationReceiver interface: existence and properties of interface prototype object assert_own_property: self does not have own property "PresentationReceiver" expected property "PresentationReceiver" missing at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:837:9) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_self (http://w3c-test.org/resources/idlharness.js:828:5) at IdlObject.IdlInterface.test (http://w3c-test.org/resources/idlharness.js:652:14) at IdlArray.test (http://w3c-test.org/resources/idlharness.js:349:28) Fail PresentationReceiver interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "PresentationReceiver" expected property "PresentationReceiver" missing at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:940:9) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_self (http://w3c-test.org/resources/idlharness.js:934:5) at IdlObject.IdlInterface.test (http://w3c-test.org/resources/idlharness.js:652:14) at IdlArray.test (http://w3c-test.org/resources/idlharness.js:349:28) Fail PresentationReceiver interface: attribute connectionList assert_own_property: self does not have own property "PresentationReceiver" expected property "PresentationReceiver" missing at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:1041:9) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_member_attribute (http://w3c-test.org/resources/idlharness.js:1035:5) at IdlObject.IdlInterface.test_members (http://w3c-test.org/resources/idlharness.js:1317:22) at IdlObject.IdlInterface.test (http://w3c-test.org/resources/idlharness.js:661:10) Fail PresentationReceiver must be primary interface of navigator.presentation.receiver assert_equals: wrong typeof object expected "object" but got "undefined" at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:1393:13) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_primary_interface_of (http://w3c-test.org/resources/idlharness.js:1390:9) at IdlObject.IdlInterface.test_object (http://w3c-test.org/resources/idlharness.js:1362:10) at .<anonymous> (http://w3c-test.org/resources/idlharness.js:354:36) Fail Stringification of navigator.presentation.receiver assert_equals: wrong typeof object expected "object" but got "undefined" at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:1415:9) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_primary_interface_of (http://w3c-test.org/resources/idlharness.js:1412:5) at IdlObject.IdlInterface.test_object (http://w3c-test.org/resources/idlharness.js:1362:10) at .<anonymous> (http://w3c-test.org/resources/idlharness.js:354:36) Fail PresentationReceiver interface: navigator.presentation.receiver must inherit property "connectionList" with the proper type (0) assert_equals: wrong typeof object expected "object" but got "undefined" at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:1465:17) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_interface_of (http://w3c-test.org/resources/idlharness.js:1462:13) at IdlObject.IdlInterface.test_object (http://w3c-test.org/resources/idlharness.js:1374:27) at .<anonymous> (http://w3c-test.org/resources/idlharness.js:354:36) Fail PresentationConnectionList interface: existence and properties of interface object assert_own_property: self does not have own property "PresentationConnectionList" expected property "PresentationConnectionList" missing at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:689:9) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_self (http://w3c-test.org/resources/idlharness.js:668:5) at IdlObject.IdlInterface.test (http://w3c-test.org/resources/idlharness.js:652:14) at IdlArray.test (http://w3c-test.org/resources/idlharness.js:349:28) Fail PresentationConnectionList interface object length assert_own_property: self does not have own property "PresentationConnectionList" expected property "PresentationConnectionList" missing at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:780:13) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_self (http://w3c-test.org/resources/idlharness.js:776:9) at IdlObject.IdlInterface.test (http://w3c-test.org/resources/idlharness.js:652:14) at IdlArray.test (http://w3c-test.org/resources/idlharness.js:349:28) Fail PresentationConnectionList interface object name assert_own_property: self does not have own property "PresentationConnectionList" expected property "PresentationConnectionList" missing at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:807:13) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_self (http://w3c-test.org/resources/idlharness.js:803:9) at IdlObject.IdlInterface.test (http://w3c-test.org/resources/idlharness.js:652:14) at IdlArray.test (http://w3c-test.org/resources/idlharness.js:349:28) Fail PresentationConnectionList interface: existence and properties of interface prototype object assert_own_property: self does not have own property "PresentationConnectionList" expected property "PresentationConnectionList" missing at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:837:9) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_self (http://w3c-test.org/resources/idlharness.js:828:5) at IdlObject.IdlInterface.test (http://w3c-test.org/resources/idlharness.js:652:14) at IdlArray.test (http://w3c-test.org/resources/idlharness.js:349:28) Fail PresentationConnectionList interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "PresentationConnectionList" expected property "PresentationConnectionList" missing at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:940:9) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_self (http://w3c-test.org/resources/idlharness.js:934:5) at IdlObject.IdlInterface.test (http://w3c-test.org/resources/idlharness.js:652:14) at IdlArray.test (http://w3c-test.org/resources/idlharness.js:349:28) Fail PresentationConnectionList interface: attribute connections assert_own_property: self does not have own property "PresentationConnectionList" expected property "PresentationConnectionList" missing at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:1041:9) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_member_attribute (http://w3c-test.org/resources/idlharness.js:1035:5) at IdlObject.IdlInterface.test_members (http://w3c-test.org/resources/idlharness.js:1317:22) at IdlObject.IdlInterface.test (http://w3c-test.org/resources/idlharness.js:661:10) Fail PresentationConnectionList interface: attribute onconnectionavailable assert_own_property: self does not have own property "PresentationConnectionList" expected property "PresentationConnectionList" missing at IdlObject.<anonymous> (http://w3c-test.org/resources/idlharness.js:1041:9) at Object.Test.step (http://w3c-test.org/resources/testharness.js:1382:25) at test (http://w3c-test.org/resources/testharness.js:496:18) at IdlObject.IdlInterface.test_member_attribute (http://w3c-test.org/resources/idlharness.js:1035:5) at IdlObject.IdlInterface.test_members (http://w3c-test.org/resources/idlharness.js:1317:22) at IdlObject.IdlInterface.test (http://w3c-test.org/resources/idlharness.js:661:10)
,
Mar 30 2016
,
Mar 30 2016
,
May 12 2016
,
Jul 28 2016
I'll take a look at these again after we get the API up to spec.
,
Sep 29 2016
,
Mar 24 2017
,
Aug 23 2017
It probably is fixed now. mfoltz@ maybe you can test if you have a cast device around? The new test page is http://w3c-test.org/presentation-api/receiving-ua/idlharness-manual.https.html
,
Oct 24 2017
Still one failure:
Fail PresentationReceiver interface: attribute connectionList Illegal invocation
TypeError: Illegal invocation
at IdlInterface.<anonymous> (http://web-platform.test:8001/resources/idlharness.js:1678:62)
at Test.step (http://web-platform.test:8001/resources/testharness.js:1489:25)
at IdlInterface.test_member_attribute (http://web-platform.test:8001/resources/idlharness.js:1615:12)
at IdlInterface.test_members (http://web-platform.test:8001/resources/idlharness.js:2012:22)
at IdlInterface.test (http://web-platform.test:8001/resources/idlharness.js:1059:10)
at self.IdlArray.IdlArray.test (http://web-platform.test:8001/resources/idlharness.js:545:28)
at http://web-platform.test:8001/presentation-api/receiving-ua/support/idlharness_receiving-ua.html:137:19
at http://web-platform.test:8001/presentation-api/receiving-ua/support/idlharness_receiving-ua.html:138:7
I believe this test is asserting that accessing the connectionList attribute on the presentation.receiver prototype rejects. However the harness throws when it tries to access the attribute at all, leading me to believe this is an unimplemented use case in bindings.
Someone with more spare time than me could figure out if there is a more easily reproducible case to file against bindings (I tried reproducing in content_shell with --force-presentation-receiver-for-testing and couldn't).
For now I am marking fixed as all other test cases pass.
|
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by mlamouri@chromium.org
, Mar 30 2016