5

Steps to reproduce:

  1. I have JavaScript (and cookies) off by default, globally.
  2. Sign into https://tweetdeck.twitter.com (site settings: "Enable ITP", "Enable Javascript", "Enable Cookies")
  3. In another tab, sign into https://discord.com/app (site settings: "Enable Content Blockers", "Enable ITP", "Enable Javascript", "Enable Cookies")
  4. In a new window, open https://youtu.be/H_K-us4-K7s, or another long video, and start watching (site settings: "Enable Content Blockers", "Enable ITP", "Enable Javascript", "Enable Cookies")
  5. Go back to the Discord tab.
  6. Wait until one of these sites stops updating. (YouTube is most noticeable; the video stops loading, and mousing over the video no longer brings up the controls. TweetDeck and Discord's left bars stop doing anything when you click the icons.)

These steps are just one instance of the problem; I tend to leave TweetDeck and Discord open all the time, and they'll break all the time, though how long it will take to break is wildly variable. It's possible YouTube will be enough of a test case. This site broke while I was composing the bug report (and waiting for YouTube to stop). I have a suspicion that all JavaScript is terminated at the same time, across tabs, but have not verified it. Activity Monitor says my system is not overloading on CPU nor under memory pressure.

Tried: enabling/disabling content blockers, enabling/disabling intelligent tracking. Did not try: compatibility mode. No extensions installed. Low Power Mode is off. I am running on battery, though.

Orion, OS version; hardware type:

  • Orion 0.99.109.1-beta
  • macOS Catalina 10.15.7
  • MacBook Pro (16-inch, 2019)
  • Vlad replied to this.

    Aha, I can reliably put Orion into this state by opening a page where JavaScript is disabled in another tab. That seems to kill JavaScript on all tabs.

      I can't test the first main issue at the moment, but I did successfully replicate the secondary issue with disabling javascript on a tab by opening a new window (or having multiple windows open), then disabling JS on one site on one window. The result is that JS appears to be disabled immediately on all other tabs and windows.

      It doesn't occur when I have a single window open and disable JS on a tab in that window.

        It is probably worth testing other settings that a user would "presume" are per-site, to ensure they are actually per-site, and aren't being applied per-browser or per-open-tab.

        Things like compatibility mode, adblocker, script blocker, ITP, web fonts, cookies, user agent etc.

          jrose Do you have global Javascript off by default and just enable them on these sites?

          From my understanding, it seems that

          • one problem is that when your JS is globally off, and you enable it on a few sites, it effectively expires on them too
          • second problem described here is that a per site disabled Javascript, effectively disables it in other tabs too which have it enabled

          Yes, that’s correct, I have JavaScript (and cookies) off by default.

            a year later
            No one is typing