[Webkit-unassigned] [Bug 148230] New: Web Inspector: console assertion when populating script content for call frame before source map resource loads

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 20 10:08:39 PDT 2015


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

            Bug ID: 148230
           Summary: Web Inspector: console assertion when populating
                    script content for call frame before source map
                    resource loads
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
               URL: http://www.disney.com
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bburg at apple.com
                CC: bburg at apple.com, graouts at webkit.org,
                    joepeck at webkit.org, mattbaker at apple.com,
                    nvasilyev at apple.com, timothy at apple.com,
                    webkit-bug-importer at group.apple.com

Created attachment 259476
  --> https://bugs.webkit.org/attachment.cgi?id=259476&action=review
Screenshot of assertion in Inspector^2

I was not able to reproduce this reliably, but I did get a screenshot with some relevant state.

It appears that in some cases, we may try to show a script resource (load triggered via SourceMap) in a call frame before that script has been loaded from the backend.

I don't really understand what SourceCodeTextEditor can assume in _populateWithScriptContent(). In my understanding, a script will not be associated with a resource until the DebuggerManager receives the parser notification (scriptDidParse) and makes a new WebInspector.Script. But in this case, it has nothing, and this is a normal call frame whose resource has a source map.

Joe, does anything stand out to you? The call stack may provide some extra clues. Unfortunately I didn't save the Inspector's debugger call frames it was trying to show.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150820/6df4d81f/attachment.html>


More information about the webkit-unassigned mailing list