Skip to content

Check whether tab is still alive before trying to clear badge

Kai Uwe Broulik requested to merge work/kbroulik/tab-gone-player into master

Silences a warning when closing a tab with an active player. Checking whether the player was gone from e.g. pagehide wouldn't be sufficient as the player could just be in an iframe that got removed.


  • No longer get an error about a missing tab when closing a tab with a player
  • Verified that closing an overlay on a page with a player still removes the badge

@fvogt

Merge request reports