Help get this topic noticed by sharing it on Twitter, Facebook, or email.

background.js, Safari, and tabs

We're seeing some behavior with Safari that's unique to Safari and not seeing it on other browsers... And that is that the background.js page seems to be re-initialized with every tab opening, rather than once per browser.

Do I have this right? This is causing us some problems as we're dependent upon background.js only being initialized once per browser, not per tab.

There is a section of the docs on background.js which says this:

Due to Firefox limitations, the background code is run once per browser instance.

I don't think the above is a limitation, I've thought that it was normal behavior for ALL browsers (not just Firefox), until we noticed that Safari is a little different.
1 person has
this question
+1
Reply