tizen beta release
[framework/web/webkit-efl.git] / LayoutTests / fast / dom / HTMLAnchorElement / set-href-attribute-prevents-rebase-expected.txt
1 Tests that when an href attribute is set, the href is no longer subject to updates to the document base URI.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
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'
10
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'
15
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'
20
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.
22
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/'
27
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/'
32
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:'
37
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/'
42
43 PASS successfullyParsed is true
44
45 TEST COMPLETE
46