Skip to main content

Hi

Was checking console for something and found 7 errors with following description:
[Report Only] Refused to evaluate a string as JavaScript because ‘unsafe-eval’ is not an allowed source of script in the following Content Security Policy directive: “script-src https: ‘unsafe-inline’”.z @ SfdcCore.js:258(anonymous function) @ SfdcCore.js:262(anonymous function) @ SfdcCore.js:262b.provide @ SfdcCore.js:220(anonymous function) @ SfdcCore.js:297(anonymous function) @ SfdcCore.js:304
SfdcCore.js:258cReport Only] Refused to evaluate a string as JavaScript because ‘unsafe-eval’ is not an allowed source of script in the following Content Security Policy directive: “script-src https: ‘unsafe-inline’”.
z @ SfdcCore.js:258(anonymous function) @ SfdcCore.js:262(anonymous function) @ SfdcCore.js:262b.provide @ SfdcCore.js:220(anonymous function) @ SfdcCore.js:303(anonymous function) @ SfdcCore.js:304

Has anyone encountered such issue?

Sunny,

Can you give us a little more information about your page? None of those errors point to anything particular in Skuid. Maybe paste your page XML here?


Hi,

Sorry for posting this thread too early. Took another look. looks like this is occurring only in sandbox and this error is from SfdcCore.js and not from skuid js.

Apologies again for posting this issue here.

Thanks,
Sunny Sharma


No worries! Especially since we deal so much in JavaScript with Skuid, conflicts occur from time to time. I wasn’t trying to say that it wasn’t a problem in Skuid, just that I wasn’t able to make a determination from that error message alone. Hope you get it sorted!


Reply