mirror of
https://github.com/classilla/tenfourfox.git
synced 2025-08-12 01:25:43 +00:00
closes #380: fix toSource() tests
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user