Ehsan Akhgari
48f31cf19f
Bug 1199049 - Part 15: Add a missing include
2015-09-12 20:13:23 -04:00
Ehsan Akhgari
13d849f40c
Bug 1199049 - Part 14: Cancel the original channel in case a CORS preflight fails using AsyncAbort(); r=jduell
2015-09-12 19:21:17 -04:00
Ehsan Akhgari
c30d38ac4d
Bug 1199049 - Part 13: Cancel the preflight channel if the original channel gets canceled when a CORS preflight is in progress; r=jduell,sicking
2015-09-12 19:21:15 -04:00
Ehsan Akhgari
c22d4dd15d
Bug 1199049 - Part 12: Move the calls on the listener object to OnPreflightFailed(); r=jduell
2015-09-12 19:21:13 -04:00
Ehsan Akhgari
b511946ddc
Bug 1199049 - Part 11: Make it impossible to start CORS preflights from outside of Necko; r=jduell,ckerschb,sicking
2015-09-12 19:21:11 -04:00
Ehsan Akhgari
c9ef5ad84e
Bug 1199049 - Part 7: Remove entries from the CORS preflight cache in the parent process when a CORS check in the child process fails; r=jduell
...
This is necessary because it's possible for one request triggered from
a child to start a CORS preflight in the parent process and get an entry
into the preflight cache, and then a CORS check for the same URL to fail
in the child process later on. In this case, we need to tell the parent
process to clear its CORS preflight cache entry.
2015-09-12 19:21:03 -04:00
Ehsan Akhgari
d1029ccc78
Bug 1199049 - Part 6: Transfer the preflight parameters to the parent process in e10s mode; r=jduell
2015-09-12 19:21:01 -04:00
Ehsan Akhgari
661f3173cd
Bug 1199049 - Part 5: Preserve the CORS preflight information when setting up a replacement channel; r=jduell
2015-09-12 19:21:00 -04:00
Ehsan Akhgari
0ef16139a6
Bug 1199049 - Part 4: Perform CORS preflights from nsHttpChannel before connecting to the network; r=jduell,ckerschb,sicking
2015-09-12 19:20:58 -04:00
Ehsan Akhgari
f2a6c6863d
Bug 1199049 - Part 3: Add a CORS preflight result notification API; r=jduell,ckerschb,sicking
2015-09-12 19:20:55 -04:00
Ehsan Akhgari
25a1bb1191
Bug 1199049 - Part 2: Add a channel API for requesting CORS preflights; r=jduell
2015-09-12 19:20:54 -04:00
Ehsan Akhgari
a4ac3ec0b4
Bug 1199049 - Part 1: Move nsCORSListenerProxy.* to necko; r=jduell
...
--HG--
rename : dom/security/nsCORSListenerProxy.cpp => netwerk/protocol/http/nsCORSListenerProxy.cpp
rename : dom/security/nsCORSListenerProxy.h => netwerk/protocol/http/nsCORSListenerProxy.h
2015-09-12 19:20:52 -04:00
Phil Ringnalda
15a82d8e86
Merge m-c to m-i
2015-09-12 10:34:34 -07:00
Michael Layzell
fb6ddae47f
Bug 1200337 - Part 1: Don't expose standard HTTP headers during interception in non-e10s mode, r=mcmanus
2015-09-12 12:46:09 -04:00
Phil Ringnalda
b25d7ef2e4
Merge f-t to m-c, a=merge
2015-09-12 09:13:57 -07:00
Phil Ringnalda
b164dfe263
Merge m-c to f-t
2015-09-11 22:10:22 -07:00
Phil Ringnalda
f79d829bdf
Merge b-i to m-c, a=merge
2015-09-11 20:27:20 -07:00
Phil Ringnalda
42095e9f99
Merge m-c to m-i
2015-09-11 22:04:40 -07:00
Christoph Kerschbaumer
485f77a94c
Bug 1199491 - Use channel->ascynOpen2 in netwerk/base/nsURIChecker (r=sicking,jduell)
2015-09-11 18:54:00 -07:00
Christoph Kerschbaumer
c62acea869
Bug 1199491 - Use channel->ascynOpen2 in netwerk/base (r=sicking)
2015-09-11 18:52:08 -07:00
Kershaw Chang
ec77469e00
Bug 1199564 - start/stop mDNS on demand - v3. r=mcmanus
2015-09-10 20:03:00 +02:00
Carsten "Tomcat" Book
a6cd041140
Merge mozilla-central to fx-team
2015-09-11 16:42:01 +02:00
Dragana Damjanovic
4504f5f395
Bug 1197791 - hide password for uri in error and web console. r=michal r=mrbkap
2015-09-11 08:44:00 +02:00
Liang-Heng Chen
d51b9b19af
Bug 1193605 - Part 4: add UUID for listeners; r=mcmanus
2015-08-25 07:17:00 +02:00
Liang-Heng Chen
d713f17874
Bug 1193605 - Part 3: do not stop non-started service; r=mcmanus
2015-08-25 07:15:00 +02:00
Liang-Heng Chen
2d608f8465
Bug 1193605 - Part 1: enable mdns on Fennec. r=mcmanus r=rnewman
2015-08-25 06:58:00 +02:00
Ehsan Akhgari
90f77f08b9
Bug 815299 - Part 1: Add an API for setting an empty request header on an HTTP channel; r=dragana
2015-09-09 07:53:09 -04:00
Nigel Babu
8d308b5e0a
Backed out changeset 8a798c03d76c (bug 815299) for M4 bustage ON A CLOSED TREE
2015-09-09 09:12:41 +05:30
Ehsan Akhgari
6ac40622c3
Bug 1201229 - Return an empty string for a header when an error occurs; r=dragana
...
This fixes nsIHttpChannel::GetRequestHeader() and
nsIHttpChannel::GetResponseHeader() to always empty out their string
argument even when they fail. This prevents programming mistakes of
passing the same string object to multiple of these calls and using the
string value without checking the nsresult error code, since otherwise
the string value may be unchanged from a previous call.
Note that this doesn't affect JS consumers of these APIs since we only
empty out the string argument in case the method fails, which will be
translated to a JS exception, and the JS code will never get to see the
emptied string.
2015-09-08 20:08:35 -04:00
Ehsan Akhgari
f0128c4423
Bug 815299 - Part 1: Add an API for setting an empty request header on an HTTP channel; r=dragana
2015-09-08 20:08:31 -04:00
Ehsan Akhgari
063ce7de72
Add a couple of missing #includes to nsHttpNTLMAuth.cpp, no bug CLOSED TREE
2015-09-08 12:58:21 -07:00
Wes Kocher
7265977859
Backed out changeset f136c4f7e6fe for windows xpcshell bustage CLOSED TREE
2015-09-08 10:42:23 -07:00
Dragana Damjanovic dd.mozilla@gmail.com
94779891d5
Bug 1202421 - Rename the network.auth.allow-subresource-auth pref. r=michal
2015-09-08 08:21:19 -07:00
Ehsan Akhgari
09186aac75
Add a couple of missing #includes to nsHttpNTLMAuth.cpp, no bug
2015-09-08 10:50:18 -04:00
Dragana Damjanovic dd.mozilla@gmail.com
dde37f1cca
Bug 1199862 - In the case of a DivertToParent a message or error prompt may block in a OnStartRequest or OnDataAvailable and therefore we need to suspend receiving further OnDataAvailable or OnStopRequest, etc. r=jduell
2015-09-03 03:11:00 +02:00
Henry Chang
a524fde346
Bug 1198669 - Add nsIMultiPartChannel.originalResponseHeader support. r=valentin
2015-09-08 10:53:27 +08:00
Henry Chang
d0d222b8de
Bug 1178525 - Introduce PackagedAppVerifier and use it to control the timing we serve packaged content. r=valentin.
2015-09-07 19:12:02 +08:00
Nicholas Nethercote
d4e1d7e764
Bug 1203837 - Fix comment about warnings in netwerk/sctp/src/moz.build. r=glandium.
...
netwerk/sctp/src/ is third-party code so it's ok to set ALLOW_COMPILER_WARNINGS
for it, which means this comment can be removed.
2015-09-10 22:22:55 -07:00
Nicholas Nethercote
f2ac4f7d13
Bug 1202526 (part 2) - Avoid PL_DHashTableRawRemove() in nsLoadGroup. r=mcmanus.
...
This assumes that it's safe to possibly shrink the table after the removal,
i.e. there are no surprising subtleties with how this table is managed.
2015-09-07 19:20:16 -07:00
Dragana Damjanovic
6243a9efb2
Bug 1201174 - For FTP - in case of divertToParent, it myst be possible to delay delivering of OnDataAv./OnStopR. r=jduell
...
--HG--
extra : rebase_source : 5c59317dd43d5e0448b44ed3d0c26dd6262e80da
2015-09-04 03:55:00 +02:00
Nikhil Marathe
8dbf443150
Bug 1167809 - Add skip size check flag to cache for use with ServiceWorkers. r=mayhemer
...
For non-e10s Service Worker, we use Cache entries to achieve interception.
While this is a temporary measure, the fact that cache enforces size limits on
cache entries (which make sense for the purpose it was designed) prevents large
files from being served via a Service Worker. This patch adds a skip size check
flag to CacheStorage that is relayed to CacheEntry and CacheFile. It is set to
false by default leading to normal cache behaviour.
The patch also adds nsICacheStorageService.synthesizedCacheStorage() that
retrieves a cache storage with this flag set to true, which is used by
nsHttpChannel in case of possible interception.
2015-09-03 16:05:42 -07:00
Nicholas Hurley
4d9aeb8540
Backout bug 1191423 for test bustage on a CLOSED TREE
2015-09-04 10:55:58 -07:00
Nicholas Hurley
e205c39fb7
Bug 1191423 - Disallow illegal characters in cookies. r=jduell
...
--HG--
extra : rebase_source : 52148cfd4f095f599ed21c8322215d57b6ec4ae0
2015-09-04 09:58:31 -07:00
Daniel Stenberg
c94a10c345
Bug 1191253 - start the link monitor, ignore link-local notifications. r=mcmanus
2015-09-03 04:29:00 +02:00
Masatoshi Kimura
dbfc3317da
Bug 1201024 - Disable unrestricted RC4 fallback and add RC4-only servers to the fallback whitelist. r=cykesiopka
2015-09-03 21:50:52 +09:00
Masatoshi Kimura
f54d2601ee
Bug 1201023 - Disable fallback whitelist in Nightly/DevEdition. r=cykesiopka
2015-09-03 21:50:51 +09:00
Kershaw Chang
4b14de0ac4
Bug 1172383 - Stop mDNS properly during destruction. r=mcmanus
2015-09-02 01:23:00 -04:00
Patrick McManus
0c1bb97999
bug 1196882 - dont enforce h1 framing on non 2xx r=bagder
2015-08-28 10:57:16 -04:00
Kalpesh Krishna
180a94bf7c
Bug 1198387 - Remove use-cache preference and its references. r=mcmanus
2015-09-01 01:09:00 -04:00
Marco Fornaro
2f23d39464
Bug 1168033 - Add a comment to nsHttpConnectionMgr.cpp explaining the assignment of attemptedOptimisticPipeline. r=mcmanus
2015-06-02 01:40:00 -04:00