blob: fac4a0091b7d82caed7ddaf0201816277f4ceec6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
description('Tests hitting the recursion limit with equality comparisons. At one point this crashed due to lack of exception checking inside the engine.');
ch = 0;
function test()
{
if (ch == 0)
ch = document.getElementsByTagName('html');
test();
}
debug('If the test did not crash, it has passed.');
debug('');
shouldThrow("test()");
|