nashorn/test/script/basic/JDK-8048071.js.EXPECTED
author sundar
Wed, 25 Jun 2014 17:08:47 +0530
changeset 25242 ac1d21c4d61d
permissions -rw-r--r--
8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval Reviewed-by: hannesw, jlaskey
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
25242
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
     1
23
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
     2
typeof x? undefined
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
     3
0
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
     4
typeof x? undefined
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
     5
0
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
     6
typeof x? undefined
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
     7
local eval called: hello
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
     8
[object global]
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
     9
with's eval called: hello
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
    10
this = [object Object]
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
    11
this.foo = 42