Iuri wrote:
The nsIStreamListener's (or nsITraceableChannel's i'm not sure)
onStartRequest(request, context) has that second parameter that is
explained on mozdev as "user defined context value." Is there a way
to set that context value when I initiate an XMLHttpRequest?
There is not; that value can only be set by the asyncOpen caller.
That said, it would be possible to add API to XMLHttpRequest to allow
setting it; this might not be a bad idea. File a bug?
-Boris
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network