RESOLVED DUPLICATE of bug 20093 20094
JSC shell does not clear exceptions after it executes toString on an expression
https://bugs.webkit.org/show_bug.cgi?id=20094
Summary JSC shell does not clear exceptions after it executes toString on an expression
Oliver Hunt
Reported 2008-07-18 05:03:20 PDT
The JSC shell doesn't check for toString on the result of an expression throwing, so it will eventually result in incorrect behaviour in some cases. Trivial reproduction: 1. Start jsc 2. enter eval({toString:function(){throw{};}}); 3. goto 2
Attachments
Alexey Proskuryakov
Comment 1 2008-07-18 07:24:14 PDT
*** This bug has been marked as a duplicate of 20093 ***
Note You need to log in before you can comment on or make changes to this bug.