Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Even if you use Firefox's State Partitioning technology, I want to make sure that localStorage is not separated.

  • 4 பதிலளிப்புகள்
  • 0 இந்த பிரச்னைகள் உள்ளது
  • 6 views
  • Last reply by cor-el

Site A has C iframe and Site B has C iframe. When data is inserted from Site A's C iframe, there must also be data from Site B's C iframe, but the two repositories cannot share data due to Firefox's security policy. The recommended method in Mozilla for this issue is to use "requestStorageAccessAPI". However, when using the method, Cookie Data is shared, but localStorage Data is not shared. I want to know a way other than "requestStorageAccessAPI".

  • Except how the user sets the config
Site A has C iframe and Site B has C iframe. When data is inserted from Site A's C iframe, there must also be data from Site B's C iframe, but the two repositories cannot share data due to Firefox's security policy. The recommended method in Mozilla for this issue is to use "requestStorageAccessAPI". However, when using the method, Cookie Data is shared, but localStorage Data is not shared. I want to know a way other than "requestStorageAccessAPI". * Except how the user sets the config

All Replies (4)

You should post that question in the developer question forum not on the general Firefox help side here.

https://support.mozilla.org/en-US/kb/where-go-developer-support

So if I understand what you are saying, "Total Cookie Protection" (dynamic First Party Isolation) causes this problem.

I think you probably need to communicate through the server when data changes in any of the frames so the other frames can be updated. This assumes that the server knows which frames are displaying in the same browser, which may be difficult if they do not have the same session token (i.e., if the user does not need to sign in).

The question is above my pay grade but I have just noticed that there is a Permission in the Page Info window (ctl+i) Store data in persistent storage.

Maybe look at the privacy.partition.* prefs on the about:config page.