desktop-pwas: Pass opener to new app window
When a website calls window.open() with a URL for which there is a PWA installed, we cancel the navigation in the newly opened tab and start a new navigation in a new app window. This patch plumbs the opener that would have existed in the new tab to the new app window, so that the new app window can access it. This only takes care of the child window. The parent window is not yet able to access the newly opened app window. Bug: 804881 Change-Id: Ie08c3425b13b4940435e6cf3614a015d61ed10a3 Reviewed-on: https://chromium-review.googlesource.com/906042Reviewed-by:Matt Giuca <mgiuca@chromium.org> Reviewed-by:
Ben Wells <benwells@chromium.org> Commit-Queue: Giovanni Ortuño Urquidi <ortuno@chromium.org> Cr-Commit-Position: refs/heads/master@{#536013}
Showing
This diff is collapsed.
Please register or sign in to comment