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

Unified Diff: LayoutTests/fast/dom/Element/normalize-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/Element/normalize-crash.html
diff --git a/LayoutTests/fast/dom/Element/normalize-crash.html b/LayoutTests/fast/dom/Element/normalize-crash.html
deleted file mode 100644
index 9aa77c7afa7a4fbb781db0231c61b7859ac8fd87..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/Element/normalize-crash.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<p>This test passes if it does not crash.</p>
-<div id="test1"></div>
-<script>
-if (window.testRunner)
- testRunner.dumpAsText();
-
-var elem = document.getElementById("test1");
-
-function go()
-{
- var str = "c";
- for (var i = 0; i < 0x10000; i++)
- var b = str + str;
-}
-
-function handler()
-{
- elem.removeAttribute("b");
- go();
-}
-
-elem.setAttribute("b", "a");
-elem.attributes[0].appendChild(document.createTextNode("hi"));
-elem.attributes[0].addEventListener("DOMSubtreeModified", handler, false);
-elem.normalize();
-</script>

Powered by Google App Engine
This is Rietveld 408576698