
1. If a window with a single tab has a user supplied title, when closing we shouldn't add the tab. Instead we should add the window. Adding the tab means we lose the title. 2. SessionService::WindowOpened should set the user title. Otherwise it won't be saved. Bug: None Test: None Change-Id: Ia2bef8a6a655eeffe5f417f5366d2a29975d8ecf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5763166 Reviewed-by: Elly FJ <ellyjones@chromium.org> Commit-Queue: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/main@{#1338487}