js/src/jit-test/tests/basic/evaluate-restore-options.js

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:df2bd082faba
1 // Bug 791157: the shell 'evaluate' function should properly restore the
2 // context's options.
3
4 try {
5 evaluate('%', {noScriptRval: true});
6 } catch(e) {}
7 new Function("");
8
9 try {
10 evaluate('new Function("");', {noScriptRval: true});
11 } catch (e) {}

mercurial