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

Unified Diff: LayoutTests/svg/dom/vkern-element-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
« no previous file with comments | « LayoutTests/pointer-lock/pointer-lock-api.html ('k') | Source/core/dom/Document.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/dom/vkern-element-crash.html
diff --git a/LayoutTests/svg/dom/vkern-element-crash.html b/LayoutTests/svg/dom/vkern-element-crash.html
index 80a3940047b2b2341049fb95b7ac948b4970e683..6ac1d52778645287a724dd520ccc48d67bd1f72e 100644
--- a/LayoutTests/svg/dom/vkern-element-crash.html
+++ b/LayoutTests/svg/dom/vkern-element-crash.html
@@ -17,15 +17,15 @@ gc = window.gc || function()
window.onload = function()
{
- element1 = document.body.appendChild(document.createElement());
+ element1 = document.body.appendChild(document.createElement('x'));
element1.id = "foo";
parent = document.createElementNS("http://www.w3.org/2000/svg", "vkern");
- element2 = parent.appendChild(document.createElement());
+ element2 = parent.appendChild(document.createElement('x'));
element2.id = "foo";
document.body.appendChild(parent);
- element3 = document.body.appendChild(document.createElement());
+ element3 = document.body.appendChild(document.createElement('x'));
element3.id = "foo";
document.body.removeChild(element1);
« no previous file with comments | « LayoutTests/pointer-lock/pointer-lock-api.html ('k') | Source/core/dom/Document.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698