bug 514139 - e4x/Regress/regress-319872.js allow InternalError: script stack space quota is exhausted

This commit is contained in:
Bob Clary 2009-10-21 06:06:00 -07:00
parent ee7110502b
commit 01e1cd9921

View File

@ -41,7 +41,7 @@ gTestfile = 'regress-319872.js';
var BUGNUMBER = 319872; var BUGNUMBER = 319872;
var summary = 'Do not Crash in jsxml.c'; var summary = 'Do not Crash in jsxml.c';
var actual = 'No Crash'; var actual = 'No Crash';
var expect = 'No Crash'; var expect = /(No Crash|InternalError: script stack space quota is exhausted|InternalError: allocation size overflow)/;
printBugNumber(BUGNUMBER); printBugNumber(BUGNUMBER);
START(summary); START(summary);
@ -71,8 +71,7 @@ try
} }
catch(ex) catch(ex)
{ {
expect = 'InternalError: script stack space quota is exhausted';
actual = ex + ''; actual = ex + '';
print(actual); print(actual);
} }
TEST(1, expect, actual); reportMatch(expect, actual, summary);