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

Issue 669191 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

[PresentationAPI] Calling getAvailability() in a sandboxed <iframe> does not throw SecurityError

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

Issue description

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

What steps will reproduce the problem?
(1) Visit https://rawgit.com/mfoltzgoogle/web-platform-tests/single-presentation-url/presentation-api/controlling-ua/getAvailability_sandboxing_error.html

Expect:
Test to pass

Actual:
Test fails:

assert_equals: Presentation sandboxing did not work as expected. expected "SecurityError" but got "Could not create PresentationRequest"
    at Test.<anonymous> (http://web-platform.test:8000/presentation-api/controlling-ua/getAvailability_sandboxing_error.html:16:21)
    at Test.step (http://web-platform.test:8000/resources/testharness.js:1403:25)
    at http://web-platform.test:8000/resources/testharness.js:1427:35


 

Comment 1 by mfo...@chromium.org, Nov 28 2016

Status: WontFix (was: Untriaged)
Summary: [PresentationAPI] Calling getAvailability() in a sandboxed <iframe> does not throw SecurityError (was: [PresentationAPI] Creating a PresentationRequest in a sandboxed <iframe> does not throw SecurityError)
This was an issue with the test fixture, not our implementation.

Sign in to add a comment