Security error: attempted to write protected variable 'location'

Forums » Dev.Opera » Archived Opera Widgets Development Discussions

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

17. April 2010, 12:49:07

adrnlnrsh

Posts: 3

Security error: attempted to write protected variable 'location'

I made a widget from the sample code provided by Facebook for the JavaScript Client Library:

http://wiki.developers.facebook.com/index.php/JavaScript_Client_Library

When I run the widget I get:

Error:
name: ReferenceError
message: Security error: attempted to write protected variable 'location'
stacktrace: n/a; see opera:config#UserPrefs|Exceptions Have Stacktrace

I think this means the Client Library is incompatible with Opera Widgets. Everything works as expected when the same page is opened within the Opera browser.

How can I fix this?

Thank you.

Forums » Dev.Opera » Archived Opera Widgets Development Discussions