[Webkit-unassigned] [Bug 36530] New: Web Inspector: Error when highlighting JavaScript with an invalid mime type

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 24 06:50:15 PDT 2010


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

           Summary: Web Inspector: Error when highlighting JavaScript with
                    an invalid mime type
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: apavlov at chromium.org
                CC: timothy at hatcher.name, rik at webkit.org,
                    keishi at webkit.org, pmuellr at yahoo.com,
                    joepeck at webkit.org, pfeldman at chromium.org,
                    bweinstein at apple.com


- Bring up WebInspector on http://code.google.com/p/chromium/issues/list
- Open kibbles-1.3.1-comp.js in the Scripts panel
- Inspect the WebInspector

On Chromium, the console says that there was an attempt to read the property
"lexCondition" of undefined in
WebInspector.SourceTokenizer.prototype.getLexCondition()

The js-file mime type is reported as "application/empty" which causes the
default parser to be used, even though the parsing has not been set up properly
for that.

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