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

Side by Side Diff: LayoutTests/fast/dom/body-link-decl-parent-crash.html

Issue 7169001: Merge 88601 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/body-link-decl-parent-crash-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
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 Test passes if it does not crash. 7 Test passes if it does not crash.
8 <div id="console"></div> 8 <div id="console"></div>
9 <script> 9 <script>
10 if (window.layoutTestController) 10 if (window.layoutTestController)
11 layoutTestController.dumpAsText(); 11 layoutTestController.dumpAsText();
12 12
13 iframe1 = document.createElement('iframe'); 13 iframe1 = document.createElement('iframe');
14 document.body.appendChild(iframe1); 14 document.body.appendChild(iframe1);
15 document1 = iframe1.contentDocument.implementation.createHTMLDocument("document" ); 15 document1 = iframe1.contentDocument.implementation.createHTMLDocument("document" );
16 var body1 = document1.body; 16 var body1 = document1.body;
17 document1.alinkColor = "blue"; 17 document1.alinkColor = "blue";
18 document1.body = document1.createElement('body'); 18 document1.body = document1.createElement('body');
19 delete document1; 19 delete document1;
20 gc(); 20 gc();
21 body1.vLink = 1; 21 body1.vLink = 1;
22 22
23 var successfullyParsed = true; 23 var successfullyParsed = true;
24 </script> 24 </script>
25 <script src="../js/resources/js-test-post.js"></script> 25 <script src="../js/resources/js-test-post.js"></script>
26 </body> 26 </body>
27 </html> 27 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/body-link-decl-parent-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698