Re: AJAX - http.send(null)
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: AJAX - http.send(null)

From: Thomas 'PointedEars' Lahn <PointedEars@web.de>
Date: Wed Mar 22 2006 - 00:59:54 CET

afrinspray wrote:

> Alright after wasting a half hour of my life I finally understand the
> send method of xmlhttprequest.

You needed _half an hour_(!) to understand the connection between

| Error: uncaught exception: [Exception... "Component returned failure
| code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]"
                    ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^
| nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: [file
                         ^^^^^^^^^^^^^^^^
| name here] :: getReplyWindow :: line 62" data: no]

<http://lxr.mozilla.org/mozilla1.8.0/source/extensions/xmlextras/base/src/nsXMLHttpRequest.cpp#1423>
(see news:1204663.2ttVreq38l@PointedEars.de)

-------- /extensions/xmlextras/base/src/nsXMLHttpRequest.cpp ----------
[...]
1423 nsXMLHttpRequest::Send(nsIVariant *aBody)
     ^^^^^^^^^^^^^^^^ ^^^^
1424 {
1425 nsresult rv;
1426
1427 // Return error if we're already processing a request
1428 if (XML_HTTP_REQUEST_SENT & mState) {
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1429 return NS_ERROR_FAILURE;
                ^^^^^^^^^^^^^^^^
1430 }

? What kind of a silly loser are you anyway?

> God bless you PointedEars.
>
> BTW nice nickname! Must suck being a vampire. Also I might just have
> to change my name to afrospray.

FOAD. *PLONK*

PointedEars
Received on Mon May 1 04:19:18 2006