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); |