This is because of caja and unfortunately, should no longer be a problem.
The opensocial-features used to pull in the caja feature automatically. This
has been removed which means that caja should not be pulled down for a
normal gadget.

Have you synced lately? If so, you shouldn't need to delete the features
line, but what exception are you getting when you do? If I delete the line I
don't get any exceptions.

- Cassie



On Thu, May 29, 2008 at 5:09 AM, George Ruban <[EMAIL PROTECTED]> wrote:
It seems when I create a Javascript object in a gadget on my shindig server,
even as simple as
var foo = {};
it comes with attributes: '___FROZEN___' 'toString_canCall___'
'length_canRead___' 'isPrototypeOf_canCall___' 'toLocaleString_canCall___'
'valueOf_canCall___' and possibly others.
How can I control, or disable this feature?

Is this caused by Caja - and if so, again, how do I turn it off?
I tried deleting the caja line from features.txt, but that made the server
throw exceptions when running any Javascript at all. I must be missing some
pretty basic documentation somewhere...

Reply via email to