[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
Tue Apr 2 02:18:13 PDT 2013


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





--- Comment #8 from pdeng6 <pan.deng at intel.com>  2013-04-02 02:16:24 PST ---
(In reply to comment #7)
> (From update of attachment 195530 [details])
> 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?

My investigation, firstly requested as CachedResource::MainResource, then CachedResource::RawResource.

-- 
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