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

517 Коммитов

Автор SHA1 Сообщение Дата
Masatoshi Kimura c6446e569d Bug 661583: Hold onto the cache token if our response blob is backed by a cache file. r=sicking 2011-06-30 14:41:39 -07:00
Matt Brubeck e2840da521 Back out 9fc0e6867256, 6947bbce9672, fb91a23bd158, a5870dd2ad7c, c3d3292fbd1e, 42f2aca1fde9 to fix Android failures on a CLOSED TREE 2011-07-01 11:20:52 -07:00
Kyle Huey 941e3135b3 Bug 661582: XHR.response should return a Blob, not a File. r=sicking 2011-06-30 14:42:15 -07:00
Masatoshi Kimura 5d3956e4f1 Bug 661583: Hold onto the cache token if our response blob is backed by a cache file. r=sicking 2011-06-30 14:41:39 -07:00
Josh Matthews ed7ddba835 Bug 553888 - Duplicate XHR request headers when following redirect. r=sicking 2010-03-22 14:52:35 +13:00
Jonas Sicking 50c51df5f9 Bug 658714 Part 1: Merge nsPIDOMEventTarget into nsIDOMEventTarget. r=smaug,bent 2011-06-23 19:17:58 -07:00
Mounir Lamouri 8692cfd266 Bug 658037 (1/2) - r=bz 2011-06-21 18:52:22 +02:00
Chris Leary 6ad07be206 Merge mozilla central and tracemonkey. 2011-06-20 16:49:20 -07:00
Nikhil Marathe 6e753ee711 Bug 664577 - Make sure non-SpiderMonkey users don't require knowledge about JSObject when using ArrayBuffers. r=mrbkap 2011-06-16 15:46:39 -04:00
Blake Kaplan d3d31d714a Backed out changeset 8b3dc129aed8. Missing bug number in the commit (bug 664577). 2011-06-16 16:57:51 -04:00
Nikhil Marathe 4600bb18b1 Make sure non-SpiderMonkey users don't require knowledge about JSObject when using ArrayBuffers. r=mrbkap 2011-06-16 15:46:39 -04:00
Nikhil Marathe ba6bbbf0a9 Bug 656519 - Fix consumers outside SpiderMonkey to use new ArrayBuffer APIs. r=mrbkap
--HG--
extra : rebase_source : f359987831611155029114b5f85080155c6a12d5
2011-06-14 15:37:21 -04:00
Jonas Sicking a9efce929e Bug 663749: Remove load-event-listening code from nsXMLHttpRequest. r=smaug 2011-06-14 00:53:08 -07:00
Shawn Gong a19b1cf42c Bug 658683: Make xhr.response not create a new ArrayBuffer every time it is accessed. r=sicking. Additional fixes by sicking, r=peterv 2011-05-23 18:09:28 -07:00
Masatoshi Kimura b2ace2c16d Bug 649133 followup. Remove the 'moz' prefix on response/responseType, since Chrome has already shipped these unprefixed. r=sicking 2011-05-19 01:11:51 -04:00
Masatoshi Kimura 0c4752993d Bug 649133: Implement xhr.mozResponse and xhr.mozResponseType. r=sicking 2011-05-10 16:18:55 -07:00
Jonas Sicking 7f14c5ec51 Bug 644476: Rename classes/functions/variables to use "CORS" rather than "Access Control" or "Cross site" where appropriate. r=smaug 2011-03-28 13:18:45 -07:00
Jonas Sicking 6061159b90 Bug 644476 Part 2: Move CORS code from nsXMLHttpRequest.cpp/h to nsCrossSiteListenerProxy.cpp/h. r=smaug 2011-03-28 13:11:09 -07:00
Jonas Sicking f94b94a715 Bug 644476 Part 1: Remove nsIXMLHttpRequest.openRequest now that it's equivalent to nsIXMLHttpRequest.open. r=smaug 2011-03-28 13:05:52 -07:00
Ms2ger afb8ed489f Bug 639849 - Remove nsIDOM3Document; r=bz 2011-03-26 17:06:27 +01:00
Jonas Sicking e4d26af2b2 Bug 641706: Make SpecialPowers able to create a XHR object with full system powers. r=smaug 2011-03-17 09:19:13 -07:00
Olli Pettay e6c7a534c4 Bug 461066 - Add support for XHR's loadend event, r=sicking
--HG--
extra : rebase_source : f4db116cdd195d0319189a5800ee991370649072
2011-03-24 15:22:03 +02:00
Justin Lebar f4739b4aec Bug 622088 - Make XHRs' referrers reflect changes to document's URI from history.push/replaceState. r=sicking, a=bz 2011-01-30 13:46:34 -08:00
tim.taubert@gmx.de 0a948d6bf7 Bug 484396 - XMLHttpRequest.open throws exception on empty string url parameter, r=smaug, a=bz
--HG--
extra : rebase_source : 73ce4b9fca63e9fd16acac65739fc71603ec843e
2011-01-14 18:11:25 +02:00
timeless@mozdev.org 7c65053ebf Bug 615837 - unused variable rv in nsXMLHttpRequest::GetStatusText. r+a=bz 2010-12-04 10:58:25 +01:00
Olli Pettay eaad6195a8 Bug 611647 - Use stringbuffer when creating responseText for XMLHttpRequest, r=bz, a=benjamin
--HG--
extra : rebase_source : ad7ee03e9e6f7fe6e0ecdc9952d3896cbb942960
2010-11-23 18:49:12 +02:00
Kyle Huey 57fcc263fd Bug 602482: Update XHR forbidden headers to latest spec. r=sicking a=b:betaN
--HG--
rename : content/base/test/test_bug308484.html => content/base/test/test_xhr_forbidden_headers.html
2010-11-15 06:55:30 -05:00
Olli Pettay da61055435 Bug 608939 - XMLHttpRequest.statusText and getAllResponseHeaders shouldn't throw, r=sicking, a=sicking
--HG--
extra : rebase_source : 5dc42964f6a216c4f10127d0ad74fe52674601d7
2010-11-11 23:39:14 +02:00
Jonas Sicking d27c130c28 Bug 597301: Add support for access-control-expose-headers. r=jst a=blocker 2010-10-04 18:25:44 -07:00
Jonas Sicking 3067963e65 Bug 597301: Update CORS to latest spec. r=jst a=blocker 2010-10-04 17:41:07 -07:00
Olli Pettay 3a2339d1ee Bug 313646 - synchronous XMLHttpRequest does not fire readystatechange event, r=sicking, a=sicking 2010-09-17 12:30:35 +03:00
Olli Pettay b0ba098a17 Bug 311425 - allow setting OnProgress after XMLHttpRequest::open(), r=sicking, a=sicking
--HG--
extra : rebase_source : 721190e3ef5b84634689ef0c2c61701a2aeadae7
2010-09-08 20:42:08 +03:00
Kyle Huey 55beafe241 Bug 583863: Refactor <input> implementation to deal with files that aren't on the disk. r=sicking a=blocking-fennec
--HG--
extra : rebase_source : 2b3605042aea4e4c8273cdad5ec7f05af15959cc
2010-09-05 14:00:05 -04:00
Kyle Huey f9c0cf9c19 Backed out changeset af1365b24066 2010-09-05 11:32:57 -04:00
Kyle Huey 12d0992fbc Bug 583863: Refactor <input> implementation to deal with files that are not on the disk. r=sicking a=blocking-fennec 2010-09-05 09:09:04 -04:00
Jonas Sicking 47073deceb Bug 546857 Part 7: Allow system-principal-XHR loaded documents to use XUL. r=jst a=blocker 2010-08-25 13:12:28 -07:00
Vladimir Vukicevic 145fdbfa9c b=572522; add experimental mozArrayBuffer to XHR; r=jst, a=bsmedberg 2010-08-14 10:52:19 -07:00
Bjarne ed732b9f7f Bug 546606 - Make redirect API async - part 2; r=honzab.moz,cbiesinger,bjarne,jst sr=jst 2010-08-04 22:15:55 -04:00
Saint Wesonga 4bd9280674 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Dão Gottwald b2124655df Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga 8952503f91 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
wfernandom2004@gmail.com af2d03d1ec Bug 472529, websockets (content patch)
--HG--
extra : rebase_source : 831a44f14acffa793cd3814d40a0d44bf152decb
2010-06-17 14:27:52 +03:00
Boris Zbarsky b1fb05aab8 Bug 562137. Use the UTF-8 decoder to decode UTF-8 instead of just assuming that it really is UTF-8. r=sicking 2010-05-05 14:18:04 -04:00
Daniel Holbert 8c1dcec454 Bug 562310 Part 6: Convert C-string version (nsCCommaSeparatedTokenizer) into generic nsCCharSeparatedTokenizer class, too. r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert 76eb0b7a70 Bug 562310 Part 1: Rename file nsCommaSeparatedTokenizer.h to nsCharSeparatedTokenizer.h (and update #includes). r=roc
--HG--
rename : xpcom/ds/nsCommaSeparatedTokenizer.h => xpcom/ds/nsCharSeparatedTokenizer.h
2010-05-04 07:43:48 -07:00
Bjarne 2a9d5ab014 Bug 552651 - nsXMLHttpRequest leaks if aborted in state 3 ("in progress"). r=sicking 2010-05-02 10:27:20 +02:00
Brandon Sterne 83840f4b02 Bug 515460 - check GetCsp return value, r=sstamm, a=developers 2010-04-26 12:14:49 -07:00
Brandon Sterne 2265b71345 Bug 515460 - enforce CSP during XHR redirects, r=jst, a=dholbert_sheriff 2010-04-23 12:54:09 -07:00
Boris Zbarsky af325a5d58 Bug 552573. Cache the Unicode responseText. r=sicking 2010-04-23 13:37:02 -04:00
Peter Van der Beken 85c9e641b0 Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
--HG--
extra : rebase_source : 9a7823b365cfca04bb08c5be94eab29d218f1e61
2010-01-12 14:08:43 +01:00
Peter Van der Beken e1c6294f66 Fix for bug 552716 (Remove NS_INTERFACE_MAP_ENTRY_CONTENT_CLASSINFO). r=jst.
--HG--
extra : rebase_source : 8e03b54ff6117dcac27188b296c59dcafbb6db78
2010-03-17 16:09:05 +01:00
Blake Kaplan a8bcb24350 Fix bug 552090. r=sicking sr=jst 2010-03-16 16:23:45 -07:00
Olli Pettay 7e922e96b6 Bug 549576 - Remove ::MaybeCC from XMLHttpRequest, r=peterv 2010-03-10 12:51:21 +02:00
Jonas Sicking 6f0a0d424e Bug 543870: Implement File.url. r=bz sr=jst 2010-03-02 23:51:09 -08:00
Jonas Sicking 7a8eec8e55 Bug 546528 part 3: Implement FormData. r=benjamn 2010-02-24 21:58:18 -08:00
Jonas Sicking 16e88faeb6 Bug 546528 part 1: Break out code to convert body argument to an nsIInputStream out of nsXMLHttpRequest::Send to make the code more readable. r=benjamn 2010-02-24 21:58:17 -08:00
Jae-Seong Lee-Russo 7a1e8ddc0f Bug 530373. Use NS_MIN/NS_MAX instead of PR_MIN/PR_MAX in DOM code. r=bzbarsky 2010-02-22 14:41:19 -05:00
Olli Pettay aac1a2a936 Bug 540854 - XMLHttpRequest truncates UTF-8 encoded strings containing Code Point 0x00, r=sicking
--HG--
extra : rebase_source : 251c02fe91bf35fe46f0f1e3a829ddb00e889132
2010-01-26 15:54:55 +02:00
Jonas Sicking 2404744133 Fix mobile build bustage. Some compilers still don't seem to like L-strings spread out over several lines. r=crowder 2009-11-18 16:22:25 -08:00
Jonas Sicking dac047541a Bug 529041: Deal with http channels not implementing nsIUploadChannel2. r=biesi 2009-11-18 15:21:13 -08:00
Johnny Stenback ac45fe56aa Part 2 of fix for bug 459452 (Add support for optional arg count for IDL methods): use [optional_argc] for DOM methods. r=peterv.
--HG--
extra : rebase_source : c0bc25842b2645fe9f42c9ed5d57567f8e6b5279
2009-08-10 16:41:12 +02:00
Olli Pettay fcc767c1d8 backout Bug 313646
--HG--
extra : rebase_source : 5ff7e3a019f140ef26f5ac14210e19ad382e65f8
2009-09-15 18:44:35 +03:00
Olli Pettay 6dbd520263 Bug 515287 - Don't trigger GC on every XHR completion, r=bz 2009-09-15 16:26:48 +03:00
Olli Pettay 8a612550a2 Bug 313646 - synchronous XMLHttpRequest does not fire readystatechange event, r=justin.lebar,sicking, sr=jst 2009-09-15 12:27:12 +03:00
Matin Movassate c9bfcd83f5 Fixing bug 491201. Adding ability for XMLHttpRequest.send() to accept a File object. r+sr=jonas@sicking.cc, r=cbiesinger@gmail.com 2009-09-08 16:29:41 -07:00
Johnny Stenback db996331fd Backed out changeset 7d5e1bcb4729 due to mochitest errors. 2009-08-31 14:57:45 -07:00
Matin Movassate 64c233c8d8 Resolving bug 491201. Added ability for XMLHttpRequest.send() to accept an nsIDOMFile. r+sr=jonas@sicking.cc, r=cbiesinger@gmail.com 2009-08-31 14:07:16 -07:00
Peter Van der Beken 88bc7e0eed Fix for bug 482788 (Lightweight DOM wrappers). r=jst, sr=mrbkap. 2009-05-12 22:20:42 +02:00
Olli Pettay 0b62d46a84 Bug 495098 - [@ nsXMLHttpRequest::StreamReaderFunc ], r+sr=sicking
--HG--
extra : rebase_source : 29d31152455cd9f6702f0788539f0b62bbcf3a98
2009-06-15 13:11:04 +03:00
Olli Pettay 281b4ca4dc Trunk patch for Bug 491134, r+sr=jst 2009-06-15 11:27:29 +03:00
Olli Pettay 6ae293b233 Bug 489581 - Reduce Addref/Release when calling event handlers, r+sr=jst 2009-04-24 12:18:37 +03:00
Olli Pettay d9e9964f3e Bug 484658 - element.focus() handing when called during event suppression, r+sr=jst 2009-03-25 16:11:11 +02:00
Olli Pettay 739ee979a1 Bug 333198 - Suppress Input events for web content during synchronous XMLHttpRequest loads, r=bz, sr=jst 2009-03-03 22:11:14 +02:00
Olli Pettay 4da5c3f43a backout 333198 2009-03-02 22:21:46 +02:00
Olli Pettay e0648db07b Bug 479490 - 'ASSERTION: Mismatched calls to ResumeTimeouts'. r=bent, sr=jst, a=blocking1.9.1+ 2009-02-26 14:00:32 -08:00
Olli Pettay fe25d33f34 Bug 333198 - 'Suppress Input events for web content during synchronous XMLHttpRequest loads'. r=bz, sr=jst, a=blocking1.9.1+ 2009-02-26 14:00:30 -08:00
Dave Camp 0c5e4d11cc Bug 471227 - revert debug spew for now. 2009-02-25 01:03:13 -08:00
Dave Camp 6b55f44cfb Bug 471227 - More debug spew. 2009-02-24 23:12:13 -08:00
Jonas Sicking 8a0c1302d7 Bug 479521: Don't follow unsafe same-site to cross-site redirects. Also fix a bug where reusing a XHR object that had been used cross site could result in the second request being more restrictive than it should be. r/sr=jst 2009-02-24 11:46:51 -08:00
Jonas Sicking 987844b04b Backed out changeset 4130ff1e52f3 (bug 479521) due to test failures. 2009-02-24 15:38:40 -08:00
Jonas Sicking a46eae8b8b Bug 479521: Don't follow unsafe same-site to cross-site redirects. Also fix a bug where reusing a XHR object that had been used cross site could result in the second request being more restrictive than it should be. r/sr=jst 2009-02-24 11:46:51 -08:00
Dave Camp cc49d4518c Bug 471227: Add some temporary debugging spew to help narrow down what's failing. 2009-02-23 23:02:00 -08:00
Ben Turner fc39babfc2 Bug 478304 - 'Let nsRunnableMethod be used with non-void-returning functions'. r=bsmedberg. 2009-02-17 20:11:09 -08:00
Jonas Sicking b211410505 Bug 476567: Clear Access-Control preflight cache when spec says to. Also rewrite cache test-runner to make it more sane. r/sr=jst
--HG--
extra : rebase_source : d92d2eccd14bc58d3e82dff969e27f00fd185f95
2009-02-17 14:10:50 -08:00
Ben Turner fa672b9ab5 Bug 340345 - 'DOM timeouts can fire during a sync XMLHttpRequest'. r+sr=jst, a=blocking1.9.1+ 2009-02-17 12:07:39 -08:00
Jonas Sicking 2c8b4e0b19 Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz 2009-01-21 14:50:28 -08:00
Peter Van der Beken 0b7ffe2664 Backed out changeset 9fc993ac4427 (Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz) to fix orange. 2009-01-22 14:52:34 +01:00
Jonas Sicking 77010e3913 Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz 2009-01-21 14:50:28 -08:00
Jonas Sicking 46b09b8476 Backed out changeset 2063e342b8e1 due to failing docshell tests 2009-01-21 18:07:29 -08:00
Jonas Sicking 8c5f8ef332 Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz 2009-01-21 14:50:28 -08:00
Jonas Sicking ae9214cbd6 Bug 464848: XMLHttpRequest doesn't send the right content-type for non-document request bodies. r/sr=bz 2009-01-13 22:53:43 -08:00
Olli Pettay 9a5b5a4c61 Bug 460700 - Use the right delay with XHR progress events, r+sr=jonas 2009-01-13 19:38:01 +02:00
Ben Turner f2b256530b Bug 470334 - 'Workers: relative urls for XHR are incorrect'. r+sr=jst, a=blocking1.9+ 2008-12-30 16:24:58 -06:00
Ben Turner faae47e61e Bug 464983 - 'Workers: Throw exceptions properly from XHR status getters and fake abort events in race conditions.' r+sr=sicking, a=blocking1.9.1+. 2008-11-27 01:16:37 -05:00
Boris Zbarsky 832a876d56 Bug 465455. Use the charset we'll send in the header to encode with. r+sr=sicking, a=beltzner 2008-11-26 23:10:28 -05:00
Boris Zbarsky 402f7a9c31 Bug 460425. Do better security checks during redirection. r=sicking,biesi, sr=sicking 2008-11-25 20:50:04 -05:00
bjarne@runitsoft.com b006fb8e67 Fixing bug 380418. Prevent XMLHttpRequest from reading HTTPOnly cookies. r+sr=jonas@sicking.cc, a=b2 blocker 2008-11-13 18:18:01 -08:00
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