Граф коммитов

157326 Коммитов

Автор SHA1 Сообщение Дата
heikki%netscape.com 793164e0a3 Bug 83573, XMLHttpRequest now adds itself to the loadgroup of the page (if called from JS) so that when you leave the page/hit stop, XMLHttpRequest aborts automatically. r=sicking, sr=bzbarsky. 2006-04-20 03:38:10 +00:00
alecf%netscape.com 1894726487 bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin
2006-04-20 03:38:09 +00:00
heikki%netscape.com 28d312c6f0 Bug 137866, responseText should default to UTF-8. r=bzbarsky, sr=jst. 2006-04-20 03:38:08 +00:00
heikki%netscape.com 8a26ee14e1 Bug 142812, setRequestHeader() should set, not add to, the header. r=timeless, sr=darin. 2006-04-20 03:38:07 +00:00
henry.jia%sun.com fbef8a4091 4th patch for bug 158080
Description: replace the hardcode of "@mozilla.org/embedcomp/window-watcher;1" with NS_WINDOWWATCHER_CONTRACTID
Patch by Henry.Jia@sun.com
r=anto, sr=alecf
2006-04-20 03:38:06 +00:00
alecf%netscape.com fe8bb82129 bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2006-04-20 03:38:05 +00:00
rbs%maths.uq.edu.au 801791fc9e Refine the conversion of entities during serialization, b=169590, r=nhotta, sr=jst 2006-04-20 03:38:04 +00:00
sfraser%netscape.com 49f0d632ac Fix bug 181823: make CheckSameOrigin always return a value, rather than garbage. r=heikki, sr=bzbarsky 2006-04-20 03:38:03 +00:00
heikki%netscape.com 88fbb89a6d Bug 169982, same origin check for serializeToStream. r=mstoltz, sr=jst. 2006-04-20 03:38:02 +00:00
mstoltz%netscape.com 16144a20f5 133170 - Need to re-check host for security on a redirect after a call to
XMLHttpRequest.open(). For xmlextras, r=heikki, sr=jband. For caps,
r=bzbarsky, sr=jst
147754 - Add same-origin check to XMLSerializer. Patch by jst. r=mstoltz,
sr=jband
113351 - Add same-origin check to XSL Include. Patch by peterv and jst,
r=mstoltz, sr=rpotts
135267 - Add same-origin check to stylesheets included via LINK tags.
r=dveditz, sr=scc
2006-04-20 03:38:01 +00:00
dougt%netscape.com 95b55eb8a9 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2006-04-20 03:38:00 +00:00
heikki%netscape.com 65afff3e5d Bug 129607, avoid trying to parse the response if we cannot be sure it is XML. This fixes hang in HTML parser, and is a big performance improvement if you are loading non-XML data. r=harishd, sr=vidur. 2006-04-20 03:37:59 +00:00
heikki%netscape.com dd39b64008 Bug 128541, make send(null) work again. r=harishd, sr=jst. 2006-04-20 03:37:58 +00:00
dbaron%fas.harvard.edu e3006749f8 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2006-04-20 03:37:57 +00:00
peterv%netscape.com 705d02b225 Fix for bug 129135 (XMLSerializer is broken). r=heikki, sr=jst, a=shaver. 2006-04-20 03:37:56 +00:00
heikki%netscape.com 0906ecb420 Bug 123953, crash when using XMLSerializer on 'orphaned' node. r=harishd, sr=vidur, a=asa. 2006-04-20 03:37:55 +00:00
heikki%netscape.com 9013809998 Bug 120836, responseText had regressed so that invalid characters made us throw error. Now we just replace invalid characters and continue, as before. r=harishd, sr=jst, a=scc 2006-04-20 03:37:54 +00:00
darin%netscape.com c4e6a3d6cd b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2006-04-20 03:37:53 +00:00
darin%netscape.com 29ca937e03 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2006-04-20 03:37:52 +00:00
heikki%netscape.com 0fdadbdb9e Bug 129109, abort() was partially implemented. r=harishd, sr=darin, a=asa. 2006-04-20 03:37:51 +00:00
peterv%netscape.com dbb821dcaf Fix for bug 92377 (Build failure: dom/src/base/nsDOMClassInfo.cpp depends on extensions/xmlextras). r=shaver, sr=jst, a=asa. 2006-04-20 03:37:50 +00:00
heikki%netscape.com 250cbe186e Bug 123499, enable arbitrary HTTP commands via XMLHttpRequest. Patch from matthew@mjwilson.demon.co.uk, r=heikki, sr=darin. 2006-04-20 03:37:49 +00:00
vidur%netscape.com 73d029f652 Fix for bug 122305. XMLHttpRequest now has a way to override the mime type of the incoming stream. r=heikki, sr=jst 2006-04-20 03:37:48 +00:00
rayw%netscape.com 84f639dc07 Changes to use contractid's for construction wherever available. This means
that the JS binding will work correctly.  Also removed old security model.


SOAP is not a part of default build.
2006-04-20 03:37:47 +00:00
jaggernaut%netscape.com eccf2906f5 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2006-04-20 03:37:46 +00:00
heikki%netscape.com 571f3f4791 Bug 98928, send() can take any type of parameter, i.e. it can now take JavaScript string. r=jst, sr=jband. 2006-04-20 03:37:45 +00:00
hyatt%netscape.com a7c5099c09 Remove overeager null argument check, since the serialization code clearly allows a null arg. Not part of build. 2006-04-20 03:37:44 +00:00
shanjian%netscape.com e3bad2f0d3 While I was checking in fix of 88363 yesterday, a conflict mess got into my
check in. Remove that mess.
2006-04-20 03:37:43 +00:00
shanjian%netscape.com e114f98eec #88363 Site with duplicate Content-Type loads with incorrect encoding
r=yokoyama sr=waterson
2006-04-20 03:37:42 +00:00
jaggernaut%netscape.com ecf7416214 Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2006-04-20 03:37:41 +00:00
hewitt%netscape.com f9a1a2896f 95127 - dispatchEvent() doesn't return a value, r=joki, sr=hyatt 2006-04-20 03:37:40 +00:00
gerv%gerv.net 7050e960ae License changes, take 2. Bug 98089. mozilla/extensions/. 2006-04-20 03:37:39 +00:00
gerv%gerv.net 8246ccbcea Oops. 2006-04-20 03:37:38 +00:00
scc%mozilla.org 1c50c6cd5e bug #98089: ripped new license 2006-04-20 03:37:37 +00:00
heikki%netscape.com fb8d97eaff Bug 100106, XMLHttpRequest.responseText empty if XML parsing error. r=harishd, sr=vidur. 2006-04-20 03:37:36 +00:00
heikki%netscape.com b32ad0daf1 Bug 78622, DOMParser and XMLHttpRequest failures when parser blocked (with xml-stylesheet for example). r=harishd,sr=vidur. 2006-04-20 03:37:35 +00:00
vidur%netscape.com ba656c85cb Fix for bug 98597. The event held onto from the document's load handler was bogus by the time we sent it to the XMLHttpRequest's event listeners (DOM events have members that are stack-based and, despite being reference-counted objects, should not be held across a call. Instead we create a new event of our own for the XMLHttpRequest load. r=heikki, sr=jst 2006-04-20 03:37:34 +00:00
valeski%netscape.com 41896319b8 r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2006-04-20 03:37:33 +00:00
dougt%netscape.com 3074bb5f3b Upload Channel API changes. Bug 29839. r=darin@Netscape.com, sr=rpotts@netscape.com.
Also fixes bug 63408, not alerting when file-not-found. r/sr same as above
2006-04-20 03:37:32 +00:00
heikki%netscape.com 7bdbe28cdb Bug 96459, bug 96307 and Bugscape 8288. Implement readyState and onreadystatechange members to enable progress indicators for download. Make it possible to call send() again in onload without crashing. Send load event only after everything done (was sent too early if XML errors). Make some functions throw error if called at the wrong time (match IE). Make it possible to build SOAP again (patch from peterv, r=heikki). r=harishd, sr=vidur, a=asa. 2006-04-20 03:37:31 +00:00
mstoltz%netscape.com e48fdeadb0 86984 - make history.length sameOrigin-accessible. Security prefs change.
91714 - CheckLoadURI should trest 'safe' and 'unsafe' about: URLs as different protocols
56260 - 'Remember This Decision' in signed script grant dialog should default to unchecked
83131 - More descriptive security error messages
93951 - Added null check in GetBaseURIScheme to prevent crash.
All bugs r=jtaylor, sr=jst
2006-04-20 03:37:30 +00:00
vidur%netscape.com a2a0d9aae7 Fix for bug 88078. XMLHttpRequest now accepts non-HTTP URIs as well. This is similar to IE behavior. r=heikki, sr=jst 2006-04-20 03:37:29 +00:00
heikki%netscape.com 60912a41e7 Bug 90530, make it possible to set content-type header. Patch from garths@oeone.com. r=heikki, sr=jst. 2006-04-20 03:37:28 +00:00
jaggernaut%netscape.com b675f03deb Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2006-04-20 03:37:27 +00:00
jst%netscape.com c193c9f9a3 Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. r=pollmann@netscape.com, rs=vidur@netscape.com 2006-04-20 03:37:26 +00:00
heikki%netscape.com 0d748850da Bug 88327, XMLHttpRequest.responseText did not support HTTP charset header. r=harishd, sr=jst. 2006-04-20 03:37:25 +00:00
dbaron%fas.harvard.edu bcbbc6ef58 Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa 2006-04-20 03:37:24 +00:00
heikki%netscape.com e19c0ee67a Bug 83557, make xmlextras work in embedding. XMLHttpRequest is more like a DOM class now, events are fired and executed on the proper context, and a lot of JS specific code was removed. Patch by jst, r=heikki, sr=vidur, a=asa@mozilla.org. 2006-04-20 03:37:23 +00:00
heikki%netscape.com 65b4bc56eb Bug 73958, XMLHttpRequest data corruption etc. Recursive stream readers are not supported, so I 'copy' by wrapping data in a light weight temporary stream and pass that to parser. Also fix 2 regressions: ignore parameter in Send() if method is GET and fix relative URLs. Finally this patch fixes the testcases, removes my hacky buffer now that nsCString can handle nulls in the middle, and do some minor code cleanup. r=harishd,sr=vidur,a=asa@mozilla.org 2006-04-20 03:37:22 +00:00
mstoltz%netscape.com bd1cd9dcf2 Re-checking-in my fix for 47905, which was backed out last night because of a bug in some other code that was checked in along with it. This checkin was not causing the crasher and is unchanged. See earlier checkin comment - in short, this adds same-origin to XMLHttpRequest and cleans up some function calls in caps, removes some unnecessary parameters. r=vidur, sr=jst. 2006-04-20 03:37:21 +00:00