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

Issue 669207 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

[PresentationAPI] PresentationRequest ctor with an invalid URL does not throw SyntaxError

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?
Visit http://w3c-test.org/presentation-api/controlling-ua/PresentationRequest_error.html

What is the expected result?
Test case #3 passes

What happens instead?
Test case #3 fails

assert_throws: function "function () { new PresentationRequest('http://@'); }" threw object "TypeError: Failed to construct 'PresentationRequest': 'http://@' can't be resolved to a valid URL." that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12
    at Test.<anonymous> (http://w3c-test.org/presentation-api/controlling-ua/PresentationRequest_error.html:23:9)
    at Test.step (http://w3c-test.org/resources/testharness.js:1406:25)
    at test (http://w3c-test.org/resources/testharness.js:501:18)
    at http://w3c-test.org/presentation-api/controlling-ua/PresentationRequest_error.html:22:5


 
Status: Available (was: Untriaged)

Comment 2 by mfo...@chromium.org, Oct 26 2017

Labels: M-64

Comment 3 by mfo...@chromium.org, Oct 26 2017

Owner: mfo...@chromium.org
Status: Assigned (was: Available)

Comment 4 by mfo...@chromium.org, Oct 26 2017

Labels: -M-64
Status: Fixed (was: Assigned)
This has been fixed in the meantime (see Bug 705170 for current WPT tests status).

Sign in to add a comment