1Test setting the hash attribute of the URL in HTMLAnchorElement. 2 3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". 4 5 6Hash value does not start with '#' 7PASS a.href is 'https://www.mydomain.com:8080/path/testurl.html#hash-value' 8Hash value starts with '#' 9PASS a.href is 'file:///path/testurl.html#hash_value' 10'?' in hash value 11PASS a.href is 'http://www.mydomain.com/path/testurl.html#hash?value' 12'#' in hash value, and illegal characters in hostname 13PASS a.href is 'https://www.my"d(){}|~om?ain#com/path/testurl.html#middle' 14Set hash to null 15PASS a.href is 'https://www.mydomain.com/path/testurl.html#' 16Set hash to empty string 17PASS a.href is 'https://www.mydomain.com/path/testurl.html#' 18Add hash to mailto: protocol 19PASS a.href is 'mailto:e-mail_address@goes_here#hash-value' 20Add hash to file: protocol 21PASS a.href is 'file:///some%20path#hash value' 22Set hash to '#' 23PASS a.href is 'http://mydomain.com/#' 24Add hash to non-standard protocol 25PASS a.href is 'foo:bar#hash' 26PASS successfullyParsed is true 27 28TEST COMPLETE 29 30