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

308 Коммитов

Автор SHA1 Сообщение Дата
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