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

Unified Diff: LayoutTests/fast/dom/null-chardata-crash.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/null-chardata-crash.html
diff --git a/LayoutTests/fast/dom/null-chardata-crash.html b/LayoutTests/fast/dom/null-chardata-crash.html
index 1e853690235786a32b45b2f4446c9ed82b852f11..e1be5a7ad8e2422c35857393fc426cb68fda0a7d 100644
--- a/LayoutTests/fast/dom/null-chardata-crash.html
+++ b/LayoutTests/fast/dom/null-chardata-crash.html
@@ -5,7 +5,7 @@
if (window.testRunner)
window.testRunner.dumpAsText();
- var o = document.createTextNode();
+ var o = document.createTextNode('');
try {
o.data = null;
o.splitText(1);
« no previous file with comments | « LayoutTests/fast/dom/normalize-attributes-mutation-event-crash.html ('k') | LayoutTests/fast/dom/wrapper-classes.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698