1

I am searching lightning component on Salesforce Lightning Web Component Library and there has a option to preview the component. But I can't preview the component on Firefox browser but works perfectly fine on other browser.

error: SecurityError: The operation is insecure.

3
  • 2
    It would help a lot if you stated which component caused this to happen and in which context the preview is being shown (the URL). Please edit to add details.
    – Phil W
    Commented Nov 9, 2022 at 7:01
  • 2
    Can you disable the Tracking Protection in firefox and see if it helps? Commented Nov 9, 2022 at 7:13
  • 1
    thanks @Swetha .....it helps!! Commented Nov 9, 2022 at 8:39

1 Answer 1

1

The issue you are seeing is related to Firefox Tracking Protection. As confirmed over comments, disabling the Tracking Protection helped fix the error.

Recommend upvoting this related Idea

You could add some custom code to detect the Tracking Protection in Firefox and if detected, display a warning message to customers.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .