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

Side by Side Diff: LayoutTests/fast/dom/Element/normalize-crash2.html

Issue 398653003: Fix possible crash in Element::normalizeAttributes() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix fast/dom/normalize-attributes-mutation-event-crash.html failure Created 6 years, 5 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Element/normalize-crash2-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Element/normalize-crash2-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698