[Webkit-unassigned] [Bug 141225] Web Inspector: REGRESSION: Inline SourceMap resources show empty content when opened.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 4 14:44:18 PST 2015


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

--- Comment #10 from Joseph Pecoraro <joepeck at webkit.org> ---
Comment on attachment 246000
  --> https://bugs.webkit.org/attachment.cgi?id=246000
[PATCH] Attempted fix

View in context: https://bugs.webkit.org/attachment.cgi?id=246000&action=review

>>>> Source/WebInspectorUI/UserInterface/Models/SourceMapResource.js:106
>>>> +        }
>>> 
>>> I don't think we want to throw an exception in our code when this happens. Doesn't this break iOS 6 and iOS 7 inspection of a page with Source Map contents?
>> 
>> Why would that happen?
> 
> So it turns out iOS 6 and iOS 7 don't even register that there is a source map present, even with inline source maps. The SourceMapResource constructor is never called.

Yeah, it looks like previously in SourceMapManager._loadAndParseSourceMap we would have done nothing if !NetworkAgent.loadResource. We should probably update that to better handle data URLs.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150204/59db2945/attachment-0002.html>


More information about the webkit-unassigned mailing list