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

Unified Diff: LayoutTests/fast/dom/node-iterator-reference-node-moved-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/node-iterator-reference-node-moved-crash.html
diff --git a/LayoutTests/fast/dom/node-iterator-reference-node-moved-crash.html b/LayoutTests/fast/dom/node-iterator-reference-node-moved-crash.html
index 553ce5649c32bc3c7ed4ccdcb8b606b9e16fab4f..f21aad6b461153fee5cd65ef89cab02d6e7ff86b 100644
--- a/LayoutTests/fast/dom/node-iterator-reference-node-moved-crash.html
+++ b/LayoutTests/fast/dom/node-iterator-reference-node-moved-crash.html
@@ -18,9 +18,9 @@
function runTest()
{
- iteratorRoot = document.createElement();
- element = iteratorRoot.appendChild(document.createElement());
- element.appendChild(document.createElement());
+ iteratorRoot = document.createElement('div');
+ element = iteratorRoot.appendChild(document.createElement('div'));
+ element.appendChild(document.createElement('div'));
iterator = document.createNodeIterator(iteratorRoot, -1);
iterator.nextNode(); iterator.nextNode(); iterator.nextNode();
« no previous file with comments | « LayoutTests/fast/dom/id-attribute-shared.html ('k') | LayoutTests/fast/dom/normalize-attributes-mutation-event-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698