[SalesForce] Lightning Web Components Playground error: An attempt was made to break through the security policy of the user agent

I'm currently receiving an error when attempting to use the Lightning Mini Playground or the Playground located here: https://developer.salesforce.com/docs/component-library/tools/playground

The error is: 'SecurityError
An attempt was made to break through the security policy of the user agent.'

It shows the instant I make any change, regardless of the change made (e.g. adding a space). I'm using Chrome browser and I've tried running with no extensions, I'm still get the same error.

Thanks for any and all assistance.

Best Answer

It worked for me on Chrome by doing the following.

Open up your playground on chrome.
On the URL bar, on the right side, next to the bookmark star button, click the cookies icon, and then click "Show cookies and other site data...".

Go to the "Blocked" tab and allow any of the following domains:

  1. salesforce.com
  2. developer.salesforce.com
  3. ***.cloudfront.net (some plugin from AWS that the site is probably using, this one is often automatically blocked).

Click Done. Refresh your page.