On Friday, January 24, 2014 2:15:38 PM UTC-8, Josh Matthews wrote:
> 
> > I'm working on https://bugzilla.mozilla.org/show_bug.cgi?id=745283 and am 
> > implementing it in JS. Does this need to derive from nsIEventTarget, and if 
> > so, are there any examples?
> 
> >
> 
> 
> 
> Not nsIEventTarget. You should probably use the original patch from 
> 
> several months ago in bug 885982 to guide you 
> 
> (https://bugzilla.mozilla.org/attachment.cgi?id=766423&action=diff).
> 
> 
> 
> Cheers,
> 
> Josh

So it's ok to ignore the spec here in the W3C - 
http://www.w3.org/2012/sysapps/raw-sockets/?

That says 

[Constructor (optional UDPOptions options)]
interface UDPSocket : EventTarget 

And supports all the EventTarget methods.
_______________________________________________
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to