зеркало из https://github.com/mozilla/pjs.git
JavaScript Test - modify expected exit code for shell out of memory conditions, bug 358975
This commit is contained in:
Родитель
9e116a126d
Коммит
9872961e42
|
@ -49,7 +49,7 @@ if (typeof document == 'undefined')
|
|||
{
|
||||
printStatus ("Expect possible out of memory error");
|
||||
expectExitCode(0);
|
||||
expectExitCode(3);
|
||||
expectExitCode(5);
|
||||
}
|
||||
var str = '<fu>x</fu>';
|
||||
|
||||
|
|
|
@ -121,7 +121,8 @@ var actual = 'No Crash';
|
|||
printBugNumber(bug);
|
||||
printStatus(summary);
|
||||
|
||||
expectExitCode(3);
|
||||
expectExitCode(5);
|
||||
|
||||
var IN_RHINO = inRhino();
|
||||
|
||||
if (!IN_RHINO)
|
||||
|
|
|
@ -43,7 +43,8 @@ var expect = 'No Crash';
|
|||
printBugNumber (bug);
|
||||
printStatus (summary);
|
||||
printStatus('This bug passes if no crash occurs');
|
||||
expectExitCode(3);
|
||||
|
||||
expectExitCode(5);
|
||||
|
||||
var s=String.fromCharCode(257);
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ printBugNumber (bug);
|
|||
printStatus (summary);
|
||||
|
||||
expectExitCode(0);
|
||||
expectExitCode(3);
|
||||
expectExitCode(5);
|
||||
|
||||
var nestingLevel = 1000;
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ printBugNumber (bug);
|
|||
printStatus (summary);
|
||||
|
||||
expectExitCode(0);
|
||||
expectExitCode(3);
|
||||
expectExitCode(5);
|
||||
|
||||
if ("AB".match(/(.*?)*?B/))
|
||||
{
|
||||
|
|
|
@ -49,7 +49,7 @@ printBugNumber (bug);
|
|||
printStatus (summary);
|
||||
|
||||
expectExitCode(0);
|
||||
expectExitCode(3);
|
||||
expectExitCode(5);
|
||||
|
||||
var s = "";
|
||||
s = "abcd";
|
||||
|
|
Загрузка…
Ссылка в новой задаче