Peter Van der Beken
387b6cf76b
Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst.
2008-11-13 17:54:52 +01:00
Peter Van der Beken
2ddc154612
Backed out changeset ba895ab8cbe7 to fix orange
2008-11-03 16:28:50 +01:00
Peter Van der Beken
c4fd862a7c
Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst.
2008-11-03 14:49:53 +01:00
Olli Pettay
c2c8f363fe
Bug 422856, Improve XHR cycle collection, r+sr=sicking
2008-10-28 20:30:10 +02:00
Olli Pettay
3fa3e7fa87
Bug 460751 - Progress events should use long long, not long for .total and .loaded, r=chris.double, sr=sicking
2008-10-21 12:06:53 +03:00
Arpad Borsos
8b05c605f7
Bug 456388 - "Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree" (followup for mozilla-central) [r+sr=brendan]
2008-10-21 01:50:05 -05:00
Olli Pettay
15b52ddb80
Bug 444546 - Don't dispatch progress event more often than every 350msec, r+sr=sicking
2008-10-20 00:26:37 +03:00
Jonas Sicking
ecdd8feaed
backout due to test failure
2008-10-14 17:12:28 -07:00
Jonas Sicking
fd95d7a5a3
Fix XHR unit test
2008-10-14 15:26:09 -07:00
Jonas Sicking
fa5114d80c
Fix compile errors
2008-10-14 14:24:53 -07:00
Jonas Sicking
06f565cdeb
Move Access-Control implemenation fully in to nsCrossSiteListenerProxy.cpp from and make some additional cleanup. No behavioral changes. r/sr=mrbkap b=459770
2008-10-14 14:05:41 -07:00
Jonas Sicking
5ecc6f263b
Ensure that documentURI and baseURI is correct for XHR created documents. For cross-site loaded XHR documents make the two URIs that of the loading page, just to be on the safe side.
...
r/sr=bz b=459470
2008-10-11 23:30:14 -07:00
Olli Pettay
4056ed9e13
Bug 457776 - 'ASSERTION: didn't call Disconnect', r+sr=jst
2008-10-09 09:38:04 +03:00
Olli Pettay
a50b33d3fb
Bug 458206 - Abort @ ~nsXMLHttpRequest, r+sr=sicking
2008-10-08 14:08:01 +03:00
Jonas Sicking
0d8121f3a2
Fix tests since network code or mochitest server can't deal with DELETE and PUT. r/sr=me
2008-09-30 17:54:04 -07:00
Jonas Sicking
bd5e92615c
Implement cookieless requests for Access-Control. b=389508 r=biesi sr=jst
2008-09-30 17:52:52 -07:00
Jonas Sicking
6f3de3c680
Ensure that you can't use upload ProgressEvents to do server detection when using Access-Control. b=389508 r=smaug sr=jst
2008-09-30 17:51:53 -07:00
Jonas Sicking
69b9ff0371
Update Access-Control implementation to match changes in spec. b=389508 r/sr=jst
2008-09-30 17:50:42 -07:00
Jonas Sicking
626dad6df0
Reland old Access-Control implementation. b=389508 r/sr=jst
2008-09-30 17:49:30 -07:00
Ben Turner
7ec0cd7421
Bug 450452 - 'Implement XHR (minus X) for worker threads. r+sr=jst'
2008-09-30 16:56:57 -07:00
Olli Pettay
aa6691f983
Bug 382871 - XMLHttpRequest JS wrapper not preserved by its event handlers, r+sr=jst
2008-09-25 17:40:30 +03:00
Ben Turner
7ad590ba69
Backed out changeset 5986b4269d9d
2008-09-24 21:07:05 -07:00
Ben Turner
4117a13d27
Bug 450452 - "Implement XHR ('minus X') for worker threads". r+sr=jst.
2008-09-24 19:48:07 -07:00
Olli Pettay
d0d927a594
Bug 445225 - Make progress events to work properly with multipart XHR, r+sr=jst
2008-09-11 13:44:15 +03:00
Boris Zbarsky
5863cb9ef2
imported patch bug431701
2008-08-28 08:56:45 -04:00
Vesselin
d8f5af72d4
Bug 439214. Make sure to stop the sync XMLHttpRequest load if somehow Abort() is called during the syncloop. r+sr=jst
2008-08-25 13:21:28 -04:00
Olli Pettay
e92a0ecaf8
Bug 372964, Make XMLHttpRequest to work more like a normal event target, additional patch, r+sr=jst
2008-08-19 16:02:02 +03:00
Olli Pettay
e28eb0e459
Bug 435425 – Progress events for XHR, r=sicking, sr=jst
2008-08-14 14:07:46 +03:00
Olli Pettay
a0fce88b65
Bug 372964 – Make XMLHttpRequest to work more like a normal event target, r=sicking, sr=jst
2008-08-14 14:04:43 +03:00
Boris Zbarsky
1e89b29dfe
Bug 431701. Fix our inputEncoding handling to comply with the DOM spec, and fix XHR of a in-memory-only document to follow the XHR spec and send it as UTF-8. r+sr=sicking
2008-08-06 16:59:37 -04:00
Adam Barth
5e79bb94d8
Bug 429781 - "Update XMLHttpRequest blocked header list" [r+sr=sicking]
2008-07-12 18:06:36 -05:00
jonas@sicking.cc
ab63fc8524
Followup patch to bug 425201. Make sure to throw if xhr.open is called with an illegal uri. Also restore the nsIScriptSecurityManager.CheckConnect API as soap still uses it
2008-04-18 10:35:55 -07:00
jonas@sicking.cc
ec7a19c8b9
Allow XMLHttpRequest and document.load load files from subdirectories. r/sr=dveditz
2008-04-08 17:38:12 -07:00
jonas@sicking.cc
3706916cab
Bug 425078: Not showing authentication dialog box when request is made throught XMLHttpRequest in chrome window. r/sr=jst
2008-04-08 17:27:50 -07:00
timeless@mozdev.org
659585cffb
Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore
2008-04-07 23:18:35 -07:00
reed@reedloden.com
08a15dec3c
Bug 426308 - "Cross site XHR backout broke redirect handling for privileged code" [p=manish@flock.com (Manish Singh) r+sr=sicking a=blocking1.9+]
2008-04-04 02:01:22 -07:00
bzbarsky@mit.edu
d7fc979918
Fix bug 421228. r+sr=sicking
2008-03-27 20:46:15 -07:00
jonas@sicking.cc
5fcdbd4297
Bug 424923: Remove support for cross-site XHR. r/sr=jst for code changes
2008-03-25 19:46:08 -07:00
bzbarsky@mit.edu
786bfd8105
Fix bug 424212, r+sr=sicking, a=beltzner
2008-03-21 22:09:41 -07:00
dbaron@dbaron.org
9c126b98d3
Fixing asymmetry between what timeless landed for bug 394114 and what he backed out.
2008-03-19 15:05:04 -07:00
timeless@mozdev.org
7f880e43ef
reverting, wrong patch, missing AMBIGUOUS
2008-03-19 14:55:22 -07:00
mattwillis@gmail.com
3e8f68ae6c
Bug 383430 - Add features to XHR for convenience of background requests. Patch by Manish Singh <manish@flock.com> r/sr=sicking, a1.9=shaver
2008-03-18 17:14:38 -07:00
cbiesinger@gmail.com
a07795d966
bug 422537 use a storage stream instead of a pipe as the upload stream when send()ing a document, to follow the expectations of nsIUploadChannel which wants a seekable stream. r+sr=bz a=beltzner
2008-03-18 12:49:20 -07:00
gavin@gavinsharp.com
a160da0493
Bug 422808: remove forwarding of nsIAuthPrompt for XHR and document.load so that users fall back to the more useful docshell prompts, r=sicking, sr=biesi (r=dolske on tests)
2008-03-18 11:18:29 -07:00
mattwillis@gmail.com
c881e37ffe
Bug 421622 - nsXMLHttpRequest#send() shouldn't reset all request headers when called from chrome. Patch by Manish Singh <manish@flock.com> r/sr=sicking, a1.9=beltzner
2008-03-13 04:43:06 -07:00
bzbarsky@mit.edu
d1c1513392
Add the charset right after the type, before all other params, if there is no existing charset in the type. Bug 413974, r=biesi, sr=sicking, a=beltzner
2008-02-28 20:24:32 -08:00
jonas@sicking.cc
28ea51311b
Bug 416534: Clean up cross-site xmlhttprequest security checks. With fixes to tests this time. r/sr=peterv
2008-02-26 19:45:29 -08:00
myk@mozilla.org
7aff03fc46
backing out fix for bug 416534 as potential cause of mochitest failure
2008-02-26 19:23:36 -08:00
jonas@sicking.cc
42bbc8327e
Bug 416534: Clean up cross-site xmlhttprequest security checks. r/sr=peterv
2008-02-26 18:17:49 -08:00
bent.mozilla@gmail.com
772531dde1
Bug 392322 - "XMLHttpRequest crashes on local file retrieval [@ nsCrossSiteListenerProxy::OnStartRequest]". r+sr=sicking, a=blocking1.9+.
2008-02-19 15:12:23 -08:00
reed@reedloden.com
33749ae106
Bug 416958 - "Update header names" [p=suryaismail@gmail.com (Surya Ismail) r+sr=sicking a=blocking1.9+]
2008-02-16 19:26:13 -08:00
bent.mozilla@gmail.com
0937a82717
Backing out bug 392322 due to test failure.
2008-02-12 23:23:05 -08:00
bent.mozilla@gmail.com
534ea8ce3e
Bug 392322 - "XMLHttpRequest crashes on local file retrieval [@ nsCrossSiteListenerProxy::OnStartRequest]". r+sr=sicking, a=blocking1.9+.
2008-02-12 20:54:08 -08:00
reed@reedloden.com
4c4140bd62
Bug 398433 - "PRBool misuse bugs in content/" [p=tglek@mozilla.com (Taras Glek) r+sr=sicking a1.9=schrep a=blocking1.9+]
2008-02-09 22:16:30 -08:00
bent.mozilla@gmail.com
be4c3f2d35
Bug 379824 - "xmlhttprequest abort method changes readystate to 4". r+sr=sicking, a=blocking1.9.
2008-02-06 21:03:01 -08:00
jonas@sicking.cc
2c0141fcd9
Bug 397878: Send Referer-Root header when doing cross-site access requests. Also update domain pattern matching to spec. Patch by <suryaismail@gmail.com>. r=bent sr=sicking b3a=beltzner
2008-01-31 00:16:54 -08:00
jonas@sicking.cc
4bae9d8202
Bug 413071: Fix bug in cross site XHR. r/sr=jst
2008-01-29 22:43:47 -08:00
bent.mozilla@gmail.com
dae7d2142e
Bug 411530 - Don't use the HTTP cache for non-GET access checks. r+sr=sicking, a=blocking1.9.
2008-01-29 22:35:33 -08:00
benjamin@smedbergs.us
b3e87aa63b
Bug 411327 - nsIXPCNativeCallContext should not inherit from nsISupports, r=mrbkap, a=schrep
2008-01-15 07:50:57 -08:00
Olli.Pettay@helsinki.fi
7b08ddd398
Bug 403168, r=jonas, sr=jst, a=blocking1.9
2007-12-12 00:33:32 -08:00
bzbarsky@mit.edu
6749e64aee
Add a way to extract the charset and the position of the charset parameter from a content-type header. Use this in XMLHttpRequest to not clobber the non-charset parameters and not clobber the charset if it's already what we'll set, up to case. Apparently some broken servers are case-sensitive when looking at charsets! Bug 393968 (wherein the patch lies) and bug 397234, r+sr=biesi
2007-12-03 13:34:44 -08:00
reed@reedloden.com
093bf33685
Bug 406001 - "Remove extraneous semicolons in nsXMLHttpRequest.cpp" [p=benjamin@smedbergs.us (Benjamin Smedberg [bsmedberg]) a1.9=damons]
2007-11-30 23:16:15 -08:00
bzbarsky@mit.edu
bdb6e36dd6
When calling open() on an in-progress XMLHttpRequest, abort the request but still allow the open() to reinitialize it. Bug 322317, r+sr=sicking, a=vlad
2007-11-15 14:18:36 -08:00
jonas@sicking.cc
4c1a3910ac
bug 394390: Don't report bogus warnings to the error console when using cross-site xmlhttprequest. Patch by Surya Ismail <suryaismail@gmail.com>, r/sr=sicking
2007-10-26 18:46:09 -07:00
Olli.Pettay@helsinki.fi
723f86ac2f
Landing (again) Bug 373462, bug 385322, Better scheduling of cycle collection/gc, r+sr=sicking,jst
2007-10-22 14:42:25 -07:00
Olli.Pettay@helsinki.fi
4474bdc204
backout Bug 373462, bug 385322. Still regress tp/talos
2007-10-21 09:46:54 -07:00
Olli.Pettay@helsinki.fi
530a7e0fd0
Test-landing (again) Bug 373462, bug 385322, Better scheduling of cycle collection/gc, r+sr=sicking,jst
2007-10-21 07:09:29 -07:00
Olli.Pettay@helsinki.fi
0fd7a1c518
Bug 393762, Bug 393761 and Bug 382636, r=jst, sr=peterv
2007-10-01 03:02:32 -07:00
Olli.Pettay@helsinki.fi
d8000edd01
back out Bug 373462 / bug 385322 (again :( )
2007-09-29 10:33:22 -07:00
Olli.Pettay@helsinki.fi
67f0237669
Bug 373462 / bug 385322, Better scheduling of cycle collection/gc, r+sr=jst
2007-09-29 08:02:57 -07:00
Olli.Pettay@helsinki.fi
5a7c50d7ec
backout the test patch for Bug 373462 and 385322
2007-09-23 09:10:12 -07:00
Olli.Pettay@helsinki.fi
ea28e0a59b
Testland a patch for Bug 373462 and 385322, 'Better scheduling of cycle collection/gc'
2007-09-23 07:05:27 -07:00
Olli.Pettay@helsinki.fi
deef8b8707
backout patch for Bug 373462, Bug 385322
2007-09-21 03:00:47 -07:00
Olli.Pettay@helsinki.fi
a6a81f8852
Bug 373462, Bug 385322, Better scheduling of cycle collection/gc, r=jst, sr=sicking, a=sicking
2007-09-21 01:54:36 -07:00
jonas@sicking.cc
b55ea7eae8
Bug 390219: Ignore OnStartRequest/OnStopRequest calls for other channels, i.e. ones already aborted. Also set owner on the right channel for multipart responses. r/sr/a=jst
2007-09-05 20:51:56 -07:00
cbiesinger@gmx.at
179c84381e
bug 392117 pass lowercase strings to LowerCaseEqualsLiteral r+sr=sicking
2007-08-20 10:27:47 -07:00
bzbarsky@mit.edu
bd826c03d9
Make NS_CheckContent(Load|Process)Policy only take a principal, not a principal and a uri. Get the URI from the principal. Bug 391438, r+sr+a=sicking
2007-08-09 22:35:08 -07:00
bzbarsky@mit.edu
16e6040261
Use the principal doing the load to decide on the URI to pass to content policies. This will help do the right thing for data:/javascript:/about:blank, as well as allow us to skip content policies altogether if the caller is system. Bug 388597, r+sr=sicking
2007-08-07 18:16:09 -07:00
jonas@sicking.cc
2c1c80b6e6
Bug 389508: Fix regressions and bugs in the new Cross Site XMLHttpRequest support. r/sr=jst a=roc
2007-07-30 17:42:16 -07:00
jonas@sicking.cc
23898aef7e
Bug 389508: Cross site XMLHttpRequest. r=jst/biesi sr/dveditz/biesi
2007-07-26 19:49:18 -07:00
jonas@sicking.cc
5784b0a2f5
backout due to orange
2007-07-26 16:34:22 -07:00
jonas@sicking.cc
1d3132db39
Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi
2007-07-26 15:20:29 -07:00
dcamp@mozilla.com
c367b9d568
add a sendAsBinary() method to XMLHttpRequest (for sending data from an <input type=file> element, among other things). b=371432, r+sr=jonas
2007-07-24 21:53:21 -07:00
philringnalda@gmail.com
765b50b310
Bug 382947 - XMLHttpRequest should only set the charset in the Content-Type request header if we know the charset, patch by Ryan Jones <sciguyryan@gmail.com>, r=bzbarsky, sr=peterv
2007-07-08 19:33:07 -07:00
jwalden@mit.edu
6d7584839a
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
peterv@propagandism.org
4aea5fea8f
Fix for bug 386656 (Security Error: Content at moz-nullprincipal:{8c0f4edc-0aac-45cc-8471-895f07bb1bb2} may not load or link to resource://gre/res/hiddenWindow.html during install of latest NTT Build). r/sr=jst.
2007-07-04 00:27:36 -07:00
peterv@propagandism.org
206dd7d6e0
Fix for bug 326337 (XMLHttpRequest.responseXML permission denied if document.domain set). r=jst, sr=bz.
2007-07-02 06:20:01 -07:00
dveditz@cruzio.com
66253fb571
bug 381264 nix 'track' method; r=biesi, sr=sicking
2007-06-26 02:28:38 -07:00
kherron@fmailbox.com
4f3b4ab01c
Bug 375314 - discriminate ping and xmlhttprequests in content policy check. Patch by Wladimir Palant <trev.moz@adblockplus.org>, r=jst, sr=peterv.
2007-06-17 06:50:50 -07:00
benjamin@smedbergs.us
57fb6d92d8
Bug 319934 - Prevent shutdown crashes by having XMLHttpRequest objects hold the layout module alive, r+sr=dbaron
2007-05-16 10:05:47 -07:00
Olli.Pettay@helsinki.fi
7817abfbca
Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
2007-05-14 02:11:38 -07:00
asqueella@gmail.com
5b30c0b558
Bug 362043 - XMLHttpRequest should set a charset in the Content-Type request headerp=Ryan Jones <sciguyryan@gmail.com>r+sr=peterv
2007-05-13 09:41:46 -07:00
Olli.Pettay@helsinki.fi
40178e46a3
backout Bug 363089
2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
e1fb8b073b
Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
2007-05-11 04:15:11 -07:00
peterv@propagandism.org
f091506c2b
Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking.
2007-04-25 09:35:27 -07:00
asqueella@gmail.com
2da152ddf7
Bug 371123 - XMLHttpRequest should trigger content policies
...
p=Wladimir Palant <trev@gtchat.de>r=jst, sr=sicking
2007-03-24 22:35:39 -07:00
peterv%propagandism.org
0e04a8b0f2
Fix for bug 368549 (Cycle collector doesn't handle tearoffs correctly). r=graydon, sr=jst.
2007-02-18 14:38:04 +00:00
bzbarsky%mit.edu
e20559a5a3
Remove XML_HTTP_REQUEST_ROOTED vestiges. Bug 367678, r=peterv, sr=dbaron
2007-02-09 04:36:33 +00:00
bzbarsky%mit.edu
e13ee4cb9b
Make sure to process any pending exceptions the security manager has set if
...
we're not called from JS. Bug 369157, r+sr=brendan.
2007-02-04 22:06:49 +00:00
bzbarsky%mit.edu
f993c1bc3e
Don't crash if AsyncOpen fails and the OnReadyStateChange handler restarts us.
...
Bug 366467, r+sr=sicking
2007-01-26 04:48:14 +00:00
graydon%mozilla.com
4525ab79d9
Bug 333078: XPCOM cycle collector
...
r=brendan, sicking, bz, dbaron, bsmedberg
2007-01-04 22:31:26 +00:00
Olli.Pettay%helsinki.fi
fdca21c5e6
Bug 364219, Crash [@ CallQueryInterface] when passing on an xmlhttprequest load event to a timeout, r+sr=peterv
2006-12-21 19:27:48 +00:00
bzbarsky%mit.edu
bb3526a4ce
Make sure the XML decl in the data we post when a document is passed to send()
...
matches the encoding we use. Bug 361934, r=sicking, sr=biesi
2006-12-01 04:48:05 +00:00
mats.palmgren%bredband.net
117c2ca714
Fix a crash when onreadystatechange handler loads a new URL. b=361773 r+sr=bzbarsky
2006-11-28 13:56:40 +00:00
vladimir%pobox.com
82a10357c9
backing out bug 333078, xpcom cycle collector due to perf issues
2006-11-22 23:18:16 +00:00
vladimir%pobox.com
3748c8bf4f
b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many
2006-11-22 19:23:02 +00:00
bzbarsky%mit.edu
fa235adf49
Fix use of uninitialized rv in failure conditions. Bug 353285, patch by Ryan
...
Jones <sciguyryan+bugzilla@gmail.com>, r+sr=bzbarsky
2006-09-20 17:21:11 +00:00
Olli.Pettay%helsinki.fi
64e491c833
Bug 351036, Combine NS_IMAGE_ERROR and NS_SCRIPT_ERROR, r+sr=jst
2006-09-02 10:00:26 +00:00
Olli.Pettay%helsinki.fi
a42613e4f6
Bug 350846, Combine NS_***_LOAD events, r+sr=jst
2006-08-31 19:33:01 +00:00
dbaron%dbaron.org
b8a40d9199
Fix leak of nsMarkedJSFunctionHolder so that its destructor now cleans up a dangling pointer. b=345660 r+sr=sicking
2006-08-01 21:05:38 +00:00
jst%mozilla.jstenback.com
966a1c7a4b
Fixing bug 170477. Make XMLHttpRequest send the calling code's URI as the http referrer. r=bugmail@sicking.cc, sr=darin@meer.net
2006-07-06 22:10:04 +00:00
peterv%propagandism.org
090f2dd5c1
Fix for bug 337704 (Clean up files moved from xmlextras). r/sr=bz.
2006-06-15 20:30:44 +00:00
mhammond%skippinet.com.au
0f241835df
Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan.
2006-06-13 03:07:47 +00:00
mrbkap%gmail.com
98997f8669
Checking in Ben Turner <bent.mozilla@gmail.com> and timeless's patch to make Gecko use the JS engine's request model to help multithreaded embedders avoid GC races and crashes. bug 176182, r=mrbkap assumed-rs=brendan
2006-06-12 22:39:55 +00:00
sayrer%gmail.com
e8e9d19473
b=339530. Basic auth fails with XMLHttpRequest. r=peterv, sr=jst
2006-06-07 01:42:22 +00:00
timeless%mozdev.org
a768026fc9
Bug 337917 Make consumers stop using cids from other modules
...
r=smontagu sr=darin
2006-06-03 23:35:59 +00:00
dbaron%dbaron.org
5c13c92f24
Create a mechanism to allow GC participants to be marked as externally reachable due to network loads, make XMLHttpRequest a GC participant and use nsMarkedJSFunctionHolder to manage its event listeners just like DOM event listeners to avoid leaks due to cycles. b=206520 r=mrbkap, darin, bzbarsky sr=jst
2006-05-26 01:00:21 +00:00
bzbarsky%mit.edu
ac1c0d03fd
Fix XMLHttpRequest progress events. Bug 337374, r+sr=sicking
2006-05-15 18:28:21 +00:00
darin%meer.net
0318b8c707
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
2006-05-10 17:30:15 +00:00
timeless%mozdev.org
28fa63a8f5
Bug 335953 Make code outside intl use NS_CHARSETALIAS_CONTRACTID instead of NS_CHARSETALIAS_CID
...
r=bz sr=bz
2006-05-06 22:09:20 +00:00
bzbarsky%mit.edu
86cdacb339
Clean up event dispatch code in XMLHttpRequest, make onreadystatechange an
...
EventListener, fire upload progress events. Bug 198595 and bug 312213, patch
by me for the cleanup and onreadystatechange and by Rob Adams
<readams@readams.net> for the upload progress changes, r=sicking, sr=peterv
2006-05-05 17:01:53 +00:00
bzbarsky%mit.edu
0c3706888c
Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking
2006-04-27 18:21:11 +00:00
peterv%propagandism.org
02f7995799
Fix for bug 324865 (Move XMLHttpRequest to gklayout). r/sr=jst.
2006-04-26 09:19:48 +00:00
Olli.Pettay%helsinki.fi
fe02c71281
Bug 234455, Centralize event dispatch r=jst, sr=bz
2006-04-20 03:39:54 +00:00
bzbarsky%mit.edu
b4355576e5
Actually address the review comment too. Bug 324601.
2006-04-20 03:39:53 +00:00
bzbarsky%mit.edu
5456d83d62
Don't leak the channel and XMLHttpRequest object if AsyncOpen fails. Bug
...
323454, r=biesi, sr=darin
2006-04-20 03:39:52 +00:00
bzbarsky%mit.edu
a0907497e8
Give a saner principal to documents created via DOMImplementation. Bug 324601,
...
r=sicking, sr=jst
2006-04-20 03:39:51 +00:00
bzbarsky%mit.edu
4f00de6d9d
Don't throw when status is gotten after a server timeout or some such. Bug
...
304980, r=darin, sr=jst
2006-04-20 03:39:50 +00:00
darin%meer.net
6de16e96e2
fixes bug 318193 "Input streams are not implemented consistently" r=biesi sr=bz
2006-04-20 03:39:49 +00:00
darin%meer.net
cf3756a10f
fixes bug 309424 "mozilla 1.5beta1 freezes & goes into 95+% cpu usage browsing blackisha.com" r=biesi sr=bzbarsky
2006-04-20 03:39:48 +00:00
darin%meer.net
174dbb6029
fixes bug 273578 "XMLHttpRequest with async = false takes 100% CPU until request finished" r=jst sr=bz
2006-04-20 03:39:47 +00:00
darin%meer.net
3291d64315
fixes bug 308484 "Extensions can't set Content-Length header for XMLHttpRequest" r=dveditz sr=jst
2006-04-20 03:39:46 +00:00
darin%meer.net
90cb96d142
Second patch for bug 295074 "POST responses remain in the memory cache when using XMLHttpRequest => huge memory leak" r=biesi sr=jst
2006-04-20 03:39:45 +00:00
peterv%propagandism.org
606d5b8c27
Fix for bug 307049 (XMLHttpRequest seems to try to parse the empty (!) body of the response to an HTTP HEAD request). r=biesi, sr=bz.
2006-04-20 03:39:44 +00:00
cbiesinger%web.de
534a24c489
bug 305243 set an XML content-type hint on XMLHttpRequest channels, to always
...
parse local files as XML.
Also, make TestXMLExtras convert non-ASCII bytes to UTF-16 correctly.
r=jst sr=bz
2006-04-20 03:39:43 +00:00
cbiesinger%web.de
8eaf3d5097
Bug 293046 XMLHttpRequest.overrideMimeType() makes loading abort for non-XML
...
patch by Wladimir Palant <trev@gtchat.de> r=jst sr=darin
2006-04-20 03:39:41 +00:00
darin%meer.net
4808e5a6a6
fixes bug 302809 "AJAX regression: POST setRequestHeader causes NS_ERROR_ILLEGAL_VALUE for invalid headers" r+sr=dveditz a=cbeard
2006-04-20 03:39:39 +00:00
darin%meer.net
9374e8af1d
fixes bug 302489 "XMLHTTP TRACE method can reveal proxy passwords to web sites" r=jst sr=dveditz a=asa
2006-04-20 03:39:38 +00:00
darin%meer.net
3be32bd5c6
fixes bug 295074 "POST responses remain in the memory cache when using XMLHttpRequest => huge memory leak" r+biesi sr=jst a=asa
2006-04-20 03:39:37 +00:00
darin%meer.net
fd180aedbe
fixes bug 302263 "prevent certain headers from being set on a XMLHttpRequest" r=dveditz sr=jst a=dveditz
2006-04-20 03:39:36 +00:00
bryner%brianryner.com
ba204186cf
Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver.
2006-04-20 03:39:35 +00:00
bzbarsky%mit.edu
9f7ae1e45c
Save the user-set notification callbacks when we set ourselves on the channel,
...
and forward various notifications to them. Bug 292391, r=biesi, sr=darin, a=asa
2006-04-20 03:39:34 +00:00
bryner%brianryner.com
5c1a894e8a
Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan.
2006-04-20 03:39:33 +00:00
bzbarsky%mit.edu
176bcb93f5
Don't crash if responseText is gotten when we have no channel. Bug 289156,
...
r+sr=jst, a=chofmann
2006-04-20 03:39:32 +00:00
jst%mozilla.jstenback.com
ed40021b5c
Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
2006-04-20 03:39:31 +00:00
timeless%mozdev.org
6d22ad3517
Bug 286090 nsXMLHttpRequest.cpp should probably avoid text/xml
...
patch by bug@annevankesteren.nl r=doron sr=peterv
2006-04-20 03:39:30 +00:00
cbiesinger%web.de
49732c5891
181938 allow any protocol to support redirection, using a new
...
nsIChannelEventSink interface.
r=darin sr=bz
2006-04-20 03:39:29 +00:00
bzbarsky%mit.edu
1549cce8ba
Fixing build bustage
2006-04-20 03:39:28 +00:00
bzbarsky%mit.edu
b88ca09866
Make nsIXMLHttpRequest.getResponseHeader follow the documented api. Bug
...
276705, r=doron, sr=jst
2006-04-20 03:39:27 +00:00
cbiesinger%web.de
430fe5de54
bug 264599 make unfrozen necko interfaces use 64-bit integers.
...
r=darin sr=bz a=asa
2006-04-20 03:39:26 +00:00
jst%mozilla.jstenback.com
dbf3a4f38d
Fixing bug 268844. Don't force the cache to be bypassed for non-multipart requests. r=bzbarsky@mit.edu, sr=darin@meer.net
2006-04-20 03:39:25 +00:00
bzbarsky%mit.edu
f51a9369bc
Don't try to parse the response on necko-level errors (dns failures, timeouts,
...
etc). Bug 268472, r+sr=jst
2006-04-20 03:39:24 +00:00
bzbarsky%mit.edu
007aca5b5a
Make it possible to re-call an XMLHttpRequest object from its onreadystate
...
handler by clearing listeners before calling onreadystate, not after. Bug
258768, r=doron, sr=jst
2006-04-20 03:39:23 +00:00
bzbarsky%mit.edu
3f716e457c
Don't add 4 to the length, so we don't send 4 extra bytes of garbage POST
...
data. Bug 246651 followup, r+sr=darin, a=asa
2006-04-20 03:39:21 +00:00
bzbarsky%mit.edu
93e871a8c5
Just let the HTTP impl compute the content-length for our POST data. It does a
...
better job of it. Bug 246651, r=darin, sr=jst.
2006-04-20 03:39:20 +00:00
pkw%us.ibm.com
ca869e5004
Bug 252345 - Memory leak in nsXMLHttpRequest.cpp (seen when using GMail).
...
r=peterv@propagandism.org , sr=darin@meer.net
2006-04-20 03:39:19 +00:00
scott%scott-macgregor.org
5bba4679e3
Bug #251418 --> Expose progress notification events through nsIXMLHttpRequest. Allow consumers of nsIXMLHttpRequest to
...
set a progress event listener. Listen for the http channel's nsIProgressEventSink notification and fire our new progress event
to the consumer.
r/sr=jst
2006-04-20 03:39:18 +00:00
scott%scott-macgregor.org
cda79a6198
Backing myself out. I thought I was checking into the aviary 1.0 branch
2006-04-20 03:39:17 +00:00
scott%scott-macgregor.org
c866840e10
Bug #251418 --> Expose progress notification events through nsIXMLHttpRequest. Allow consumers of nsIXMLHttpRequest to
...
set a progress event listener. Listen for the http channel's nsIProgressEventSink notification and fire our new progress event
to the consumer.
r/sr=jst
2006-04-20 03:39:16 +00:00
cbiesinger%web.de
fb1bc6a924
bug 248810 nsIStreamConverter[Service] uses wide strings for mime types
...
r+sr=darin
2006-04-20 03:39:15 +00:00
roc+%cs.cmu.edu
b07527b63a
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
2006-04-20 03:39:14 +00:00
timeless%mozdev.org
0df9601162
Bug 243579 Change nsIOnReadystatechangeHandler to nsIOnReadyStateChangeHandler
...
r=jst sr=jst
2006-04-20 03:39:13 +00:00
roc+%cs.cmu.edu
ac52420f10
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
2006-04-20 03:39:11 +00:00
jst%mozilla.jstenback.com
95c188a487
Whitespace only change.
2006-04-20 03:39:10 +00:00
jst%mozilla.jstenback.com
4e419ff2fb
Removing stray whitespace. No code change.
2006-04-20 03:39:09 +00:00
gerv%gerv.net
d2904cd7c1
Bug 236613: change to MPL/LGPL/GPL tri-license.
2006-04-20 03:38:57 +00:00
sicking%bigfoot.com
fd854bce9b
Still bug 239572, but this time with the fix not commented out!
...
r/sr=jst a=chofmann
2006-04-20 03:38:56 +00:00
sicking%bigfoot.com
2871ca9eb8
Bug 239572: nullcheck before calling CallQueryInterface
...
r/sr=jst a=chofmann
2006-04-20 03:38:55 +00:00
darin%meer.net
025ee571ef
fixes bug 237845 "WSDL bindings fail on Mozilla 1.7 beta" patch by keeda@hotpop.com r+sr=bz,jst a=asa
2006-04-20 03:38:54 +00:00
jst%mozilla.jstenback.com
1b422eca3a
Fixing bug 237319. Adding support for server push of XML documents to an XMLHttpRequest using "multipart/x-mixed-replace". r=darin@meer.net, sr=hjtoi-bugzilla@comcast.net, a=chofmann@mozilla.org
2006-04-20 03:38:52 +00:00
jst%mozilla.jstenback.com
a9eb73ebb5
Fixing bug 232493. Paving the way for DOM Level 3 LS. This is mostly cleanup that will make life easier (and safer) when implementing DOM LS. r=caillon@aillon.org, sr=peterv@propagandism.org
2006-04-20 03:38:51 +00:00
jst%mozilla.jstenback.com
2080518c80
Fixing bug 232493. Paving the way for DOM Level 3 LS. This is mostly cleanup that will make life easier (and safer) when implementing DOM LS. r=caillon@aillon.org, sr=peterv@propagandism.org
2006-04-20 03:38:50 +00:00
hjtoi%comcast.net
ca4a979559
Bug 236436, need to null check URL so we won't crash, r+sr=jst.
2006-04-20 03:38:49 +00:00
bzbarsky%mit.edu
178957ce70
Make XMLHttpRequest dispatch an error event when it fails. Bug 218236, patch
...
by Wladimir Palant <trev@gtchat.de>, r=jst, sr=bzbarsky
2006-04-20 03:38:48 +00:00
jst%mozilla.jstenback.com
ed2b3e188a
Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org
2006-04-20 03:38:47 +00:00
jst%mozilla.jstenback.com
5169910cb4
Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
2006-04-20 03:38:45 +00:00
jst%mozilla.jstenback.com
5e967895b3
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
2006-04-20 03:38:44 +00:00
bryner%brianryner.com
b14d9fa790
Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard.
2006-04-20 03:38:43 +00:00
jst%mozilla.jstenback.com
e6d703999d
General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
2006-04-20 03:38:42 +00:00
bryner%brianryner.com
ab49f6f8f3
deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
2006-04-20 03:38:41 +00:00
hpradhan%hotpop.com
55a44b6c5b
Bug 206947: Synchronous XMLHttpRequest leaks and can cause crashes r=heikki sr=jst
2006-04-20 03:38:37 +00:00
timeless%mozdev.org
fcc5e37682
Bug 214398 - Refactor some copied code into a function in nsXMLHttpRequest
...
patch by riceman+bmo@mail.rit.edu r=jst sr=jst
2006-04-20 03:38:36 +00:00
jaggernaut%netscape.com
300141e63e
Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
2006-04-20 03:38:35 +00:00
bzbarsky%mit.edu
4a0fde8374
Update the string stream interface a bit and simplify the implementation a
...
lot. Bug 212109, r=dougt, sr=darin
2006-04-20 03:38:34 +00:00
jst%netscape.com
a4876aee97
Fixing bug 209884. Writing an inline helper to safely get an nsIScriptContext from a JSContext and making direct callers of JS_GetContextPrivate() use the helper. r=caillon@aillon.org, sr=peterv@netscape.com
2006-04-20 03:38:33 +00:00
alecf%flett.org
ebb649170a
fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
...
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2006-04-20 03:38:32 +00:00
caillon%returnzero.com
c7a7e6b916
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2006-04-20 03:38:29 +00:00
alecf%flett.org
25442ddb63
fix for bug 206379:
...
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
2006-04-20 03:38:28 +00:00
varga%netscape.com
47c857ecf2
Fix for bug 208912. DOMParser produces documents with about:blank uri.
...
r=heikki, sr=peterv
2006-04-20 03:38:27 +00:00
heikki%netscape.com
3292eda9fe
Bug 204545, remove event listeners when needed, which fixes practically all known memory leaks and gets us a step closer to IE compatibility. r=harishd, sr=jst, a=asa.
2006-04-20 03:38:26 +00:00
heikki%netscape.com
624a7fafa8
Bug 177533, fix most XMLHttpRequest memory leaks and other minor issues, r=darin, sr=jst, a=asa.
2006-04-20 03:38:24 +00:00
heikki%netscape.com
ece879d6ae
Bug 197141, XMLHttpRequest behavior did not match IE when host was not found, r=harishd, sr=darin.
2006-04-20 03:38:23 +00:00
sfraser%netscape.com
cda57fc104
Fix bug 195160: remove static NS_DEFINE_IID from header files. r=cls, sr=alecf.
2006-04-20 03:38:22 +00:00
heikki%netscape.com
aaaf2beb20
Bug 190180, fix UMR, r=harishd, sr=jst.
2006-04-20 03:38:21 +00:00
heikki%netscape.com
3d4beabe8d
Bug 166978, XMLHttpRequest does not load synchronously in embedding applications, r=sicking, sr=darin. Bug 111614, DOMParser.parseFromString in modal dialog makes it non-modal. parseFromString also does not work in embedding when loading files that block the parser (like files with xml-stylesheet PI). r=sicking, sr=darin.
2006-04-20 03:38:20 +00:00
dbaron%dbaron.org
7451de2691
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2006-04-20 03:38:18 +00:00
hpradhan%hotpop.com
738a082a49
Bug 176051: XMLHttpRequest POST fails to send body when authentication required
...
r=heikki sr=darin
2006-04-20 03:38:17 +00:00
darin%netscape.com
028fbb9c37
fixes bug 157133 "HTTP Interfaces need to be frozen" r=dougt sr=bzbarsky
2006-04-20 03:38:16 +00:00
darin%netscape.com
c45f7a3bba
fixes bug 173094 "Freeze nsIUploadChannel" r=dougt,timeless sr=rpotts
2006-04-20 03:38:15 +00:00
heikki%netscape.com
166976edb7
Bug 176186, XMLHttpRequest does not set document URL. Patch from sicking, r=heikki, sr=peterv.
2006-04-20 03:38:14 +00:00