Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / js / script-tests / recursion-limit-equal.js
blobfac4a0091b7d82caed7ddaf0201816277f4ceec6
1 description('Tests hitting the recursion limit with equality comparisons. At one point this crashed due to lack of exception checking inside the engine.');
3 ch = 0;
5 function test()
7 if (ch == 0)
8 ch = document.getElementsByTagName('html');
9 test();
12 debug('If the test did not crash, it has passed.');
13 debug('');
15 shouldThrow("test()");