Ok, I'll file a bug.

My custom event component is running nicely now. 
I'll write a tutorial sometime about this and I'll send it to you (Boris)
for review if you don't mind. 

Actually the old tutorial just needs to pe updated.
https://developer.mozilla.org/En/Creating_Custom_Events_That_Can_Pass_Data

Cheers, and a data-center full of thanks. I've spent a lot of time on this
issue.


-----Original Message-----
From: dev-embedding-bounces+walter.fettich=lasting...@lists.mozilla.org
[mailto:dev-embedding-bounces+walter.fettich=lasting...@lists.mozilla.org]
On Behalf Of Boris Zbarsky
Sent: Friday, January 23, 2009 4:40 PM
To: [email protected]
Subject: Re: Why can't I send my custom event?

Walter Fettich wrote:
> PRBool trusted;
> nsCOMPtr<nsIDOMNSEvent> nsevent(do_QueryInterface(privEvt));
> nsevent->GetIsTrusted(&trusted);

I can't believe I missed that.  Do you mind filing a bug on this? 
You're right that we should probably null-check here.

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

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

Reply via email to