Index: LayoutTests/fast/dom/normalize-attributes-mutation-event-crash.html |
diff --git a/LayoutTests/fast/dom/normalize-attributes-mutation-event-crash.html b/LayoutTests/fast/dom/normalize-attributes-mutation-event-crash.html |
index de791d9987a1597c6019e1306a4ac3b75772a2e8..815ec67d05a86d30e462bfe8365dd4c4bbf7c666 100644 |
--- a/LayoutTests/fast/dom/normalize-attributes-mutation-event-crash.html |
+++ b/LayoutTests/fast/dom/normalize-attributes-mutation-event-crash.html |
@@ -12,7 +12,7 @@ description("Tests that mutating an elements attribute map during DOMSubtreeModi |
var el = document.createElement('div') |
el.setAttribute('a', 'a') |
el.setAttribute('b', 'b') |
-el.attributes[1].appendChild(document.createTextNode()) |
+el.attributes[1].appendChild(document.createTextNode('')) |
el.attributes[1].addEventListener('DOMSubtreeModified', function() { el.removeAttribute('b') }, false) |
el.normalize() |