-
-
Notifications
You must be signed in to change notification settings - Fork 609
Closed
Labels
Description
Expected and Actual Behavior
Getting the error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
when opening an iframed page using fancytree.
I am not even enabling or using the persitance plugin, its just bundled within the all-deps.js file.
Chrome dev tools clearly show the origin of the error is here:
fancytree/src/jquery.fancytree.persist.js
Line 38 in cf9a7b6
| localStorageStore = window.localStorage |
Steps to Reproduce the Problem
- use fancytree in an iframe over different domains
- make sure the "block third party..." setting is enabled in chrome (https://www.chromium.org/for-testers/bug-reporting-guidelines/uncaught-securityerror-failed-to-read-the-localstorage-property-from-window-access-is-denied-for-this-document) But as far as i can see, this is the default.
Environment
- Browser type and version: Version 83.0.4103.116 (Developer Build) built on Debian bullseye/sid, running on Debian bullseye/sid (64-bit)
- jQuery and jQuery UI versions: bundled with fancytree
- Fancytree version: fancytree-2.36.1/jquery.fancytree-all-deps.min.js
ivangusev