[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
Wed Mar 27 01:19:05 PDT 2013


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





--- Comment #2 from pdeng6 <pan.deng at intel.com>  2013-03-27 01:21:31 PST ---
(In reply to comment #0)
> Load http://daringfireball.net/misc/2013/03/newyorker-infographic.jpg and try to view the resource. There is a broken image — and empty data URL is shown.
> 
> Happens in TOT, Chrome Canary and Chrome 25. Works in Safari 6.1.3.
> 
> <rdar://problem/13498598>

I reproduced and investigated this issue in chromium 27.0.1452.0.
When newyorker-infographic.jpg is requested alone, its CachedResource type is "MainResource", and both Inspector front-end and backend aware it as "DocumentResource"(by function InspectorPageAgent::cachedResourceType), so that inspector would have liked to present its preview as a text content but actually failed.

@japhet, will the "MainResource" type be changed from CachedResource in future? or is it possible to distinguish the real type of MainResource?

thanks :)
Pan

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