google-chromeiframebrowserlocal-storagesuffix

IFrame Local Storage Name has additional Suffix "^0<parent domain url>" in Chrome Browser


I've encountered an strange behavior in Chrome related to the local storage url naming that the browser decides.

I've noticed that the local storage name inside an iframe has a suffix "^0" followed by the domain of the parent URL.

example

This behavior doesn't seem to be consistent when it happens on a certain computer but if I create another user on the same computer same chrome version the issue is not reproduced and I've checked extensions and other configurations and didn't find any clues why this suffix is being added

I've tried as well on a computer that had this issue to update to the latest chrome version 116.0.5845.97 the issue disappeared previously the version was something like this: 115.x.xxxx.170

I'm seeking to understand why this happens and whether there's a way to control this behavior.


Solution

  • found the reason chrome starting to role out a new feature details can be found here https://developer.chrome.com/en/docs/privacy-sandbox/storage-partitioning/