[Webkit-unassigned] [Bug 150927] Inconsistencies in main resource load delegates when loading from history

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 5 22:46:42 PST 2015


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

--- Comment #13 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to comment #12)
> Comment on attachment 264862 [details]
> Updated patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=264862&action=review
> 
> > LayoutTests/ChangeLog:9
> > +        Add test to check that load delegates are the same when loading
> > +        from history with the page cache enabled and disabled.
> 
> Why is this right? There is no loading when restoring a page from page
> cache, so it's not clear to me why delegates should be the same.
> 
> Also, the behavior is different when restoring in that all state is
> preserved.

Also when restoring from page cache there isn't any response form the server nor data received and we call those delegates to notify the API layer about it. So, if we do call the delegates why not being consistent? It doesn't make much sense to me that the load is committed but there's no main resource loading at all. Ideally, from the API layer point of view, restoring from the cache should be transparent, like it is when loading from the disk cache, for example.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151106/fcbcd07a/attachment.html>


More information about the webkit-unassigned mailing list