Commit Graph

148 Commits

Author SHA1 Message Date
Brandon Sterne
ff6f070e4e Bug 515460 - check GetCsp return value, r=sstamm, a=developers 2010-04-26 12:14:49 -07:00
Brandon Sterne
24e0358531 Bug 515460 - enforce CSP during XHR redirects, r=jst, a=dholbert_sheriff 2010-04-23 12:54:09 -07:00
Boris Zbarsky
b85efc5557 Bug 552573. Cache the Unicode responseText. r=sicking 2010-04-23 13:37:02 -04:00
Peter Van der Beken
8e3acb1006 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
e5d87ec5bb 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
efb0109f58 Fix bug 552090. r=sicking sr=jst 2010-03-16 16:23:45 -07:00
Olli Pettay
dbb6144442 Bug 549576 - Remove ::MaybeCC from XMLHttpRequest, r=peterv 2010-03-10 12:51:21 +02:00
Jonas Sicking
aeb9ba77c3 Bug 543870: Implement File.url. r=bz sr=jst 2010-03-02 23:51:09 -08:00
Jonas Sicking
1a41a3c97c Bug 546528 part 3: Implement FormData. r=benjamn 2010-02-24 21:58:18 -08:00
Jonas Sicking
833517ace9 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
30218c70c3 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
ece91e4c8c 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
a683373ce9 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
840c879ba2 Bug 529041: Deal with http channels not implementing nsIUploadChannel2. r=biesi 2009-11-18 15:21:13 -08:00
Johnny Stenback
039b7eb41d 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
732cba625e backout Bug 313646
--HG--
extra : rebase_source : 5ff7e3a019f140ef26f5ac14210e19ad382e65f8
2009-09-15 18:44:35 +03:00
Olli Pettay
aedf7c466d Bug 515287 - Don't trigger GC on every XHR completion, r=bz 2009-09-15 16:26:48 +03:00
Olli Pettay
c6fd8f3e85 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
d6945be650 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
dae61e5c95 Backed out changeset 7d5e1bcb4729 due to mochitest errors. 2009-08-31 14:57:45 -07:00
Matin Movassate
fb202885f6 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
ca8ccf47e0 Fix for bug 482788 (Lightweight DOM wrappers). r=jst, sr=mrbkap. 2009-05-12 22:20:42 +02:00
Olli Pettay
2fac929f6b Bug 495098 - [@ nsXMLHttpRequest::StreamReaderFunc ], r+sr=sicking
--HG--
extra : rebase_source : 29d31152455cd9f6702f0788539f0b62bbcf3a98
2009-06-15 13:11:04 +03:00
Olli Pettay
42ec618ee6 Trunk patch for Bug 491134, r+sr=jst 2009-06-15 11:27:29 +03:00
Olli Pettay
7f711199fa Bug 489581 - Reduce Addref/Release when calling event handlers, r+sr=jst 2009-04-24 12:18:37 +03:00
Olli Pettay
e511e04fa7 Bug 484658 - element.focus() handing when called during event suppression, r+sr=jst 2009-03-25 16:11:11 +02:00
Olli Pettay
2219417624 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
cb57be346c backout 333198 2009-03-02 22:21:46 +02:00
Olli Pettay
1380d66c68 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
e6f01244a1 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
fbbee40aa1 Bug 471227 - revert debug spew for now. 2009-02-25 01:03:13 -08:00
Dave Camp
1a8ea997f1 Bug 471227 - More debug spew. 2009-02-24 23:12:13 -08:00
Jonas Sicking
fea9eede61 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
b2248a4405 Backed out changeset 4130ff1e52f3 (bug 479521) due to test failures. 2009-02-24 15:38:40 -08:00
Jonas Sicking
ca2acd2b73 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
6ca99867e0 Bug 471227: Add some temporary debugging spew to help narrow down what's failing. 2009-02-23 23:02:00 -08:00
Ben Turner
6efddae719 Bug 478304 - 'Let nsRunnableMethod be used with non-void-returning functions'. r=bsmedberg. 2009-02-17 20:11:09 -08:00
Jonas Sicking
a030b0ea69 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
8d1f3956c6 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
be65469e7c 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
533783d9ea 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
e0c26b7454 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
5b04c277ae Backed out changeset 2063e342b8e1 due to failing docshell tests 2009-01-21 18:07:29 -08:00
Jonas Sicking
e7e7213705 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
2dc8a2f1eb 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
2369da62ec Bug 460700 - Use the right delay with XHR progress events, r+sr=jonas 2009-01-13 19:38:01 +02:00
Ben Turner
ecdcc79104 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
29227edb60 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
c07a04cc4f 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
e801383a04 Bug 460425. Do better security checks during redirection. r=sicking,biesi, sr=sicking 2008-11-25 20:50:04 -05:00