blob: 8bb0f371a82959b07d0972ad72f87a0db897d35c [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