RESOLVED FIXED 144386
Main resource loaded via 304 response becomes empty if reloaded by user
https://bugs.webkit.org/show_bug.cgi?id=144386
Summary Main resource loaded via 304 response becomes empty if reloaded by user
Antti Koivisto
Reported 2015-04-29 05:11:41 PDT
Main resource loaded via 304 response becomes empty if reloaded by user.
Attachments
patch (5.77 KB, patch)
2015-04-29 08:48 PDT, Antti Koivisto
darin: review+
Antti Koivisto
Comment 1 2015-04-29 05:12:13 PDT
Antti Koivisto
Comment 2 2015-04-29 08:48:33 PDT
Darin Adler
Comment 3 2015-04-29 09:08:37 PDT
Comment on attachment 251953 [details] patch I’ve wondered about this kind of thing for years. Part of the general “what do we want to keep when we reload and what needs to start fresh” topic for requests in general. Also related is the scheme for making reloads bypass cache appropriately. Is this needed anywhere else? Does it only affect main resources? Is there some way to tie it more closely to other ways we have to change the request in a reloading situation?
Antti Koivisto
Comment 4 2015-04-29 09:20:21 PDT
> Is this needed anywhere else? Does it only affect main resources? Is there > some way to tie it more closely to other ways we have to change the request > in a reloading situation? Main document loading is a rare case where we have a long-lived ResourceRequest not owned by a CachedResource. The refactoring that moved us from entirely special main resource loading to CachedResources based loading (using CachedRawResource) is basically incomplete so we end up with weird special handling.
Antti Koivisto
Comment 5 2015-04-29 10:11:29 PDT
Alexey Proskuryakov
Comment 6 2015-04-29 12:17:34 PDT
Antti Koivisto
Comment 7 2015-04-29 13:30:17 PDT
Marked it failing on Windows in http://trac.webkit.org/changeset/183573 (like most of the cache test).
Note You need to log in before you can comment on or make changes to this bug.