function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
HorosolCHorosolC 

When Apex page Preview Error "Refused to frame ... because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'"

My Chrome browser alert this error:User-added image

and my apex page code:
User-added imagehow can I fix this error?
ravi soniravi soni
hi HorosolC,
it is generic error but it would not be reflected to output. you can ignore it.
if you are satisfied with above answer then don't forget to mark it as best answer if it helps you.
Thank you