Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Explicit setter and getter not working in xpcshell?

5 views
Skip to first unread message

Lukas Ramach

unread,
Jan 31, 2007, 8:21:22 AM1/31/07
to
Hi,

I have a problem concerning the use of JS-XPCOM-Objects in the
combination of the xcshell.

What i intend to do:
Implement a JS-XPCOM-Objects and use it from within the xpcshell. This
works fine as long as i do not use getter and setter functions instead
of normal attributes. As far as i was able to debug it, the JS-Security
manager is blocking the calls to the object which uses explicit getter
and setter functions. If i use the objects in the "normal" browser
environment everything works fine.

Can anybody give me a hint why this is not working in the xpcshell?

I'm using the xpcshell from the 1.7 Gecko branch.

Any help or idea is appreciated!

If needed i can provide a testcase for this szenario.

Lukas

0 new messages