js/src/jit-test/tests/basic/terminate.js

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 // |jit-test| exitstatus: 3
     2 try {
     3     terminate();
     4     assertEq("execution continued", "execution should not continue");
     5 } catch (x) {
     6     assertEq("caught exception", "uncatchable");
     7 } finally {
     8     assertEq("'finally' clause ran", "'finally' clause should not run");
     9 }
    10 assertEq("top-level execution continued", "top-level execution should not continue");

mercurial