| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
var gTestfile = 'regress-352870-02.js'; |
| 7 |
|
| 8 |
var BUGNUMBER = 352870; |
| 9 |
var summary = 'Do not assert for crazy huge gTestcases'; |
| 10 |
var actual = ''; |
| 11 |
var expect = ''; |
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
test(); |
| 16 |
|
| 17 |
|
| 18 |
function test() |
| 19 |
{ |
| 20 |
enterFunc ('test'); |
| 21 |
printBugNumber(BUGNUMBER); |
| 22 |
printStatus (summary); |
| 23 |
|
| 24 |
expect = /TypeError: \[1, 2, 3, 4\].g (has no properties|is undefined)/; |
| 25 |
actual = ''; |
| 26 |
try |
| 27 |
{ |
| 28 |
switch(4) { case [(let (y = [].j(5)) ({})) |
| 29 |
for (p in ([1,2,3,4].g).v({},((w).y(z, <x/>))))]: } } |
| 30 |
catch(ex) |
| 31 |
{ |
| 32 |
actual = ex + ''; |
| 33 |
} |
| 34 |
reportMatch(expect, actual, summary); |
| 35 |
|
| 36 |
exitFunc ('test'); |
| 37 |
} |