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

Unified Diff: LayoutTests/fast/dom/normalize-attributes-mutation-event-crash.html

Issue 1158433004: Remove Attr child nodes (making Attr a Node, not a ContainerNode) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address feedback Created 5 years, 7 months 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
deleted file mode 100644
index 815ec67d05a86d30e462bfe8365dd4c4bbf7c666..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/normalize-attributes-mutation-event-crash.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<meta charset="utf-8">
-<script src="../../resources/js-test.js"></script>
-</head>
-<body>
-<script>
-
-description("Tests that mutating an elements attribute map during DOMSubtreeModified event dispatch doesn't break Node.normalize. Passes if it doesn't crash.");
-
-var el = document.createElement('div')
-el.setAttribute('a', 'a')
-el.setAttribute('b', 'b')
-el.attributes[1].appendChild(document.createTextNode(''))
-el.attributes[1].addEventListener('DOMSubtreeModified', function() { el.removeAttribute('b') }, false)
-el.normalize()
-
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698