[Webkit-unassigned] [Bug 153230] Network cache: old pages returned by disk cache on history navigation after session is restored

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 7 13:41:03 PST 2016


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

--- Comment #29 from Chris Dumez <cdumez at apple.com> ---
Comment on attachment 270743
  --> https://bugs.webkit.org/attachment.cgi?id=270743
Try to fix mac builds

View in context: https://bugs.webkit.org/attachment.cgi?id=270743&action=review

>>> Source/WebKit2/WebProcess/WebPage/WebPage.cpp:1218
>>> +    m_page->goToItem(*item, frameLoadTypeForBackForwardItem(backForwardItemID, FrameLoadType::Forward));
>> 
>> So we will use SessionRestoredBackForward on iOS even though this has nothing to do with session restore? This seems wrong.
> 
> No, on iOS frameLoadTypeForBackForwardItem always returns the proposed type, FrameLoadType::Forward in this case, so this patch doesn't affect iOS at all. For other ports SessionRestoredBackForward is only returned for history items created for a session restore. So, this has to do with session restore if the item we are about to navigate to was created from the session data.

Right, I misread the function, sorry about that.

-- 
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/20160207/2005b728/attachment-0001.html>


More information about the webkit-unassigned mailing list