OLD | NEW |
1 Test the behavior of multiple base elements. | 1 Test the behavior of multiple base elements. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS clean(anchor.href) is 'http://originalbase.com/file' | 6 PASS clean(anchor.href) is 'http://originalbase.com/file' |
7 PASS document.head.appendChild(base), clean(anchor.href) is 'http://domain.com/b
ase/file' | 7 PASS document.head.appendChild(base), clean(anchor.href) is 'http://domain.com/b
ase/file' |
8 PASS base.href = 'http://domain.com/base-changed/', clean(anchor.href) is 'http:
//domain.com/base-changed/file' | 8 PASS base.href = 'http://domain.com/base-changed/', clean(anchor.href) is 'http:
//domain.com/base-changed/file' |
9 PASS document.head.removeChild(base), clean(anchor.href) is 'http://originalbase
.com/file' | 9 PASS document.head.removeChild(base), clean(anchor.href) is 'http://originalbase
.com/file' |
10 PASS document.head.appendChild(base), document.head.appendChild(base2), clean(an
chor.href) is 'http://domain.com/base/file' | 10 PASS document.head.appendChild(base), document.head.appendChild(base2), clean(an
chor.href) is 'http://domain.com/base/file' |
11 PASS base.removeAttribute('href'), clean(anchor.href) is 'http://domain.com/base
2/file' | 11 PASS base.removeAttribute('href'), clean(anchor.href) is 'http://domain.com/base
2/file' |
12 PASS document.head.appendChild(base3), clean(anchor.href) is 'http://domain.com/
base2/file' | 12 PASS document.head.appendChild(base3), clean(anchor.href) is 'http://domain.com/
base2/file' |
13 PASS successfullyParsed is true | 13 PASS successfullyParsed is true |
14 | 14 |
15 TEST COMPLETE | 15 TEST COMPLETE |
16 | 16 |
OLD | NEW |