[Webkit-unassigned] [Bug 35282] New: Old catch-clause scoping bug still unfixed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 22 20:28:08 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=35282

           Summary: Old catch-clause scoping bug still unfixed
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
               URL: http://google-caja.googlecode.com/svn/trunk/doc/html/e
                    s5-talk/img25.html
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: erights at gmail.com


The old ES3 behavior

function foo(){this.x = 11;}
var x = 'bar';
try { throw foo; } catch(e) { e(); print(x); }
// prints 11

is still present, despite 1) violating ES5 semantics, and 2) fatally violates
ES5-strict semantics, as much of the motivation of ES5-strict is static
scoping. This catch bug prevents static scoping.

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



More information about the webkit-unassigned mailing list