[Webkit-unassigned] [Bug 20093] New: JSC shell does not clear exceptions after it executes toString on an expression

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 18 05:03:20 PDT 2008


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

           Summary: JSC shell does not clear exceptions after it executes
                    toString on an expression
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: HasReduction, NeedsRadar
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: oliver at apple.com
                CC: sam at webkit.org


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


-- 
Configure bugmail: https://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