Return non-null AwNavigation.getPage() for same-document navigations

This makes AwNavigation.getPage() to consistently return a non-null
Page for navigations that have committed. Previously same-doc navs
would return null, but now it would return the current Page if the
navigation has committed / onNavigationCompleted has fired.

Bug: b/359826084
Change-Id: Ie60fe9af07984a29208dd99452d3f3fb4a27747b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7206808
Commit-Queue: Rakina Zata Amni <[email protected]>
Reviewed-by: Peter Conn <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1551010}
NOKEYCHECK=True
GitOrigin-RevId: 4e478824747230e881fa1f6d4df12e93c2986f2d
1 file changed
tree: fbf12f89897520443fcb52a59700f868a3476bb0
  1. src/
  2. .gitignore
  3. AndroidManifest.xml
  4. BUILD.gn
  5. DEPS
  6. OWNERS
  7. proguard.flags
  8. README.md
README.md

Webkit Boundary Interfaces

Note: the canonical copy of the boundary interfaces lives in the chromium repository; this subdirectory of chromium is mirrored into the Android project for use by the webkit AndroidX module.

If you‘re reading this file in the Android repository, don’t make changes in this folder. Please make changes in chromium, or contact the OWNERS in frameworks/support/webkit/.

If you're reading this file in the chromium repository, you should feel free to make changes. Please be aware that this folder has strict import requirements (enforced by DEPS), because it must continue to build when mirrored into Android.