Lines Matching refs:hostname
1 description('Test setting the hostname attribute of the URL in HTMLAnchorElement.');
7 a.hostname = "www.otherdomain.com";
12 debug("Extra slashes before hostname");
14 a.hostname = "//www.otherdomain.com";
21 debug("Set hostname to URL with foo: protocol");
23 a.hostname = "www.otherdomain.com";
27 // Firefox 3.5.2 allows setting the hostname to null, which is wrong per
29 debug("Set hostname to null");
31 a.hostname = null;
37 debug("Set hostname to empty string");
39 a.hostname = "";
43 debug("Set hostname to URL with 2 colons");
45 a.hostname = "mydomain.com";
49 // IE8 encodes the space in the hostname.
51 // the new hostname.
52 debug("Set a hostname that contains space in it");
54 a.hostname = "www.other domain.com";
59 debug("Set hostname on a local file");
61 a.hostname= "a";
67 debug("Set hostname to undefined");
69 a.hostname = undefined;