[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
Mon Oct 22 15:14:45 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=14163
aroben at apple.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Comment #11 from aroben at apple.com 2007-10-22 15:14 PDT -------
(In reply to comment #10)
> It's hard to tell if this bug has been fixed or not.
>
> If it hasn't, it blocks bug 14868 because we need to get the semantics of
> variable declaration correct before we can optimize it. `var' statements inside
> `eval' statements are a specifically interesting case that we need to get
> right.
I believe this is in fact working now. The Inspector is a nice testcase for
this. Just type the following in the Console:
var a = "hi";<Enter>
a<Enter>
You will see the value "hi" printed. The Inspector uses window.eval for
evaluation, so I think this works now.
Geoff, do you think this is correct?
--
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