[PresentationAPI] PresentationRequest ctor with an invalid URL does not throw SyntaxError |
||||
Issue descriptionVersion: 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
,
Oct 26 2017
,
Oct 26 2017
,
Oct 26 2017
This has been fixed in the meantime (see Bug 705170 for current WPT tests status). |
||||
►
Sign in to add a comment |
||||
Comment 1 by sko...@chromium.org
, Dec 1 2016