1 url-prefix ../../jsreftest.html?test=ecma_5/eval/
3 # A dazzling variety of characteristics of an invocation of the eval function
4 # affect its semantics:
6 # - Is it called from a function (one written by the user, or one provided by
7 # ES5), from global code, or from nothing (e.g. setTimeout, setInterval, or
8 # at the entry point to the JSAPI)?
9 # - If it is called from script (whether global or function), is the caller
11 # - Is the call direct or indirect? (ES5 15.1.2.1)
12 # - Is the eval code itself strict mode?
14 # We test all of these in their basic configurations in an attempt to verify
15 # correct general behavior. These tests won't help any special-case
16 # optimizations we might perform -- add new tests for such changes as needed.
19 script exhaustive-fun-normalcaller-direct-normalcode.js
20 script exhaustive-fun-normalcaller-direct-strictcode.js
21 script exhaustive-fun-normalcaller-indirect-normalcode.js
22 script exhaustive-fun-normalcaller-indirect-strictcode.js
23 script exhaustive-fun-strictcaller-direct-normalcode.js
24 script exhaustive-fun-strictcaller-direct-strictcode.js
25 script exhaustive-fun-strictcaller-indirect-normalcode.js
26 script exhaustive-fun-strictcaller-indirect-strictcode.js
27 script exhaustive-global-normalcaller-direct-normalcode.js
28 script exhaustive-global-normalcaller-direct-strictcode.js
29 script exhaustive-global-normalcaller-indirect-normalcode.js
30 script exhaustive-global-normalcaller-indirect-strictcode.js
31 script exhaustive-global-strictcaller-direct-normalcode.js
32 script exhaustive-global-strictcaller-direct-strictcode.js
33 script exhaustive-global-strictcaller-indirect-normalcode.js
34 script exhaustive-global-strictcaller-indirect-strictcode.js
36 # Not written yet! These require a new shell primitive to work there, though
37 # browser could probably use setTimeout for this. Moreover, we haven't
38 # implemented calling eval without a scripted frame yet (FIXME: bug 602994).
39 # script exhaustive-nothing-normalcaller-direct-normalcode.js
40 # script exhaustive-nothing-normalcaller-direct-strictcode.js
41 # script exhaustive-nothing-normalcaller-indirect-normalcode.js
42 # script exhaustive-nothing-normalcaller-indirect-strictcode.js
43 # script exhaustive-nothing-strictcaller-direct-normalcode.js
44 # script exhaustive-nothing-strictcaller-direct-strictcode.js
45 # script exhaustive-nothing-strictcaller-indirect-normalcode.js
46 # script exhaustive-nothing-strictcaller-indirect-strictcode.js
48 script undeclared-name-in-nested-strict-eval.js