1. 12 Feb, 2018 39 commits
  2. 11 Feb, 2018 1 commit
    • Giovanni Ortuño Urquidi's avatar
      desktop-pwas: Pass opener to new app window · 2b1b8400
      Giovanni Ortuño Urquidi authored
      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: default avatarMatt Giuca <mgiuca@chromium.org>
      Reviewed-by: default avatarBen Wells <benwells@chromium.org>
      Commit-Queue: Giovanni Ortuño Urquidi <ortuno@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#536013}
      2b1b8400