Bug 135109 - [Cocoa] Add a way to tell whether navigation between two WKBackForwardListItems is going to be a same-document navigation
Summary: [Cocoa] Add a way to tell whether navigation between two WKBackForwardListIte...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-20 19:56 PDT by mitz
Modified: 2014-07-20 20:20 PDT (History)
2 users (show)

See Also:


Attachments
Add -[WKBackForwardListItem _isInSameDocumentAsItem:] (11.71 KB, patch)
2014-07-20 19:56 PDT, mitz
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.