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

Side by Side Diff: LayoutTests/fast/dom/shadow/insertion-point-list-menu-crash.html

Issue 10694124: Merge 122082 - Heap-use-after-free in WebCore::RenderObject::destroyAndCleanupAnonymousWrappers (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1180/
Patch Set: Created 8 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 jsTestIsAsync = true; 8 jsTestIsAsync = true;
9 function boom() { 9 function boom() {
10 var div = document.createElement('div'); 10 var div = document.createElement('div');
11 11
12 var older = new WebKitShadowRoot(div); 12 var older = new WebKitShadowRoot(div);
13 older.appendChild(document.createElement('div')); 13 older.appendChild(document.createElement('div'));
14 document.documentElement.appendChild(div); 14 document.documentElement.appendChild(div);
15 15
16 var younger = new WebKitShadowRoot(div); 16 var younger = new WebKitShadowRoot(div);
17 var select = document.createElement('select'); 17 var select = document.createElement('select');
18 var shadow = document.createElement('shadow'); 18 var shadow = document.createElement('shadow');
19 select.appendChild(shadow); 19 select.appendChild(shadow);
20 younger.appendChild(select); 20 younger.appendChild(select);
21 21
22 testPassed("unless crash"); 22 testPassed("unless crash");
23 finishJSTest(); 23 finishJSTest();
24 } 24 }
25 window.onload = boom; 25 window.onload = boom;
26 </script> 26 </script>
27 </body> 27 </body>
28 </html> 28 </html>
OLDNEW
« no previous file with comments | « LayoutTests/ChangeLog ('k') | LayoutTests/fast/dom/shadow/insertion-point-list-menu-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698