1 Testing WebKitMutationObserver.takeRecords
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 ...records are taken synchronously.
8 PASS mutations.length is 2
9 PASS mutations[0].type is "attributes"
10 PASS mutations[0].target is subDiv
11 PASS mutations[0].attributeName is "foo"
12 PASS mutations[0].attributeNamespace is null
13 PASS mutations[1].type is "characterData"
14 PASS mutations[1].target is subDiv.firstChild
15 ...takeRecord took records, but did not clear transient observers
16 PASS mutations.length is 1
17 PASS mutations[0].type is "attributes"
18 PASS mutations[0].target is subDiv
19 PASS mutations[0].attributeName is "foo"
21 PASS successfullyParsed is true