- From: Domenic Denicola <web-platform-tests-notifications@w3.org>
- Date: Fri, 15 Apr 2016 22:06:50 GMT
- To: public-web-platform-tests-notifications@w3.org
I ran this against https://github.com/jsdom/whatwg-url and got the following failures: ``` <a://example.net>.protocol = "bC0+-." <http://example.net>.protocol = "b" Spec deviation: from special scheme to not is not problematic. https://github.com/whatwg/url/issues/104 <ssh://me@example.net>.protocol = "http" Spec deviation: from non-special scheme with a host to special is not problematic. https://github.com/whatwg/url/issues/104 <http://example.net:8080>.host = "example.com:" Port number is removed if empty in the new value: https://github.com/whatwg/url/pull/113 <http://example.net>.host = "" The empty host is not valid for special schemes <view-source+http://example.net/path>.host = "example.com\stuff" \ is not a delimiter for non-special schemes, and it’s invalid in a domain <http://example.net/path>.host = "example.com:65536" Port numbers are 16 bit integers, overflowing is an error. Hostname is still set, though. <http://example.net>.hostname = "" The empty host is not valid for special schemes <view-source+http://example.net/path>.hostname = "example.com\stuff" \ is not a delimiter for non-special schemes, and it’s invalid in a domain <http://example.net:8080>.port = "" Port number is removed if empty in the new value: https://github.com/whatwg/url/pull/113 <http://example.net:8080/path>.port = "65536" Port numbers are 16 bit integers, overflowing is an error ``` Some of these may be bugs in jsdom/whatwg-url; after all, we didn't have tests. Some of them are noted as spect violations already. But some of them seem like potential test bugs. For example, I cannot find any spec support for ``` <http://example.net:8080>.port = "" Port number is removed if empty in the new value ``` View on GitHub: https://github.com/w3c/web-platform-tests/pull/2830#issuecomment-210664545
Received on Friday, 15 April 2016 22:06:57 UTC