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

Unified Diff: LayoutTests/fast/dom/MutationObserver/observe-characterdata.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-characterdata.html
===================================================================
--- LayoutTests/fast/dom/MutationObserver/observe-characterdata.html (revision 143754)
+++ LayoutTests/fast/dom/MutationObserver/observe-characterdata.html (working copy)
@@ -27,7 +27,7 @@
div = document.createElement('div');
div.textContent = 'foo';
charDataNode = div.firstChild;
- observer = new WebKitMutationObserver(function(m) {
+ observer = new MutationObserver(function(m) {
mutations = m;
});
@@ -87,7 +87,7 @@
div = document.createElement('div');
div.textContent = 'hello';
charDataNode = div.firstChild;
- observer = new WebKitMutationObserver(function(m) {
+ observer = new MutationObserver(function(m) {
mutations = m;
});
@@ -117,10 +117,10 @@
div = document.createElement('div');
div.textContent = 'foo';
charDataNode = div.firstChild;
- 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(charDataNode, {characterData: true});
@@ -161,7 +161,7 @@
subDiv.textContent = 'foo';
charDataNode = subDiv.firstChild;
- observer = new WebKitMutationObserver(function(m) {
+ observer = new MutationObserver(function(m) {
mutations = m;
});
@@ -202,7 +202,7 @@
div = document.createElement('div');
div.textContent = 'foo';
charDataNode = div.firstChild;
- observer = new WebKitMutationObserver(function(mutations) {
+ observer = new MutationObserver(function(mutations) {
window.mutations = mutations;
});
observer.observe(charDataNode, {characterData: true, characterDataOldValue: true});
@@ -239,10 +239,10 @@
div = document.createElement('div');
div.textContent = 'foo';
charDataNode = div.firstChild;
- observerWithOldValue = new WebKitMutationObserver(function(mutations) {
+ observerWithOldValue = new MutationObserver(function(mutations) {
window.mutationsWithOldValue = mutations;
});
- observer = new WebKitMutationObserver(function(mutations) {
+ observer = new MutationObserver(function(mutations) {
window.mutations = mutations;
});
observerWithOldValue.observe(charDataNode, {characterData: true, characterDataOldValue: true});
@@ -277,7 +277,7 @@
div = document.createElement('div');
div.textContent = 'foo';
charDataNode = div.firstChild;
- observer = new WebKitMutationObserver(function(mutations) {
+ observer = new MutationObserver(function(mutations) {
window.mutations = mutations;
});
observer.observe(div, {characterData: true, characterDataOldValue: true, subtree: true});

Powered by Google App Engine
This is Rietveld 408576698