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

Side by Side Diff: LayoutTests/fast/dom/console-log-stack-overflow.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../js/resources/js-test-pre.js"></script> 3 <script src="../js/resources/js-test-pre.js"></script>
4 </head> 4 </head>
5 <body onload='load(1)'> 5 <body onload='load(1)'>
6 6
7 <script> 7 <script>
8 description("Regression test for https://bugs.webkit.org/show_bug.cgi?id=30904. This test passes if it doesn't crash."); 8 description("Regression test for https://bugs.webkit.org/show_bug.cgi?id=30904. This test passes if it doesn't crash.");
9 9
10 // Force a stack-overflow in the console.log 10 // Force a stack-overflow in the console.log
11 function load(n) { 11 function load(n) {
12 try { 12 try {
13 load(n+1); 13 load(n+1);
14 } catch(e) { 14 } catch(e) {
15 try { 15 try {
16 console.log(); 16 console.log();
17 } catch (g) { 17 } catch (g) {
18 } 18 }
19 } 19 }
20 } 20 }
21 </script> 21 </script>
22 <script src="../js/resources/js-test-post.js"></script>
23 </body> 22 </body>
24 </html> 23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698