blob: dffbbb33efbced4371fb172af26fd4c1398420ed [file] [log] [blame]
Test MutationEvents interfering with MutationObservers: adding nodes 'out of order'
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS mutations.length is 3
PASS mutations[0].addedNodes.length is 0
PASS mutations[0].removedNodes.length is 1
PASS mutations[0].removedNodes[0].tagName is 'SPAN'
PASS mutations[1].addedNodes.length is 1
PASS mutations[1].removedNodes.length is 0
PASS mutations[1].addedNodes[0].tagName is 'DIV'
PASS mutations[2].addedNodes.length is 1
PASS mutations[2].removedNodes.length is 0
PASS mutations[2].addedNodes[0].nodeValue is 'hello world'
PASS successfullyParsed is true
TEST COMPLETE