Expose IsWaitingToCommit() on NavigationHandle
Currently, it is only defined on NavigationRequests. Defining it on the handles too will allow for easy determination of when a navigation has passed through ReadyToCommitNavigation(), i.e. via HasCommitted() || IsWaitingToCommit(). Note that some navigations can pass through ReadyToCommitNavigation() without eventually committing -- e.g. due to a doc.write. Adding this call will simplify handling of these edge cases. Bug: 1101584 Change-Id: I7c272ef2768a901b8988bfe8e28ae1a0c3ef2ca9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2536389Reviewed-by:John Abd-El-Malek <jam@chromium.org> Commit-Queue: Alex Turner <alexmt@chromium.org> Cr-Commit-Position: refs/heads/master@{#827933}
Showing
Please register or sign in to comment