Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Unified Diff: LayoutTests/fast/dom/MutationObserver/observe-childList.html

Issue 12317072: Merge 143386 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/MutationObserver/observe-childList.html
===================================================================
--- LayoutTests/fast/dom/MutationObserver/observe-childList.html (revision 143754)
+++ LayoutTests/fast/dom/MutationObserver/observe-childList.html (working copy)
@@ -24,7 +24,7 @@
mutations = null;
div = document.createElement('div');
- observer = new WebKitMutationObserver(function(m) {
+ observer = new MutationObserver(function(m) {
mutations = m;
});
@@ -84,7 +84,7 @@
mutations = null;
div = document.createElement('div');
- observer = new WebKitMutationObserver(function(m) {
+ observer = new MutationObserver(function(m) {
mutations = m;
});
@@ -113,7 +113,7 @@
calls = 0;
mutations = null;
div = document.createElement('div');
- observer = new WebKitMutationObserver(function(m) {
+ observer = new MutationObserver(function(m) {
mutations = m;
calls++;
});
@@ -154,10 +154,10 @@
debug('Testing that multiple observers can be registered to a given node and both receive mutations.');
mutations = null;
div = document.createElement('div');
- observer = new WebKitMutationObserver(function(m) {
+ observer = new MutationObserver(function(m) {
mutations = m;
});
- observer2 = new WebKitMutationObserver(function(m) {
+ observer2 = new MutationObserver(function(m) {
mutations2 = m;
});
observer.observe(div, { childList: true });
@@ -192,7 +192,7 @@
div.innerHTML = '<span>Foo</span><div>Bar</div>';
removedDiv1 = div.firstChild;
removedDiv2 = removedDiv1.nextSibling;
- observer = new WebKitMutationObserver(function(m) {
+ observer = new MutationObserver(function(m) {
mutations = m;
});
@@ -250,7 +250,7 @@
div.innerHTML = '<span>Foo</span><div>Bar</div>';
removedDiv1 = div.firstChild;
- observer = new WebKitMutationObserver(function(m) {
+ observer = new MutationObserver(function(m) {
mutations = m;
});
@@ -315,7 +315,7 @@
addedDiv1 = fragment.appendChild(document.createElement('div'));
addedDiv2 = fragment.appendChild(document.createElement('div'));
- observer = new WebKitMutationObserver(function(m) {
+ observer = new MutationObserver(function(m) {
mutations = m;
});
@@ -356,7 +356,7 @@
addedDiv1 = fragment.appendChild(document.createElement('div'));
addedDiv2 = fragment.appendChild(document.createElement('div'));
- observer = new WebKitMutationObserver(function(m) {
+ observer = new MutationObserver(function(m) {
mutations = m;
});
@@ -387,7 +387,7 @@
var div = document.createElement('div');
mutations = null;
- observer = new WebKitMutationObserver(function(mutations) {
+ observer = new MutationObserver(function(mutations) {
window.mutations = mutations;
});
observer.observe(div, {childList: true});

Powered by Google App Engine
This is Rietveld 408576698