[Webkit-unassigned] [Bug 30506] Resources that the server sent as 304 not modified are not shown in the inspectors resource pane

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 20 17:35:59 PDT 2009


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


Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever Confirmed|0                           |1
                 CC|                            |koivisto at iki.fi
             Status|UNCONFIRMED                 |NEW




--- Comment #4 from Alexey Proskuryakov <ap at webkit.org>  2009-10-20 17:35:59 PDT ---
Looks like the main culprit here is preloading logic (I'm not even sure if this
only happens for 304 Not Modified responses). Here is what happens:

1. As a document is loaded, preload scanner is invoked, requesting subresources
while HTML parser is blocked waiting for the first script to download.
2. These preloads result in InspectorController::addResource being called, but
cache->requestResource() returns null, thus the resource is never added to
document resource set in DocLoader.
3. Once a response for preload is received, Inspector asks DocLoader about it
(in InspectorResource::updateScriptObject), but DocLoader says that there is no
such resource.

It's no good that DocLoader doesn't know about resources that were revalidated
by preloader.

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