(error)
| 860 | |
| 861 | Browser.tabs.onUpdated.addListener(async (tabId, info, tab) => { |
| 862 | const outerTryCatchError = (error) => { |
| 863 | console.error( |
| 864 | '[background] Error in tabs.onUpdated listener callback (outer):', |
| 865 | error, |
| 866 | tabId, |
| 867 | info, |
| 868 | ) |
| 869 | } |
| 870 | try { |
| 871 | if (!tab.url) { |
| 872 | console.debug( |