MacPWAs: Reparent tabs when installing PWAs
This works now. When re-parenting the window, the initial attempt to re-parent the window fails, because the PWA's bundle has not yet been created. The second attempt then re-creates the bundle and succeeds. This is a bit kludgey in that it is possible that the bundle will be recreated twice. A cleaner solution would be to delay reparenting the contents and revealing the app in Finder until the app has been created, but that solution may not be suitable for merge. Bug: 859152 Change-Id: Ifaf507525729a9a168e821f722aee03e9f6dd8f4 Reviewed-on: https://chromium-review.googlesource.com/c/1438037Reviewed-by:Ben Wells <benwells@chromium.org> Reviewed-by:
Dominick Ng <dominickn@chromium.org> Commit-Queue: ccameron <ccameron@chromium.org> Cr-Commit-Position: refs/heads/master@{#627151}
Showing
Please register or sign in to comment