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

Unified Diff: sky/tests/mutation-observer/observe-options-character-data.sky

Issue 879733002: Replace createTextNode with new Text(). (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « sky/tests/mutation-observer/observe-characterdata.sky ('k') | sky/tests/mutation-observer/shadow-dom.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/mutation-observer/observe-options-character-data.sky
diff --git a/sky/tests/mutation-observer/observe-options-character-data.sky b/sky/tests/mutation-observer/observe-options-character-data.sky
index 2c37510ae77dcd0ea0ebe4b924f8fa38f41948c6..698abe0732f29f4c15ea2a25d9234d5944d7220e 100644
--- a/sky/tests/mutation-observer/observe-options-character-data.sky
+++ b/sky/tests/mutation-observer/observe-options-character-data.sky
@@ -5,7 +5,7 @@
describe('Test MutationObserver.observe', function() {
it('should respect character data options', function() {
var observer = new MutationObserver(function() {});
- var text = document.createTextNode('0');
+ var text = new Text('0');
observer.observe(text, {characterDataOldValue: true});
text.data = '1';
« no previous file with comments | « sky/tests/mutation-observer/observe-characterdata.sky ('k') | sky/tests/mutation-observer/shadow-dom.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698