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

Side by Side Diff: LayoutTests/fast/frames/url-selected-crash.html

Issue 9570045: Merge 109369 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 8 years, 9 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/frames/url-selected-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 <body> 3 <body>
4 Test passes if it doesn't crash (may require libgmalloc and repeating) and this line gets erased. 4 Test passes if it doesn't crash (may require libgmalloc and repeating) and this line gets erased.
5 <script> 5 <script>
6 if (window.layoutTestController) { 6 if (window.layoutTestController) {
7 layoutTestController.dumpAsText(); 7 layoutTestController.dumpAsText();
8 layoutTestController.waitUntilDone(); 8 layoutTestController.waitUntilDone();
9 } 9 }
10 var iterationsLeft = 2; 10 var iterationsLeft = 2;
11 function test() 11 function test()
12 { 12 {
13 if (--iterationsLeft) { 13 if (--iterationsLeft) {
14 frames[0].history.go(0); 14 frames[0].history.go(0);
15 } else { 15 } else {
16 document.body.textContent = frames[0].document.body.textContent; 16 document.body.textContent = frames[0].document.body.textContent;
17 if (window.layoutTestController) 17 if (window.layoutTestController)
18 layoutTestController.notifyDone(); 18 layoutTestController.notifyDone();
19 } 19 }
20 } 20 }
21 </script> 21 </script>
22 <iframe onload="test()"></iframe> 22 <iframe onload="test()"></iframe>
23 </body> 23 </body>
24 </html> 24 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/frames/url-selected-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698