New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 598115 link

Starred by 0 users

Issue metadata

Status: Fixed
Owner:
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug

Blocked on:
issue 43394
issue 335019
issue 525660



Sign in to add a comment

[Presentation API] WebIDL test failures for receiving UA

Project Member Reported by mfo...@chromium.org, Mar 25 2016

Issue description

Version: 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)

 
Blockedon: 43394
Blockedon: 335019

Comment 3 by sko...@chromium.org, Mar 30 2016

Status: Available (was: Untriaged)

Comment 4 by mfo...@chromium.org, May 12 2016

Cc: mfo...@chromium.org

Comment 5 by mfo...@chromium.org, Jul 28 2016

Blockedon: 525660
Cc: -mfo...@chromium.org -imch...@chromium.org mcheng@chromium.org
Owner: mfo...@chromium.org
Status: Assigned (was: Available)
I'll take a look at these again after we get the API up to spec.

Comment 6 by mfo...@chromium.org, Sep 29 2016

Labels: -PresentationAPI1UA PresentationAPI

Comment 7 by mfo...@chromium.org, Mar 24 2017

Labels: -PresentationAPI
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

Comment 9 by mfo...@chromium.org, Oct 24 2017

Status: Fixed (was: Assigned)
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