jonas%sicking.cc
9fce957868
Bug 425201: Allow XMLHttpRequest and document.load load files from subdirectories. r/sr=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@249871 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-09 00:38:13 +00:00
jonas%sicking.cc
eca4ec119c
Bug 425078: Not showing authentication dialog box when request is made throught XMLHttpRequest in chrome window. r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@249868 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-09 00:27:50 +00:00
timeless%mozdev.org
14b0613d2b
Bug 394114 Interfaces missing from various QI implementations.
...
r=jag sr=jag a=dsicore
git-svn-id: svn://10.0.0.236/trunk@249775 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-08 06:18:36 +00:00
reed%reedloden.com
0fc1e32dc7
Bug 426308 - "Cross site XHR backout broke redirect handling for privileged code" [p=manish@flock.com (Manish Singh) r+sr=sicking a=blocking1.9+]
...
git-svn-id: svn://10.0.0.236/trunk@249590 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-04 09:01:23 +00:00
bzbarsky%mit.edu
0fe9924c4d
Fix bug 421228. r+sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@248739 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-28 03:46:15 +00:00
jonas%sicking.cc
68059e3e37
Bug 424923: Remove support for cross-site XHR. r/sr=jst for code changes
...
git-svn-id: svn://10.0.0.236/trunk@248571 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-26 02:46:11 +00:00
bzbarsky%mit.edu
1e41a764a6
Fix bug 424212, r+sr=sicking, a=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@248402 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-22 05:09:41 +00:00
dbaron%dbaron.org
4dd01a645e
Fixing asymmetry between what timeless landed for bug 394114 and what he backed out.
...
git-svn-id: svn://10.0.0.236/trunk@248211 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 22:05:05 +00:00
timeless%mozdev.org
cb247b3213
reverting, wrong patch, missing AMBIGUOUS
...
git-svn-id: svn://10.0.0.236/trunk@248210 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 21:55:28 +00:00
mattwillis%gmail.com
116d0d6c1b
Bug 383430 - Add features to XHR for convenience of background requests. Patch by Manish Singh <manish@flock.com> r/sr=sicking, a1.9=shaver
...
git-svn-id: svn://10.0.0.236/trunk@248158 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 00:14:44 +00:00
cbiesinger%gmail.com
d04966eba7
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
git-svn-id: svn://10.0.0.236/trunk@248118 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-18 19:49:20 +00:00
gavin%gavinsharp.com
bf5a5488de
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)
...
git-svn-id: svn://10.0.0.236/trunk@248094 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-18 18:18:30 +00:00
mattwillis%gmail.com
d876524af4
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
...
git-svn-id: svn://10.0.0.236/trunk@247726 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 11:43:06 +00:00
bzbarsky%mit.edu
1cf433d695
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
git-svn-id: svn://10.0.0.236/trunk@246775 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-29 04:24:33 +00:00
jonas%sicking.cc
35f305467d
Bug 416534: Clean up cross-site xmlhttprequest security checks. With fixes to tests this time. r/sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@246616 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 03:45:32 +00:00
myk%mozilla.org
425e84676b
backing out fix for bug 416534 as potential cause of mochitest failure
...
git-svn-id: svn://10.0.0.236/trunk@246615 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 03:23:38 +00:00
jonas%sicking.cc
05e58d7ee2
Bug 416534: Clean up cross-site xmlhttprequest security checks. r/sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@246608 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-27 02:17:52 +00:00
bent.mozilla%gmail.com
6af501eb6a
Bug 392322 - "XMLHttpRequest crashes on local file retrieval [@ nsCrossSiteListenerProxy::OnStartRequest]". r+sr=sicking, a=blocking1.9+.
...
git-svn-id: svn://10.0.0.236/trunk@246014 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 23:12:24 +00:00
reed%reedloden.com
bebcac88b2
Bug 416958 - "Update header names" [p=suryaismail@gmail.com (Surya Ismail) r+sr=sicking a=blocking1.9+]
...
git-svn-id: svn://10.0.0.236/trunk@245858 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-17 03:26:13 +00:00
bent.mozilla%gmail.com
550f4256a7
Backing out bug 392322 due to test failure.
...
git-svn-id: svn://10.0.0.236/trunk@245550 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-13 07:23:06 +00:00
bent.mozilla%gmail.com
561a5e0691
Bug 392322 - "XMLHttpRequest crashes on local file retrieval [@ nsCrossSiteListenerProxy::OnStartRequest]". r+sr=sicking, a=blocking1.9+.
...
git-svn-id: svn://10.0.0.236/trunk@245546 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-13 04:54:09 +00:00
reed%reedloden.com
0a2af75c61
Bug 398433 - "PRBool misuse bugs in content/" [p=tglek@mozilla.com (Taras Glek) r+sr=sicking a1.9=schrep a=blocking1.9+]
...
git-svn-id: svn://10.0.0.236/trunk@245346 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-10 06:16:32 +00:00
bent.mozilla%gmail.com
f29083980c
Bug 379824 - "xmlhttprequest abort method changes readystate to 4". r+sr=sicking, a=blocking1.9.
...
git-svn-id: svn://10.0.0.236/trunk@245084 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-07 05:03:01 +00:00
jonas%sicking.cc
af43f83785
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
...
git-svn-id: svn://10.0.0.236/trunk@244581 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-31 08:17:47 +00:00
jonas%sicking.cc
a7f8fdd4cf
Bug 413071: Fix bug in cross site XHR. r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@244505 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-30 06:43:47 +00:00
bent.mozilla%gmail.com
7c273c7652
Bug 411530 - Don't use the HTTP cache for non-GET access checks. r+sr=sicking, a=blocking1.9.
...
git-svn-id: svn://10.0.0.236/trunk@244504 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-30 06:35:33 +00:00
benjamin%smedbergs.us
0a44d0e3e2
Bug 411327 - nsIXPCNativeCallContext should not inherit from nsISupports, r=mrbkap, a=schrep
...
git-svn-id: svn://10.0.0.236/trunk@243117 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-15 15:51:02 +00:00
Olli.Pettay%helsinki.fi
a4804684ea
Bug 403168, r=jonas, sr=jst, a=blocking1.9
...
git-svn-id: svn://10.0.0.236/trunk@240905 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-12 08:33:33 +00:00
bzbarsky%mit.edu
434a951333
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
git-svn-id: svn://10.0.0.236/trunk@240347 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 21:34:45 +00:00
reed%reedloden.com
e6f1b6515a
Bug 406001 - "Remove extraneous semicolons in nsXMLHttpRequest.cpp" [p=benjamin@smedbergs.us (Benjamin Smedberg [bsmedberg]) a1.9=damons]
...
git-svn-id: svn://10.0.0.236/trunk@240200 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-01 07:16:15 +00:00
bzbarsky%mit.edu
56b43c48a2
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
git-svn-id: svn://10.0.0.236/trunk@239495 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-15 22:18:36 +00:00
jonas%sicking.cc
5233d883cd
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
...
git-svn-id: svn://10.0.0.236/trunk@238237 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-27 01:46:11 +00:00
Olli.Pettay%helsinki.fi
cd8561b5b7
Landing (again) Bug 373462, bug 385322, Better scheduling of cycle collection/gc, r+sr=sicking,jst
...
git-svn-id: svn://10.0.0.236/trunk@237998 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-22 21:42:26 +00:00
Olli.Pettay%helsinki.fi
2e1bff074e
backout Bug 373462, bug 385322. Still regress tp/talos
...
git-svn-id: svn://10.0.0.236/trunk@237973 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-21 16:46:56 +00:00
Olli.Pettay%helsinki.fi
ae040f9f0b
Test-landing (again) Bug 373462, bug 385322, Better scheduling of cycle collection/gc, r+sr=sicking,jst
...
git-svn-id: svn://10.0.0.236/trunk@237971 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-21 14:09:31 +00:00
Olli.Pettay%helsinki.fi
5deadb060c
Bug 393762, Bug 393761 and Bug 382636, r=jst, sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@236978 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-01 10:02:34 +00:00
Olli.Pettay%helsinki.fi
e62ab6eeb6
back out Bug 373462 / bug 385322 (again :( )
...
git-svn-id: svn://10.0.0.236/trunk@236922 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-29 17:33:24 +00:00
Olli.Pettay%helsinki.fi
8cb7efe95a
Bug 373462 / bug 385322, Better scheduling of cycle collection/gc, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@236920 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-29 15:02:58 +00:00
Olli.Pettay%helsinki.fi
8b1c629f2c
backout the test patch for Bug 373462 and 385322
...
git-svn-id: svn://10.0.0.236/trunk@236522 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-23 16:10:13 +00:00
Olli.Pettay%helsinki.fi
10c4faa867
Testland a patch for Bug 373462 and 385322, 'Better scheduling of cycle collection/gc'
...
git-svn-id: svn://10.0.0.236/trunk@236520 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-23 14:05:29 +00:00
Olli.Pettay%helsinki.fi
f316d5eeb5
backout patch for Bug 373462, Bug 385322
...
git-svn-id: svn://10.0.0.236/trunk@236434 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-21 10:00:48 +00:00
Olli.Pettay%helsinki.fi
66a725f097
Bug 373462, Bug 385322, Better scheduling of cycle collection/gc, r=jst, sr=sicking, a=sicking
...
git-svn-id: svn://10.0.0.236/trunk@236430 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-21 08:54:36 +00:00
jonas%sicking.cc
1b526ec547
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
...
git-svn-id: svn://10.0.0.236/trunk@234010 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 03:51:56 +00:00
cbiesinger%gmx.at
ce350a257a
bug 392117 pass lowercase strings to LowerCaseEqualsLiteral
...
r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@232390 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 17:27:47 +00:00
bzbarsky%mit.edu
b9d92a233a
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
git-svn-id: svn://10.0.0.236/trunk@231781 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 05:35:09 +00:00
bzbarsky%mit.edu
3811c88532
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
git-svn-id: svn://10.0.0.236/trunk@231622 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-08 01:16:12 +00:00
jonas%sicking.cc
33c7643cbb
Bug 389508: Fix regressions and bugs in the new Cross Site XMLHttpRequest support. r/sr=jst a=roc
...
git-svn-id: svn://10.0.0.236/trunk@231205 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-31 00:42:16 +00:00
jonas%sicking.cc
857bbdaa67
Bug 389508: Cross site XMLHttpRequest. r=jst/biesi sr/dveditz/biesi
...
git-svn-id: svn://10.0.0.236/trunk@231095 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 02:49:19 +00:00
jonas%sicking.cc
7552c132af
backout due to orange
...
git-svn-id: svn://10.0.0.236/trunk@231082 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 23:34:23 +00:00
jonas%sicking.cc
52ff6b27a1
Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi
...
git-svn-id: svn://10.0.0.236/trunk@231078 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 22:20:32 +00:00