It wasn't clear from your reply, did you look in the *JavaScript* (or
Error, depending on Firefox version) console and confirm there were no
messages there?

As for my privilege question, why does the code in MyComponentTestGo
run? Is it in a script for a chrome:// document? Or is it just a
webpage? Do you have to click through a security dialog before the
code gets to run?

Nickolay

On 12/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Ok, I have a console.

The only output there was what I put in a dump() call. No other warning
or error messages were generated by my attempt at calling back my
object.

So is this any more useful than alert(), beyond the message having
persistence?



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Boris
Zbarsky
Sent: Monday, December 04, 2006 4:11 PM
To: [email protected]
Subject: Re: XPCOM cpp to js callback

[EMAIL PROTECTED] wrote:
> That setup page seems out of date, at least for my FF version 2.0: It
> mentions browser.dom.window.dump.enabled which is not in my
> about:config

So?  Only preferences which are actually currently set are in
about:config.
That preference is not set by default; when it _is_ set, it has an
effect.  Just
set it in about:config.

> dump() seems to be a no-op.

Without setting browser.dom.window.dump.enabled it will be.

-Boris
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to