[Webkit-unassigned] [Bug 75105] New: Typo in error message: Unexpected token 'defualt'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 22 11:44:27 PST 2011


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

           Summary: Typo in error message: Unexpected token 'defualt'
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.7
            Status: UNCONFIRMED
          Severity: Trivial
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: webkit at appsforartists.com


Steps to reproduce:
1) Run narwhal with the JSC engine
2) console.log(default)

Expected result:
    "SyntaxError: Unexpected token 'default'"

Actual result:
    "SyntaxError: Unexpected token 'defualt'"

I believe the constant is misdefined here:
    https://github.com/WebKit/webkit/blob/e5423c7a54883012264311e5cc5446fd0de2765a/Source/JavaScriptCore/parser/JSParser.cpp#L180

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