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:
vidur%netscape.com
2006-04-20 03:36:52 +00:00
parent 81804e7c6d
commit ef3528cc97
2 changed files with 6 additions and 6 deletions

View File

@@ -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,

View File

@@ -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;