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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 22 21:48:02 PST 2010


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


Mark S. Miller <erights at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from Mark S. Miller <erights at gmail.com>  2010-02-22 21:48:02 PST ---
Oops. Thanks to Brendan for the correction. I was thinking about the code
example in a nested scope as follows, but I hadn't tested that way. Tested
nested, it
works fine. Sorry for the misunderstanding.

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

-- 
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