[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
Tue Feb 3 19:27:42 PST 2015


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

--- Comment #8 from Jono Wells <jonowells at apple.com> ---
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?

>> Source/WebInspectorUI/UserInterface/Models/SourceMapResource.js:113
>> +            var statusCode = parameters.status;
> 
> This could be written more simply:
> 
>   var {error, content, mimeType, statusCode} = parameters;

Good call!

-- 
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/2b844b2b/attachment-0002.html>


More information about the webkit-unassigned mailing list