Updates:
        Cc: [email protected]

Comment #6 on issue 23260 by [email protected]: Script sources are blank  
on inspected page refresh if resource tracking is on
http://code.google.com/p/chromium/issues/detail?id=23260

The problem here is that in 304 responses we don't receive some headers  
including
Content-type and Content-length. Since 304 means that the resource has not  
been
modified since last request for it all the headers could be retrieved from  
the
browser cache. Currently we see only 304 response headers in the response  
passed to
InspectorController::didReceiveResponse.
InspectorController::didLoadResourceFromMemoryCache is later called for the  
same
resource but since the resource with that URL is already in  
InspectorController::m_knownResources the call is simply ignored.

I'll check why it works in WebKit. My suggestion would be to create  
InspectorResource
from the CachedResource, then merge into it headers from the  
InspectorResource that
is aready in InspectorController::m_knownResources and replace the latter  
one with
it.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

-- 
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs

Reply via email to