Re: xmlRequest.onprogress questions

Michael Vincent van Rantwijk <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xml
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Christian Biesinger wrote:
> Michael Vincent van Rantwijk wrote:
>> Eh, how? Like this:
>>
>> aEvent.QueryInterface(Components.interfaces.nsIDOMLSProgressEvent).position 
>>
> 
> Yes.

I got this error:

Error: [JavaScript Error: "[Exception... "Could not convert JavaScript 
argument (NULL value cannot
be used for a C++ reference type) arg 0 [nsISupports.QueryInterface]" 
nsresult:
"0x8057000b (NS_ERROR_XPC_BAD_CONVERT_JS_NULL_REF)"  location: "JS frame 
:: ...

so I checked nsIDOMLSProgressEvent but that is undefined!

Michael
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.