developer.chrome.com
developer.chrome.com copied to clipboard
Make sure there are tabs before manipulating them.
Addresses #7601
@AmySteam This seems like a reasonable addition to this code sample. You probably wouldn't be trying to run it unless you had tabs open to documentation, but it's also probably easy to overlook. How many hours have we all wasted because silly minor thing we need to do.
This is already in the related sample.
:white_check_mark: Preview (static) for commit 47c9f0b7b7ae007fb516a2e5fcfd890c9ff01a6b available at https://pr-7688-static-dot-dcc-staging.uc.r.appspot.com/.
The following pages likely changed with this PR:
- https://pr-7688-static-dot-dcc-staging.uc.r.appspot.com/docs/extensions/mv3/getstarted/tut-tabs-manager/
@AmySteam, Is this something you want to do?