Bug 135109

Summary: [Cocoa] Add a way to tell whether navigation between two WKBackForwardListItems is going to be a same-document navigation
Product: WebKit Reporter: mitz
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: andersca, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Add -[WKBackForwardListItem _isInSameDocumentAsItem:] none

Description mitz 2014-07-20 19:56:52 PDT
Created attachment 235199 [details]
Add -[WKBackForwardListItem _isInSameDocumentAsItem:]

Attaching a patch that adds this. Not sure yet if this will be needed.
Comment 1 mitz 2014-07-20 20:04:02 PDT
The internal part of this can be useful in improving the behavior of PageLoadState::isLoading() so that it doesn’t change to true when navigating within the same page.
Comment 2 mitz 2014-07-20 20:20:30 PDT
(In reply to comment #1)
> The internal part of this can be useful in improving the behavior of PageLoadState::isLoading() so that it doesn’t change to true when navigating within the same page.

…or at least to not create and pass a new navigation ID for such navigations.