1 Tests that when an href attribute is set, the href is no longer subject to updates to the document base URI.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 Search attribute, update document base URI without attribute having been set
7 PASS a.href is 'http://new_base/?search'
8 Search attribute, update document base URI after attribute has been set
9 PASS a.href is 'http://old_base/?search'
11 Pathname attribute, update document base URI without attribute having been set
12 PASS a.href is 'http://new_base/path'
13 Pathname attribute, update document base URI after attribute has been set
14 PASS a.href is 'http://old_base/path'
16 Hash attribute, update document base URI without attribute having been set
17 PASS a.href is 'http://new_base/#hash'
18 Pathname attribute, update document base URI after attribute has been set
19 PASS a.href is 'http://old_base/#hash'
21 Note that for the following attributes, updating the document base URI has no effect because we have to use an abosulte URL for the href in order to set an initial value for the attribute we wish to update. They are included for completeness.
23 Host attribute, update document base URI without attribute having been set
24 PASS a.href is 'http://host:0/'
25 Host attribute, update document base URI after attribute has been set
26 PASS a.href is 'http://host:0/'
28 Hostname attribute, update document base URI without attribute having been set
29 PASS a.href is 'http://host/'
30 Hostname attribute, update document base URI after attribute has been set
31 PASS a.href is 'http://host/'
33 Protocol attribute, update document base URI without attribute having been set
34 PASS a.href is 'protocol:'
35 Protocol attribute, update document base URI after attribute has been set
36 PASS a.href is 'protocol:'
38 Port attribute, update document base URI without attribute having been set
39 PASS a.href is 'http://host:0/'
40 Port attribute, update document base URI after attribute has been set
41 PASS a.href is 'http://host:0/'
43 PASS successfullyParsed is true