[Chromeshine] Prevent crash when eagerly suspending null tab
This crash can occur if, e.g. there are no new tabs open and DWB informs us that a site is suspended. This CL also adds a unit test for this case and two instrumentation tests; one for this case and one for a related one. Bug: 1148363 Change-Id: I7fad393bd0369c4650fb7b8c2d8bd3c3cde40bed Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2535912Reviewed-by:Natalie Chouinard <chouinard@chromium.org> Commit-Queue: Patrick Noland <pnoland@chromium.org> Cr-Commit-Position: refs/heads/master@{#827018}
Showing
Please register or sign in to comment