Skip to content

Commit

Permalink
fix the ordering of expected MutationRecords,
Browse files Browse the repository at this point in the history
  • Loading branch information
Olli Pettay authored and jgraham committed Dec 2, 2015
1 parent 4551cf9 commit 85cc9ed
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions dom/nodes/MutationObserver-document.html
Expand Up @@ -48,20 +48,20 @@ <h1>MutationObservers: document mutations</h1>
function () {
checkRecords(document, sequence,
[{type: "childList",
addedNodes: function () {
return [ document.getElementById("inserted_script") ];
},
target: function () {
return document.getElementById("n00");
}},
{type: "childList",
addedNodes: function () {
return [ document.getElementById("inserted_element") ];
},
previousSibling: function () {
return document.getElementById("s002");
},
target: document.body},
{type: "childList",
addedNodes: function () {
return [ document.getElementById("inserted_script") ];
},
target: function () {
return document.getElementById("n00");
}}
target: document.body}
]);
});
}
Expand Down

0 comments on commit 85cc9ed

Please sign in to comment.