Skip to content
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

SecureWindow instance does not support opening blob files? #4608

Open
SourabhMulay opened this issue Oct 4, 2024 · 0 comments
Open

SecureWindow instance does not support opening blob files? #4608

SourabhMulay opened this issue Oct 4, 2024 · 0 comments

Comments

@SourabhMulay
Copy link
Contributor

I'm encountering an error that states: "SecureWindow.open supports http:, https:, mailto: schemes, and relative URLs."

I attempted to create a Blob instance with the type "octet-stream" and open it using window.open(URI), but this resulted in the aforementioned error. I suspect that the restrictions imposed by Lightning Locker and strict Content Security Policies (CSP) are preventing the use of Blobs. Is there any way to disable the Locker Service without compromising the code API versions?

In current repo which code contribute functionality of lightning locker? Just wanted to know more about it!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant