[Webkit-unassigned] [Bug 24747] preloading logic caused the same resource was loaded and reloaded.(sent two requests for same resource)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 22 10:29:06 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=24747
------- Comment #18 from johnnyding.webkit at gmail.com 2009-05-22 10:29 PDT -------
(In reply to comment #14)
> > ignore the reload request if the isPreload is true when there is one
> > CachedResource existed for same resource.
>
> I don't think that this is correct. When reloading a page with Cmd+R, you need
> to reload (revalidate) all resources, preloaded or not.
>
> This bug might have been fixed in <http://trac.webkit.org/changeset/43831>, but
> I'm somewhat confused since in that case, it was essential that the document
> was a result of posting a form.
>
I don't see the original bug related with Alexey's patch. But this case were
because WebKit called requestPreload for a preloaded resource in
DocLoader::checkForPendingPreloads without checking whether the resource was
loaded or not. So yes, Alexey's patch did fix it.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list