JavaScript Test - enclose statement in function definition, bug 351606

This commit is contained in:
bclary%bclary.com 2006-10-01 19:52:04 +00:00
Родитель e91b545b50
Коммит c2c7401401
1 изменённых файлов: 4 добавлений и 5 удалений

Просмотреть файл

@ -36,16 +36,15 @@
* ***** END LICENSE BLOCK ***** */
//-----------------------------------------------------------------------------
var bug = 351496;
var summary = 'decompilation of nested for..in and throw';
var actual = '';
var expect = '';
var summary = 'Do not assert with nested for..in and throw';
var actual = 'No Crash';
var expect = 'No Crash';
enterFunc ('test');
printBugNumber (bug);
printStatus (summary);
for (let d in [1,2,3,4]) try { for (let a in [5,6,7,8]) (( function() { throw 9; } )()); } catch(c) { }
function () {for (let d in [1,2,3,4]) try { for (let a in [5,6,7,8]) (( function() { throw 9; } )()); } catch(c) { }}
reportCompare(expect, actual, summary);