You need to sign in to do that
Don't have an account?
m_a_sridhar
javascript blob: protocol not available in Lightning
Hello,
We have an AppExchange app (apsona) that relies heavily on the JavaScript "save as" functionality using blobs (see this StackOverflow article, for example). Our users make heavy use of this functionality with the current Salesforce Classic interface. With the new Lightning pages, though, attempting to use the save-as functionality produces this popup under Firefox:
It looks like this is because of a Content Security Policy header that forbids blob: URLs within embedded pages, so it completely breaks this functionality. This is scary, because there is no replacement technique (that I know of) that provides as responsive a user experience. I'd greatly appreciate any feedback.
Thanks in advance.
Sridhar
We have an AppExchange app (apsona) that relies heavily on the JavaScript "save as" functionality using blobs (see this StackOverflow article, for example). Our users make heavy use of this functionality with the current Salesforce Classic interface. With the new Lightning pages, though, attempting to use the save-as functionality produces this popup under Firefox:
It looks like this is because of a Content Security Policy header that forbids blob: URLs within embedded pages, so it completely breaks this functionality. This is scary, because there is no replacement technique (that I know of) that provides as responsive a user experience. I'd greatly appreciate any feedback.
Thanks in advance.
Sridhar
[Blob is not a constructor]