[Webkit-unassigned] [Bug 22046] New: Crash when `var class` used in JavaScript

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 3 03:10:18 PST 2008


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

           Summary: Crash when `var class` used in JavaScript
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
               URL: http://www.formyownamusement.com/WebKit/classCrashTest.h
                    tml
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ebow at me.com


The Web Inspector Console reports the use of the `class` keyword as a
JavaScript parse error. Safari/WebKit crashes shortly after reporting this
error.

To reproduce please see the attached URL. It has a very simple JavaScript
<script type="text/javascript" charset="utf-8">
       var class = "not so nice to call one's self a class when it's not";
</script>

Next bring up the Web Inspector and click through to see the parse error.
WebKit crashes shortly after.

I have tried this on several nightly builds of WebKit with the same result.
(sorry I can't remember which builds exactly) My current test was on r38068
(3rd November 2008)


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