This question have been asked before in the forums but I had not seen any solution on it.
When doing an AB-test I got this error in the console.
"rasterizeHTML.js:13 Blocked script execution in 'https://xxx.xx.xx/episerver/Cms/' because the document's frame is sandboxed and the 'allow-scripts' permission is not set."
I could get rid of the error by modify and adding allow-scripts in the file rasterizHTML.js in the file EPiServer.Marketing.Testing.zip.
This seem not to be good and permanent solution. In next upgrade this change is going to be overwritten.
We use version 2.4.0 of EPiServer.Marketing.Testing
Is this a bug and/or which solution is correct for this error?
The current version of the A/B test tool doesn't use rasterizeHTML.js any more, it uses a headless browser to generate the previews instead.
So this issue should go away if you upgrade to the latest version of EPiServer.Marketing.Testing
Is it changed in 2.5.3 of EpiServer Marketing that was released a few days ago, or is it in a future release?
Hi its in the current released version. Let me know if it works.
Hi, thanks for the information.
For the moment we use CMS 10.* and Commerce 11.*
We have to upgrade to use the latest EpiServer Marketing. It's not planned in the near future.
But it is further an argument to upgrade. I will push for that.
I think we leave it as it is for the moment and hope it will be solved when we upgrading the site.