NEW 148230
Web Inspector: console assertion when populating script content for call frame before source map resource loads
https://bugs.webkit.org/show_bug.cgi?id=148230
Summary Web Inspector: console assertion when populating script content for call fram...
Blaze Burg
Reported 2015-08-20 10:08:39 PDT
Created attachment 259476 [details] 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.
Attachments
Screenshot of assertion in Inspector^2 (971.82 KB, image/png)
2015-08-20 10:08 PDT, Blaze Burg
no flags
Radar WebKit Bug Importer
Comment 1 2015-08-20 10:09:17 PDT
Note You need to log in before you can comment on or make changes to this bug.