set-href-attribute-prevents-rebase-expected.txt revision a94275402997c11dd2e778633dacf4b7e630a35d
1Tests that when an href attribute is set, the href is no longer subject to updates to the document base URI.
2
3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6Search attribute, update document base URI without attribute having been set
7PASS a.href is 'http://new_base/?search'
8Search attribute, update document base URI after attribute has been set
9PASS a.href is 'http://old_base/?search'
10
11Pathname attribute, update document base URI without attribute having been set
12PASS a.href is 'http://new_base/path'
13Pathname attribute, update document base URI after attribute has been set
14PASS a.href is 'http://old_base/path'
15
16Hash attribute, update document base URI without attribute having been set
17PASS a.href is 'http://new_base/#hash'
18Pathname attribute, update document base URI after attribute has been set
19PASS a.href is 'http://old_base/#hash'
20
21Note 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.
22
23Host attribute, update document base URI without attribute having been set
24PASS a.href is 'http://host:0/'
25Host attribute, update document base URI after attribute has been set
26PASS a.href is 'http://host:0/'
27
28Hostname attribute, update document base URI without attribute having been set
29PASS a.href is 'http://host/'
30Hostname attribute, update document base URI after attribute has been set
31PASS a.href is 'http://host/'
32
33Protocol attribute, update document base URI without attribute having been set
34PASS a.href is 'protocol:'
35Protocol attribute, update document base URI after attribute has been set
36PASS a.href is 'protocol:'
37
38Port attribute, update document base URI without attribute having been set
39PASS a.href is 'http://host:0/'
40Port attribute, update document base URI after attribute has been set
41PASS a.href is 'http://host:0/'
42
43PASS successfullyParsed is true
44
45TEST COMPLETE
46
47