check for the active frame before updating tabPage race condition was updating tabPage without an active frame leading to browser freeze
check for the active frame before updating tabPage
race condition was updating tabPage without an active frame leading to browser freeze

Auditors: @bbondy

fix #11028

sibling commits:
- 0.20.x d738190
- 0.19.x 1301ad9

diasdavid/browser-laptop,diasdavid/browser-laptop,luixxiul/browser-laptop,diasdavid/browser-laptop,diasdavid/browser-laptop,luixxiul/browser-laptop,luixxiul/browser-laptop,luixxiul/browser-laptop