Commit Graph

55 Commits

Author SHA1 Message Date
Boris Zbarsky
8b218192b9 Bug 845881. Go back to allowing any 2xx response code to a preflight request, since web sites do that. r=sicking 2013-03-01 00:57:13 -05:00
Jonathan Mayer
55b948dec0 Bug 818340 - change third party cookie handling to block third party cookies from sites I haven't visited. (r=jdm, r=dolske)
--HG--
extra : rebase_source : f486f39feac1fb743edc920618bec29884d515f1
2013-02-22 08:16:01 -08:00
florin.botis@gmail.com
a7965e2bae Bug 608735. Fix getAllResponseHeaders for cross-origin requests to actually expose the headers CORS says it can expose. r=bzbarsky 2013-01-10 17:47:43 -05:00
Masatoshi Kimura
4a07dc4302 Bug 804834 - Part 1: Fix tests depending on E4X for-each in content JS. r=waldo 2012-12-21 20:47:52 +09:00
Boris Zbarsky
4ec5eb69cc Bug 814141. Cross-site redirects of a CORS request should null out the request origin. r=sicking 2012-11-29 18:23:55 -05:00
Boris Zbarsky
a32dba236b Bug 814093. Require preflight requests to receive a 200 response. r=sicking 2012-11-22 01:25:01 -05:00
Boris Zbarsky
43de67ca23 Bug 814064. We should not fire a readystatechange for our transition to the SENT state. r=sicking 2012-11-22 01:25:01 -05:00
Boris Zbarsky
8b318ef3f7 Bug 761278. Remove the non-standard uploadprogress event on XMLHttpRequest. r=sicking 2012-07-21 22:28:26 -04:00
Jason Duell
00135ee99f Backout f142f32a98a3 (Bug 775317) and ef14686c31d0 (Bug 761278). r=bustage 2012-07-21 20:05:37 -07:00
Boris Zbarsky
eb0d24fee5 Bug 761278. Remove the non-standard uploadprogress event on XMLHttpRequest. r=sicking 2012-07-21 22:28:26 -04:00
Malini Das
02665c9658 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain 1/1. r=jmaher, a=test-only 2011-08-12 12:21:42 -04:00
Jonas Sicking
2fef5d7e2d Bug 645281: Don't assert if a CORS preflight response contains data. r=bz 2011-04-11 18:28:28 -07:00
Christian Biesinger
040a8153c7 bug 643051 - document.cookie should only allow setting one cookie at a time
r=bz
2011-04-11 16:26:11 -07:00
Jonas Sicking
c9ef093253 Bug 461066: Test for loadend firing correctly in CORS tests. r=smaug 2011-03-28 13:18:55 -07:00
Boris Zbarsky
7f2bf265a9 Bug 605296 part 2. Make username/password stringify undefined to empty string. r=sicking, a=blocker 2010-11-30 13:18:15 -05:00
Dave Townsend
7a0e0a5cd9 Backing out bug 614058, bug 609272, bug 478445, bug 499628, bug 605296, bug 608914 and bug 614724 due to potentially causing bug 615736 CLOSED TREE. a=backout 2010-12-01 11:01:56 -08:00
Dave Townsend
ad5534594c Backing out bug 605296 due to potentially causing bug 615736. a=backout 2010-12-01 10:57:14 -08:00
Boris Zbarsky
847733099f Bug 605296 followup: fix test to do the right thing on failure. a=orange 2010-11-30 16:19:40 -05:00
Boris Zbarsky
1a2b254c3a Bug 605296 part 2. Make username/password stringify undefined to empty string. r=sicking 2010-11-30 13:18:15 -05:00
Olli Pettay
9d39c329b9 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
b082869298 Bug 597301: Add support for access-control-expose-headers. r=jst a=blocker 2010-10-04 18:25:44 -07:00
Jonas Sicking
bdf59c33ee Bug 597301: Update CORS to latest spec. r=jst a=blocker 2010-10-04 17:41:07 -07:00
Blake Kaplan
2142830c49 Bug 527102 - Try to prevent timeouts by splitting this test up. r=sicking
--HG--
extra : rebase_source : 73ef1f468e6ce257212bbdd9072c61d44a890e1f
2010-04-06 17:05:19 -07:00
Blake Kaplan
efb0109f58 Fix bug 552090. r=sicking sr=jst 2010-03-16 16:23:45 -07:00
Joel Maher
d050afae06 Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:36 -08:00
Brad Lassey
bb55fe310f backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Joel Maher
aef3dc32c3 Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert 2010-03-09 08:55:39 -08:00
Kyle Huey
1d0289c601 Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher
cee9b522a0 Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer 2010-03-08 19:21:33 -08:00
Clint Talbert
7ffd9496bc Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box 2010-03-07 17:34:23 -08:00
Joel Maher
ef6c5fda3d Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte 2010-03-07 16:08:05 -08:00
Jonas Sicking
f3ab6311bc Add prefs to disable CORS, as well as fix compliance issue in Access-Control-Request-Headers header. r/sr/a=jst 2009-05-20 16:07:18 -07:00
L. David Baron
8c38aba811 Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07: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
Honza Bambas
4b06aa2373 Bug 468443 Remove PUT/DELETE support from httpd.js, revert XX in content tests, r=jonas 2009-02-18 14:31:30 +01: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
Serge Gautherie
c4cccfac97 Bug 471122 - test_CrossSiteXHR.html : improve thrown exceptions from file_CrossSiteXHR_server.sjs; CrLf->Lf Eol; r+sr=jonas 2008-12-28 00:26:55 +01:00
Jeff Walden
9ba0796b8f Bug 463254 - httpd.js fails on mac when running test_CrossSiteXHR.html. The problem was that exceptions were causing files not to be closed on OS X, and we were hitting the open-file limit; add some try-finally magic to close in a failsafe manner. r=honzab 2008-11-06 12:44:27 -08:00
Jonas Sicking
2bf6436125 Disable Cross-Site XHR tests on mac since the mochitest server freaks out. 2008-09-30 22:49:15 -07:00
Jonas Sicking
3dcc908655 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
cce6fbac9b Implement cookieless requests for Access-Control. b=389508 r=biesi sr=jst 2008-09-30 17:52:52 -07:00
Jonas Sicking
7a655650a9 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
6f2a7e0f6b Update Access-Control implementation to match changes in spec. b=389508 r/sr=jst 2008-09-30 17:50:42 -07:00