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

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

Issue 106773003: Make arguments to Document methods non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years 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
diff --git a/LayoutTests/fast/dom/MutationObserver/observe-characterdata.html b/LayoutTests/fast/dom/MutationObserver/observe-characterdata.html
index 0964b3409fa17c6a2421719c73ea247eab2276f1..bbbbdac67dd3b2a51b389eed4f80d4ac0e403b54 100644
--- a/LayoutTests/fast/dom/MutationObserver/observe-characterdata.html
+++ b/LayoutTests/fast/dom/MutationObserver/observe-characterdata.html
@@ -53,7 +53,7 @@ function testBasic() {
debug('...observer.disconnect() should prevent further delivery of mutations.');
shouldBe('mutations', 'null');
- charDataNode = document.createComment();
+ charDataNode = document.createComment('');
observer.observe(charDataNode, { characterData: true });
charDataNode.textContent = 'foo';
charDataNode.textContent = 'bar';

Powered by Google App Engine
This is Rietveld 408576698