developer.chrome.com icon indicating copy to clipboard operation
developer.chrome.com copied to clipboard

Make sure there are tabs before manipulating them.

Open jpmedley opened this issue 2 years ago • 2 comments

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.

jpmedley avatar Oct 30 '23 15:10 jpmedley

: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?

jpmedley avatar Jan 03 '24 16:01 jpmedley