Closed hognevevle closed 2 years ago
Update: also setting cache.removeRevisions
to false
fixed the error 🥳
Hello,
honestly I don't know why is it crashing, because there is already check for local storage availability.
More so, every action with local storage is conditioned with this check and (options.cache.persistent
or options.cache.removeRevisions
) option. Therefore, if both options are set to false
, there should be no local storage action even if my initial check is somehow failing in case of combination incognito/private window and iframe.
Probably this check is not sufficient for your use case, but I can not check it automatically by setting and getting a value, because this check would violate law in my country (access to user storage without user consent).
Additionally, error in your post tracks to line 222, which is line with comment only...
Well, I'm glad you solved this issue yourself by setting both options to false
.
Thanks.
Hi there,
My application which uses
vue-svg-inline-plugin
is being served via an iframe. Unfortunately, this crashes the app when the user's browser is running in incognito/private mode.Unfortunately, setting
cache.persistent
to false does not help. Is there another way to completely disable the use of localstorage?