Copy link to clipboard
Copied
Hi!
We are planning to integrate the Adobe Embed API in our React application and for this I implemented a testcomponent based on the codeexample in the docs.
The viewer fullfilles our requirements and works. No it is time to get rid of all the warnings and errors in the browser console.
iframe.html:1
The Content-Security-Policy directive 'default-src' contains the keyword 'none' alongside with other source expressions. The keyword 'none' must be the only source expression in the directive value, otherwise it is ignored.
The Content-Security-Policy directive 'form-action' contains the keyword 'none' alongside with other source expressions. The keyword 'none' must be the only source expression in the directive value, otherwise it is ignored.
pageSelectors.js:22
[mobx.array] Attempt to read an array index (0) that is out of bounds (0). Please check length first. Out of bound indices will not be tracked by MobX
happens multiple times...
printHelper.html:1
The Content-Security-Policy directive 'worker-src' contains the keyword 'none' alongside with other source expressions. The keyword 'none' must be the only source expression in the directive value, otherwise it is ignored.
Please see the attached screenshot, too.
I searched for the error messages but was not able to find a solution for them. As I mention, the viewer is working but I appreciate all tipps how I can get rid of these.
Copy link to clipboard
Copied
Just curious if you've had any resolution to this as we're getting the same thing, specifically the MobX errors.
Copy link to clipboard
Copied
Hi!
I am sorry, but we still struggle with the error messages. I still hope to get some response here because all error messages occure in files which are downloaded from the API.