| <html> | |
| <head> | |
| <script src="../../resources/js-test.js"></script> | |
| </head> | |
| <body onload='load(1)'> | |
| <script> | |
| description("Regression test for https://bugs.webkit.org/show_bug.cgi?id=30904. This test passes if it doesn't crash."); | |
| // Force a stack-overflow in the console.log | |
| function load(n) { | |
| try { | |
| load(n+1); | |
| } catch(e) { | |
| try { | |
| console.log(); | |
| } catch (g) { | |
| } | |
| } | |
| } | |
| </script> | |
| </body> | |
| </html> |