[Webkit-unassigned] [Bug 131859] New: Web Inspector: Opening a CSS file from the resources tab with long lines throws an exception, freezes inspector

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 18 14:54:14 PDT 2014


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

           Summary: Web Inspector: Opening a CSS file from the resources
                    tab with long lines throws an exception, freezes
                    inspector
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.9
            Status: NEW
          Severity: Critical
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jonowells at apple.com
                CC: timothy at apple.com, joepeck at webkit.org,
                    webkit-bug-importer at group.apple.com,
                    graouts at webkit.org


Created an attachment (id=229676)
 --> (https://bugs.webkit.org/attachment.cgi?id=229676&action=review)
Reduction of issue

CSS files with lines with over 500 characters in them (whitespace, non-whitespace)  will freeze inspector and throw this exception: 

[Error] TypeError: undefined is not an object (evaluating 'state.stack.length')
    runInOp (codemirror.js, line 1972)
    operation (codemirror.js, line 4216)
    string (TextEditor.js, line 140)
    _populateWithContent (SourceCodeTextEditor.js, line 358)
    _contentAvailable (SourceCodeTextEditor.js, line 374)
    (anonymous function) ([native code], line 0)
    servicePendingContentRequests (SourceCode.js, line 238)
    _processContent (SourceCode.js, line 258)
    (anonymous function) ([native code], line 0)
    dispatch (InspectorBackend.js, line 231)
    dispatchNextQueuedMessageFromBackend (MessageDispatcher.js, line 31)
    (anonymous function) ([native code], line 0)

To reproduce:
1. Open the attached file resources.webarchive.
2. Open the inspector and navigate to Resources.
3. Open 2_breaks.css. (throws the exception)
4. Open 3_finally.css.
5. File doesn't load, wheel spins.

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