blob: 837c9c380dcb3f307274ea154604ff3196be4b60 [file] [log] [blame]
Testing WebKitMutationObserver.takeRecords
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Testing takeRecords.
...records are taken synchronously.
PASS mutations.length is 2
PASS mutations[0].type is "attributes"
PASS mutations[0].target is subDiv
PASS mutations[0].attributeName is "foo"
PASS mutations[0].attributeNamespace is null
PASS mutations[1].type is "characterData"
PASS mutations[1].target is subDiv.firstChild
...takeRecord took records, but did not clear transient observers
PASS mutations.length is 1
PASS mutations[0].type is "attributes"
PASS mutations[0].target is subDiv
PASS mutations[0].attributeName is "foo"
PASS successfullyParsed is true
TEST COMPLETE