Summary: | Javascript "var" statement interprets initialization in the topmost function scope | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Kris Kowal <kkowal> | ||||
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | ap, brendan, kkowal, mrowe, zwarich | ||||
Priority: | P2 | ||||||
Version: | 523.x (Safari 3) | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.4 | ||||||
Attachments: |
|
Description
Kris Kowal
2007-06-19 16:28:00 PDT
Created attachment 15130 [details]
Test case
Test case. It passes in Camino 1.5, but not in Safari 3 beta.
This is caused by the same issue as bug 13517 and is fixed by the proposed patch there. See bug 13517, comment #5 for an explanation. |