[Webkit-unassigned] [Bug 14163] declared variable in window.eval statement not preserved after return from calling context

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 23 00:22:33 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14163





------- Comment #7 from qomo.team at gmail.com  2007-06-23 00:22 PDT -------
(In reply to comment #6)
> Is this a dupe of bug 11399?
> 

It's about the same thing(window.eval), but not a duplicate bug.

Bug #11399 means "calling context" is wrong, but we found that the variables
are like to handled by a wrong way.
read through ECMA-262 sec. 10.2.2, variables declared in eval() context don't
have a {DontDelete} property, but only what declared by "var " are deleted
after.

As a ref: Our scripts sometimes need a way that declaring {DontDelete}
variables in evaled codes, in Gecko's javascript engine, we use eval.apply().


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list