-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to read "sessionStorage" error when embed Formbuilder in iframe #1135
Comments
this is a cross-domain permissions issue. you can write a The other option is disable sessionStorage in formBuilder. This should really be configurable anyways so PR more than welcome |
How can one disable the sessionStorage safely? Wouldn't it break the form? I noticed about just two lines actually reference sessionStorage.
|
@chenster I mean we should probably add an option to formBuilder like Line 712 in c072cae
An alternative to disabling sessionStorage could be |
I think I can do something like adding option for disable/enable control order. Thanks. |
Description:
When embed FormBuilder in iframe hosted on a different domain, it returns DOMException: Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document.
Environment Details:
Expected Behavior
Embedded form should display
Actual Behavior
Not displaying at all
Steps to Reproduce
Create a form in Domain A, and host it in a iFramed on Domain B
Screenshot - (optional)
The text was updated successfully, but these errors were encountered: