Back to index

lightning-sunbird  0.9+nobinonly
Public Attributes
nsIJSXMLHttpRequest Interface Reference

import "nsIXMLHttpRequest.idl";

Inheritance diagram for nsIJSXMLHttpRequest:
Inheritance graph
[legend]
Collaboration diagram for nsIJSXMLHttpRequest:
Collaboration graph
[legend]

List of all members.

Public Attributes

attribute nsIDOMEventListener onload
 Meant to be a script-only mechanism for setting a load event listener.
attribute nsIDOMEventListener onerror
 Meant to be a script-only mechanism for setting an error event listener.
attribute nsIDOMEventListener onprogress
 Meant to be a script-only mechanism for setting a progress event listener.
attribute
nsIOnReadyStateChangeHandler 
onreadystatechange
 Meant to be a script-only mechanism for setting a callback function.

Detailed Description

Definition at line 297 of file nsIXMLHttpRequest.idl.


Member Data Documentation

Meant to be a script-only mechanism for setting an error event listener.

The attribute is expected to be JavaScript function object. When the error event occurs, the function is invoked. This attribute should not be used from native code!!

After the initial response, all event listeners will be cleared. Call open() before setting new event listeners.

Mozilla only.

Definition at line 322 of file nsIXMLHttpRequest.idl.

Meant to be a script-only mechanism for setting a load event listener.

The attribute is expected to be JavaScript function object. When the load event occurs, the function is invoked. This attribute should not be used from native code!!

After the initial response, all event listeners will be cleared. Call open() before setting new event listeners.

Mozilla only.

Definition at line 309 of file nsIXMLHttpRequest.idl.

Meant to be a script-only mechanism for setting a progress event listener.

The attribute is expected to be JavaScript function object. When the error event occurs, the function is invoked. This attribute should not be used from native code!! This event listener may be called multiple times during the open request.

After the initial response, all event listeners will be cleared. Call open() before setting new event listeners.

Mozilla only.

Definition at line 336 of file nsIXMLHttpRequest.idl.

Meant to be a script-only mechanism for setting a callback function.

The attribute is expected to be JavaScript function object. When the readyState changes, the callback function will be called. This attribute should not be used from native code!!

After the initial response, all event listeners will be cleared. Call open() before setting new event listeners.

Definition at line 347 of file nsIXMLHttpRequest.idl.


The documentation for this interface was generated from the following file: