mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 10:33:33 +00:00
Bug 480016 - js/tests/js1_8_1/extensions/regress-477187.js uses timeout() but doesn't expectExitCode(6). r=bc.
--HG-- extra : rebase_source : b95ba1ccbbdf318786e2446276d80885602d574a
This commit is contained in:
parent
0f8f95cbfb
commit
9b66765431
@ -59,15 +59,15 @@ function test()
|
||||
}
|
||||
else
|
||||
{
|
||||
timeout(3);
|
||||
// call reportCompare early here to get a result.
|
||||
// the test will fail if the timeout does not terminate
|
||||
// and the test is forced to TIMED OUT.
|
||||
expectExitCode(6);
|
||||
timeout(0.01);
|
||||
// Call reportCompare early here to get a result. The test will fail if
|
||||
// the timeout doesn't work and the test framework is forced to terminate
|
||||
// the test.
|
||||
reportCompare(expect, actual, summary);
|
||||
|
||||
while(1);
|
||||
while(1);
|
||||
}
|
||||
|
||||
|
||||
exitFunc ('test');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user