commit | e883aea6abe73493c5a3b992b65e5d7ad1d5cdce | [log] [tgz] |
---|---|---|
author | Nicholas Hollingum <hollingum@google.com> | Fri Mar 01 03:19:30 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Mar 01 03:19:30 2019 |
tree | cc1ce5db44fa8d66dfa7c7bfc29d4300214d1bc9 | |
parent | ebf5223cacd2d2d7ada8228904c0d11bab42e7af [diff] |
Special-case for determining the app_id of crostini apps. Due to the way that the crostini terminal works, the shelf_id was being overwritten because it was: - On a technicality being "DidFinishNavigation"'d when it loads. - Assumed to be a browser window (because we run crosh in a window) - Failed to be associated with an extension (because crostini isn't) - Failed to be associated with an app app_id - Therefore: defaulted to the browser's shelf id. This fix catches the special case for crostini apps, which is to set the app_name of the browser on creation. We also propose a unit test to maintain this behaviour. Note that all of these measures are temporary, pending a better implementation of the crostini terminal. Bug: 839676 Change-Id: I46a43960cbc3820968fbb9872c142923d753039e Reviewed-on: https://chromium-review.googlesource.com/c/1491876 Reviewed-by: Fergus Dall <sidereal@google.com> Reviewed-by: Steven Bennetts <stevenjb@chromium.org> Commit-Queue: Nic Hollingum <hollingum@google.com> Cr-Commit-Position: refs/heads/master@{#636684}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .