Test

Input: "http://www.google.com/foo?bar=baz# »"

Base: "about:blank"

Results

agent href
whatwg http://www.google.com/foo?bar=baz# %C2%BB
ietf http://www.google.com/foo?bar=baz# »
safari http://www.google.com/foo?bar=baz# %C2%BB
chrome http://www.google.com/foo?bar=baz# »
firefox http://www.google.com/foo?bar=baz#%20%C2%BB
ie http://www.google.com/foo?bar=baz# »
opera http://www.google.com/foo?bar=baz# »

Properties

agent protocol hostname port pathname search hash
whatwg http: www.google.com /foo ?bar=baz # %C2%BB
ietf http: www.google.com /foo ?bar=baz # »
safari http: www.google.com /foo ?bar=baz # %C2%BB
chrome http: www.google.com /foo ?bar=baz # »
firefox http: www.google.com /foo ?bar=baz # »
ie http: www.google.com 80 foo ?bar=baz # »
opera http: www.google.com /foo ?bar=baz # »

User Agents

whatwg: https://github.com/w3c/web-platform-tests/blob/275544eab54a0d0c7f74ccc2baae9711293d8908/url/urltestdata.txt

ietf: addressable (2.3.6)

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

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

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

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

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