mirror of
https://github.com/classilla/tenfourfox.git
synced 2025-02-06 18:30:16 +00:00
closes #380: fix toSource() tests
This commit is contained in:
parent
a008a19784
commit
f9de6783b9
@ -8,7 +8,7 @@
|
||||
var BUGNUMBER = 336409;
|
||||
var summary = 'Integer overflow in js_obj_toSource';
|
||||
var actual = 'No Crash';
|
||||
var expect = 'No Crash';
|
||||
var expect = /(No Crash|InternalError: allocation size overflow|out of memory)/;
|
||||
|
||||
printBugNumber(BUGNUMBER);
|
||||
printStatus (summary);
|
||||
@ -42,9 +42,8 @@ try
|
||||
}
|
||||
catch(ex)
|
||||
{
|
||||
expect = 'InternalError: allocation size overflow';
|
||||
actual = ex + '';
|
||||
print(actual);
|
||||
}
|
||||
|
||||
reportCompare(expect, actual, summary);
|
||||
reportMatch(expect, actual, summary);
|
||||
|
@ -8,7 +8,7 @@
|
||||
var BUGNUMBER = 336410;
|
||||
var summary = 'Integer overflow in array_toSource';
|
||||
var actual = 'No Crash';
|
||||
var expect = 'No Crash';
|
||||
var expect = /(No Crash|InternalError: allocation size overflow|out of memory)/;
|
||||
|
||||
printBugNumber(BUGNUMBER);
|
||||
printStatus (summary);
|
||||
@ -42,10 +42,8 @@ try
|
||||
}
|
||||
catch(ex)
|
||||
{
|
||||
//expect = '\(InternalError: allocation size overflow|out of memory\)';
|
||||
expect = 'InternalError: allocation size overflow';
|
||||
actual = ex + '';
|
||||
print(actual);
|
||||
}
|
||||
|
||||
reportCompare(expect, actual, summary);
|
||||
reportMatch(expect, actual, summary);
|
||||
|
Loading…
x
Reference in New Issue
Block a user