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

Unified Diff: LayoutTests/fast/dom/normalize-attributes-mutation-event-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/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()
« no previous file with comments | « LayoutTests/fast/dom/node-iterator-reference-node-moved-crash.html ('k') | LayoutTests/fast/dom/null-chardata-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698