[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 19:06:10 PST 2015


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

--- Comment #13 from Jono Wells <jonowells at apple.com> ---
Comment on attachment 246060
  --> https://bugs.webkit.org/attachment.cgi?id=246060
[PATCH] Fix based on feedback.

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

>> Source/WebInspectorUI/UserInterface/Models/SourceMapResource.js:107
>> +            throw new Error(error);
> 
> I'm still not sure why this needs to throw. We don't want to break the UI.

This should have been console.error().

>> Source/WebInspectorUI/UserInterface/Models/SourceMapResource.js:133
>> +            sourceMapResourceLoadError.call(this, "No NetworkAgent.loadResource");
> 
> Can we just remove this call or use sourceMapResourceNotAvailable with empty data and a 500 status code or something?

Sure, maybe with a console.assert() along with it.

-- 
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/20150205/42dc40b1/attachment-0002.html>


More information about the webkit-unassigned mailing list