Lines Matching refs:href
1 description('Test setting the href attribute of an HTMLAnchorElement to a URL with leading and trailing whitespace.');
5 debug("Set href that starts with a space");
6 a.href = " https://www.mydomain.com/path/testurl.html?key=value";
9 debug("Set href that starts with a newline");
10 a.href = "\nhttps://www.mydomain.com/path/testurl.html?key=value";
13 debug("Set href that starts with a tab");
14 a.href = "\thttps://www.mydomain.com/path/testurl.html?key=value";
17 debug("Set href that starts with a carriage return");
18 a.href = "\rhttps://www.mydomain.com/path/testurl.html?key=value";
21 debug("Set href that starts with a combination of newlines, spaces and tabs");
22 a.href = "\n \t\r \nhttps://www.mydomain.com/path/testurl.html?key=value";
25 debug("Set href that ends with a space");
26 a.href = "https://www.mydomain.com/path/testurl.html?key=value ";
29 debug("Set href that ends with a newline");
30 a.href = "https://www.mydomain.com/path/testurl.html?key=value\n";
33 debug("Set href that ends with a tab");
34 a.href = "https://www.mydomain.com/path/testurl.html?key=value\t";
37 debug("Set href that ends with a carriage return");
38 a.href = "https://www.mydomain.com/path/testurl.html?key=value\r";
41 debug("Set href that ends with a combination of newlines, spaces and tabs");
42 a.href = "https://www.mydomain.com/path/testurl.html?key=value\n \t\r \n";
45 debug("Set href that starts and ends with a combination of newlines, spaces and tabs");
46 a.href = "\n \t\r \nhttps://www.mydomain.com/path/testurl.html?key=value\n \t\r \n";