1 Test the behavior of multiple base elements.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS clean(anchor.href) is 'http://originalbase.com/file'
7 PASS document.head.appendChild(base), clean(anchor.href) is 'http://domain.com/base/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'
10 PASS document.head.appendChild(base), document.head.appendChild(base2), clean(anchor.href) is 'http://domain.com/base/file'
11 PASS base.removeAttribute('href'), 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