Re: [presentation-api-tests] Fix #3521: changing the expected presentation connection state into "connecting" (#3977)

Thanks, @tidoust

> Since this is a manual test, there needs to be a call somewhere to:
`setup({explicit_timeout: true});`

Sorry, I forgot adding this code. I added this to the tests.

> Another problem here is that there's no code to handle the case where the call to `start` fails.

I changed `async_test` into `promise_test`, and added codes to handle the two cases:
* the case where the call to `start` fails
* the case where `connectionavailable` event is not fired even though the call to `start` does not fail

View on GitHub: https://github.com/w3c/web-platform-tests/pull/3977#issuecomment-254991122

Received on Thursday, 20 October 2016 02:13:04 UTC