Test 160

Input: "http://foo:-80/"

Base: "about:blank"

Results

agent href exception
refimpl http://foo:-80/ Invalid port number
addressable Invalid port number: "-80"
chrome http://foo:-80/
firefox http://foo:-80/
galimatias http://foo:-80/ Illegal character in port
ie Invalid argument.
nodejs http://foo/:-80/
opera http://foo:-80/
perl http://foo:-80/
rust http://foo:-80/ invalid port number
safari http://foo:-80/

Properties

agent protocol hostname port pathname
refimpl :
addressable :
chrome : 0
firefox http:
galimatias :
ie Invalid argument. Invalid argument. Invalid argument. Invalid argument.
nodejs http: foo /:-80/
opera opera: illegal-url-124
perl http: foo:-80 /
rust :
safari :

User Agents

refimpl: reference-implementation @ Sat Dec 06 2014 22:03:08 GMT-0500 (EST)

addressable: addressable (2.3.6)

chrome: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.65 Safari/537.36

firefox: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0

galimatias: galimatias-0.2.0

ie: Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv:11.0) like Gecko

nodejs: node.js 0.10.26

opera: Opera/9.80 (Macintosh; Intel Mac OS X 10.9.5) Presto/2.12.388 Version/12.16

perl: Perl URI version 1.60

rust: url 0.2.2 (git+https://github.com/servo/rust-url)

safari: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/600.1.17 (KHTML, like Gecko) Version/7.1 Safari/537.85.10