When I am loading cesium map into my application, it is loading properly but in console logs showing following errors.
"include.preload.js:393 Blocked script execution in 'about:blank' because the document's frame is sandboxed and the 'allow-scripts' permission is not set."
I remember this issue is resolved already in one of the latest version. I am using 1.22.1V.
Could anyone help me on this.
Thanks,
Raghu.
Try adding the "allow-scripts" flag in the viewer
Should look something like this for example
viewer.infoBox.frame.sandbox = "allow-same-origin allow-top-navigation allow-pointer-lock allow-popups allow-forms allow-scripts"
This solved that console printout
---Brock
Thanks for reply, I have used the above one but still i am getting the same.
Following is my code.
Var viewer = new Cesium.Viewer(this.options.id+"_map",
{
baseLayerPicker : false,
fullscreenButton : false,
homeButton : false,
infoBox : true,
....
...
});
viewer.infoBox.frame.sandbox = "allow-same-origin allow-top-navigation allow-pointer-lock allow-popups allow-forms allow-scripts";
Regards,
Raghu.
"Blocked script execution in 'about:blank' because the document's frame is sandboxed and the 'allow-scripts' permission is not set"
Loading the page http://cesiumjs.org/ with the selecting "Tap To Interact" generates the error.
Also the "Tap To Interact" button doesn't work if the https urls is hit
https://cesiumjs.org
a mixed content error is generated
--
You received this message because you are subscribed to the Google Groups "cesium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
thanks