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

Side by Side Diff: LayoutTests/fast/dom/Element/normalize-crash2.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, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../../resources/js-test.js"></script>
3 <div name="testDiv" id="testDiv"></div>
4 <script>
5 description("This test passes if it does not crash.");
6
7 var testDiv = document.getElementById("testDiv");
8 testDiv.attributes[0].appendChild(new Text("test"));
9 testDiv.cloneNode(false);
10 gc();
11 testDiv.normalize();
12 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698