Lines Matching refs:protocol
1 description('Test setting the protocol attribute of the URL in HTMLAnchorElement .');
7 a.protocol = "http-foo";
11 debug("Set a protocol that contains ':'");
14 a.protocol = "http:foo";
21 debug("Set a protocol that contains invalid characters");
24 a.protocol = "http^foo";
32 debug("Set a protocol to a URL with invalid host name");
34 a.protocol = "foo";
39 debug("Set a protocol that starts with ':'");
41 a.protocol = ":http";
48 debug("Set protocol to null");
50 a.protocol = null;
55 debug("Set protocol to empty string");
57 a.protocol = "";
64 debug("Set protocol to http on malformed URL");
66 a.protocol = "http";
69 // IE8 keeps the protocol if it is 'c:'.
70 debug("Set protocol to a URL which points to a local file");
72 a.protocol = "f-oo";
75 debug("Set protocol to undefined");
77 a.protocol = undefined;