3

There are two different tabs interacting with the browser storage. Tab 1 sets some data opens tab 2, tab 2 sets data and then closes returning to tab 1. However this time interacting with the browser storage is broken. The same processes as before if executed breaks due to some weird error when trying to set data in browser storage (browser.storage.local.set).

A workaround is to reload the whole page every time this tab switching happens.

The browser storage should work properly no matter what. Opening new tabs, closing them and returning to main tab should not break the browser storage API in that tab.

1.3.15 (5) (WebKit 8620.2.4.10.7)

18

  • dino replied to this.

    I'm running into a similar issue on indexeddb for some reason.
    Our extension opens a tab on our website, inserts some data into the db.
    Then our website reads from the indexeddb.

    However it's broken after the latest update even though it worked before.
    Any ideas?

    • dino replied to this.
      7 days later

      majes97 Looks like indexeddb access is more a WebKit issue, but if you can share some test webextension, we can try for the fix 🙂

        TheTeller can you share some specific web-extension where we can test this issue? or any demo extension code you can share with us, would be helpful for us to fix the issue.

          dino https://chromewebstore.google.com/detail/publi24-filtru-avansat/pigkjfndnpblohnmphgbmecaelefaedn

          This extension has code that checks for iphone or safari and does some actions differently. You will find the reloads. When you remove those page reloads the described issue will reproduce.

          Once you install the extension go to like https://www.publi24.ro/anunturi/auto-moto/ and press either search or image icon under and ad item.

          No one is typing