James Newell wrote:
Isnt it the docshell/browser element calling asyncOpen from the channel
I return from my protocol handler?
In some cases yes. OK.
They are passing [xpconnect wrapped
nsIStreamListner] which I assume is the correct object.
Ok.... But calling onDataAvailable on it throws NOT_IMPLEMENTED? I assume you
did call OnStartRequest, right?
The funny thing is when i removed a argument, it gave an error saying not enough
arguments for the onDataAvailiable function
Sure. XPConnect enforces the arg count.
and when i alert the
listener.onDataAvailiable as a variable i get function() { native code
} or similar.
Right.
-Boris
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom