[Webkit-unassigned] [Bug 113239] Web Inspector: REGRESSION: Standalone image documents fail to return resource content

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 1 05:36:46 PDT 2013


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





--- Comment #7 from Timothy Hatcher <timothy at apple.com>  2013-04-01 05:34:57 PST ---
(From update of attachment 195530)
View in context: https://bugs.webkit.org/attachment.cgi?id=195530&action=review

>>> Source/WebCore/inspector/InspectorPageAgent.cpp:326
>>> +        return MIMETypeRegistry::isSupportedImageMIMEType(cachedResource.response().mimeType()) ? InspectorPageAgent::ImageResource : InspectorPageAgent::DocumentResource;
>> 
>> Why not to check cached resource's type instead?
> 
> Currently, besides document resource, standalone image/script/css... will also be requested as cachedResource::MainResource in loader, so only cachedResource::MainResource type is not enough to understand the inspector type.

What about standalone media (video and audio) documents?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list