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

Issue 669273 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

[PresentationAPI] Dismissing dialog from PresentationRequest.start() throws AbortError instead of NotAllowedError

Project Member Reported by mfo...@chromium.org, Nov 28 2016

Issue description

Version:  57.0.2935.0 canary (64-bit)
OS: Mac OS X 10.10

What steps will reproduce the problem?
(1) Visit https://rawgit.com/mfoltzgoogle/web-platform-tests/single-presentation-url/presentation-api/controlling-ua/startNewPresentation_sandboxing_success-manual.html
(2) Click Start Presentation Test
(3) Dismiss the MR dialog

What is the expected result?
Test passes

What happens instead?
Test fails:

assert_equals: Presentation could not be started from nested frame. expected "success" but got "AbortError"
    at Test.<anonymous> (http://web-platform.test:8000/presentation-api/controlling-ua/startNewPresentation_sandboxing_success-manual.html:24:17)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:1403:25)
    at http://web-platform.test:8000/resources/testharness.js:1427:35

Notes:

The test is expecting start() to reject with NotAllowedError when the dialog is dismissed.

https://github.com/mfoltzgoogle/web-platform-tests/blob/single-presentation-url/presentation-api/controlling-ua/support/iframe.html#L26


 
Cc: vadimgo@chromium.org
Vadim, a change in the SDK will be needed, I think it relies on AbortError now in cast_api.js
Status: Fixed (was: Available)

Sign in to add a comment