carglue wrote:
>> Chrome code can still make cross-site requests.  But the cross-site 
>> proxy object, which is what you were seeing there as the notification 
>> callbacks, has been removed.
> 
> Ouch.  Then how does one now distinguish between an http request and an 
> xmlhttprequest, as the original poster was asking?

Um...  You look for "aSubject.notificationCallbacks instanceof
Components.interfaces.nsIXMLHttpRequest".

The reason that wasn't working for you is that in your case the notification 
callbacks were the proxy object. But now they should be the XMLHttpRequest 
object again.  As in, now it works exactly like it did in Gecko 1.8.

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

Reply via email to