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

Unified Diff: LayoutTests/fast/dom/shadow/set-attribute-in-shadow-crash.html

Issue 758173002: Make arguments to NamedNodeMap methods non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tests Created 6 years, 1 month 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/shadow/set-attribute-in-shadow-crash.html
diff --git a/LayoutTests/fast/dom/shadow/set-attribute-in-shadow-crash.html b/LayoutTests/fast/dom/shadow/set-attribute-in-shadow-crash.html
index 102fcaa258ef6339395811f7d7f341a3f455ce09..195dc900c4c732248c3b2527b5f1dd6573892e6c 100644
--- a/LayoutTests/fast/dom/shadow/set-attribute-in-shadow-crash.html
+++ b/LayoutTests/fast/dom/shadow/set-attribute-in-shadow-crash.html
@@ -9,7 +9,7 @@ var root = host.createShadowRoot();
root.innerHTML = '<div></div>';
var elem = root.firstChild;
elem.id = 'bar';
-var attr = elem.attributes.item();
+var attr = elem.attributes.item(0);
attr.value = 'bar';
var doc2 = document.implementation.createHTMLDocument('Doc 2');
doc2.adoptNode(attr);
« no previous file with comments | « LayoutTests/fast/dom/script-tests/non-numeric-values-numeric-parameters.js ('k') | Source/core/dom/NamedNodeMap.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698