[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 15 20:24:34 PDT 2007


------- Comment #9 from ddkilzer at webkit.org  2007-10-15 20:24 PDT -------
(In reply to comment #8)
> (In reply to comment #2)
> > also declaration of functions, a simple test case:
> > 
> > window.eval('function test1() {}', 'JavaScript');
> > window.eval('test2 = new Function() {}', 'JavaScript');
> This test case is flawed. The use of the Function constructor is illegal. It
> should be
>   window.eval('test2 = new Function()');
> In that case the result is that test1 will not be defined outside of f, but
> test2 will (confirmed with WebKit nightly build r26570).

So are you saying this bug is already fixed with WebKit nightly build r26570? 
What about r26359?

> Is a fix planned before Safari 3.0?

It depends on whether this bug is already fixed or not in r26359.

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