Added Unix makefiles and incorporated Andreas Otte's changes for building on Linux. This is not part of the Seamonkey build.
git-svn-id: svn://10.0.0.236/trunk@194761 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -27,9 +27,9 @@ interface nsIDOMEventListener;
|
||||
|
||||
[scriptable, uuid(b7215e70-4157-11d4-9a42-000064657374)]
|
||||
interface nsIXMLHttpRequest : nsISupports {
|
||||
noscript void addEventListener(in string type,
|
||||
[noscript] void addEventListener(in string type,
|
||||
in nsIDOMEventListener listener);
|
||||
noscript void removeEventListener(in string type,
|
||||
[noscript] void removeEventListener(in string type,
|
||||
in nsIDOMEventListener listener);
|
||||
attribute nsISupports onload;
|
||||
attribute nsISupports onerror;
|
||||
@@ -40,7 +40,7 @@ interface nsIXMLHttpRequest : nsISupports {
|
||||
void abort();
|
||||
string getAllResponseHeaders();
|
||||
string getResponseHeader(in string header);
|
||||
noscript void openRequest(in string method,
|
||||
[noscript] void openRequest(in string method,
|
||||
in wstring url,
|
||||
in boolean async,
|
||||
in string user,
|
||||
|
||||
@@ -625,9 +625,9 @@ nsXMLHttpRequest::Open(const char *method, const PRUnichar *url)
|
||||
}
|
||||
|
||||
if (argc > 2) {
|
||||
JSBool bool;
|
||||
JS_ValueToBoolean(cx, argv[2], &bool);
|
||||
async = (PRBool)bool;
|
||||
JSBool asyncBool;
|
||||
JS_ValueToBoolean(cx, argv[2], &asyncBool);
|
||||
async = (PRBool)asyncBool;
|
||||
|
||||
if (argc > 3) {
|
||||
JSString* userStr;
|
||||
|
||||
Reference in New Issue
Block a user