Desktop PWAs: On reparenting to app window, clear navigation history
When a desktop PWA is installed and the user requests 'Open in a window', we clear navigation history that occurred before the user most recently entered the app's scope. When the user chooses "Open in <app>" from the browser's three dot menu, we similarly prune navigation history. If the current page is the user's first page in the app, the Back button will be initially disabled. The user can still access history using chrome://history/ BookmarkAppRegistrar::IsInstalled now returns false (instead of crashing) when called with a Chrome packaged app id. Bug: 1027393 Change-Id: I4855b952801f6279607fcb52e6ed56e12725e109 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1978317 Commit-Queue: Eric Willigers <ericwilligers@chromium.org> Reviewed-by:Alexey Baskakov <loyso@chromium.org> Reviewed-by:
Alan Cutter <alancutter@chromium.org> Cr-Commit-Position: refs/heads/master@{#727211}
Showing
Please register or sign in to comment