Hello,

>
> You have to provide the last param to 
> asyncResolve:http://forums.mozillazine.org/viewtopic.php?t=531228
>
> Someone should put that on MDC and probably file a bug to improve the
> asyncResolve signature to not be so confusing to most people.
>
> Can you do it please?
>
> Nickolay

Indeed it seems to work like that.
I now have something like:

const EQS = Components.classes["@mozilla.org/event-queue-service;
1"].getService(Components.interfaces.nsIEventQueueService);
th = EQS.getSpecialEventQueue(EQS.CURRENT_THREAD_EVENT_QUEUE);
var dnsRecord = obj.asyncResolve(gurl, false, listener, th);

I'll try to do what you asked :p
Paul

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

Reply via email to