tizen beta release
[framework/web/webkit-efl.git] / LayoutTests / fast / js / script-tests / recursion-limit-equal.js
1 description('Tests hitting the recursion limit with equality comparisons. At one point this crashed due to lack of exception checking inside the engine.');
2
3 ch = 0;
4
5 function test()
6 {
7     if (ch == 0)
8         ch = document.getElementsByTagName('html');
9     test();
10 }
11
12 debug('If the test did not crash, it has passed.');
13 debug('');
14
15 shouldThrow("test()");
16