Commit Graph

6546 Commits

Author SHA1 Message Date
Patrick McManus
4c3af8db9b bug 1152046 - Revert Make separate thread only for PRClose. r=backout
This reverts commit 760a84e7cf7fa49c889a5a17a5935d3ca1e02384.
2015-09-15 21:40:28 -04:00
Nicholas Nethercote
ac3ae5e6c1 Bug 1121760 (part 6) - Move all remaining PL_DHash*() functions into PLDHashTable. r=poiru. 2015-09-14 14:23:47 -07:00
Nicholas Nethercote
5c91fcd1e6 Bug 1121760 (part 3) - Remove PL_DHashTableRemove(). r=poiru. 2015-09-14 14:23:24 -07:00
Nicholas Nethercote
538c6626e9 Bug 1121760 (part 2) - Remove PL_DHashTableAdd(). r=poiru. 2015-09-14 14:23:12 -07:00
Nicholas Nethercote
ba83ffc5ec Bug 1121760 (part 1) - Remove PL_DHashTableSearch(). r=poiru. 2015-05-21 00:34:25 -07:00
Shu-yu Guo
45211869c8 Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Ben Kelly
4afac52134 Bug 1203680 P8 nsCORSListenerProxy::OnStartRequest must always call outer OnStartRequest. r=ehsan 2015-09-15 10:15:45 -07:00
Ben Kelly
4dff520b3d Bug 1203680 P7 Fix e10s handling on interceptions resulting in redirect status codes. r=jdm 2015-09-15 10:15:45 -07:00
Ben Kelly
118647a2cf Bug 1203680 P3 Add a method to ensure an http upload stream is directly cloneable. r=mcmanus 2015-09-15 10:15:45 -07:00
Dragana Damjanovic
e17d5fb5ac Bug 1204043 - remove mServeMultipleEventsPerPollIter pref. r=mcmanus 2015-09-15 05:10:00 +02:00
Christoph Kerschbaumer
e790d5b2a7 Bug 1204648 - Support AsyncOpen2,Open2,nsIUploadChannel and nsIUploadChannel2 on nsSecCheckWrapChannelBase. r=sicking 2015-09-14 14:21:03 -07:00
Nicholas Nethercote
0c8dfbfdaf Bug 1204277 - Disallow warnings in six more directories. r=glandium.
These are all conditional uses of ALLOW_COMPILER_WARNINGS=True that are no
longer necessary.
2015-09-14 21:16:37 -07:00
Christoph Kerschbaumer
6c00da9063 Bug 1195162 - Use channel->ascynOpen2 dom/xbl/nsXBLService.cpp (r=sicking) 2015-09-14 18:59:35 -07:00
Wes Kocher
6fc13b52da Backed out 9 changesets (bug 1203680) for mochitest bustage CLOSED TREE
Backed out changeset e4733b9eb53c (bug 1203680)
Backed out changeset fb33eb2a55b0
Backed out changeset eb42e21bbb96 (bug 1203680)
Backed out changeset 86642d84e604 (bug 1203680)
Backed out changeset 1026da4b02fb (bug 1203680)
Backed out changeset 311f9810e0b3 (bug 1203680)
Backed out changeset 6fedc85dc0d9 (bug 1203680)
Backed out changeset b25230c0a193 (bug 1093357)
Backed out changeset 2369d63ef14a (bug 1203680)
2015-09-14 14:27:57 -07:00
Ben Kelly
d0545e703a Bug 1203680 P7 Fix e10s handling on interceptions resulting in redirect status codes. r=jdm 2015-09-14 12:04:56 -07:00
Ben Kelly
d12881ee7f Bug 1203680 P3 Add a method to ensure an http upload stream is directly cloneable. r=mcmanus 2015-09-14 12:04:56 -07:00
Nathan Froyd
54ddb6599d Bug 1204042 - make nsSocketTransportService::mTelemetryEnabledPref an atomic variable; r=mcmanus
This variable is written on the main thread (where we can access prefs),
but read on the socket thread on every poll iteration to decide whether
we should record telemetry information.  Making it atomic communicates
our intent to read/write the value on multiple threads without any
locking.  Using relaxed memory consistency is just as efficient as what
we have today, and it does not seem terribly crucial whether the *very
next* poll iteration records telemetry once the pref is updated, or
whether we can eventually get the correct value on the socket thread.
2015-09-11 21:03:53 -04:00
Dragana Damjanovic
25040ef44a Bug 1152046 - Make separate thread only for PRClose. r=mcmanus r=mayhemer 2015-09-10 19:07:00 +02:00
Ehsan Akhgari
713d952532 Bug 1199049 - Part 15: Add a missing include 2015-09-12 20:13:23 -04:00
Ehsan Akhgari
ef2bb8c6ff 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
f725eeb5c0 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
daaaff2cd4 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
252253935c 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
89f5a678e6 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
30296d8163 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
07a43a3b3b 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
0f566ac386 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
dad90ab8cb 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
0071b7637b Bug 1199049 - Part 2: Add a channel API for requesting CORS preflights; r=jduell 2015-09-12 19:20:54 -04:00
Ehsan Akhgari
028216015d Bug 1199049 - Part 1: Move nsCORSListenerProxy.* to necko; r=jduell 2015-09-12 19:20:52 -04:00
Phil Ringnalda
2e1a6cfa93 Merge m-c to m-i 2015-09-12 10:34:34 -07:00
Michael Layzell
62fb3b59cc 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
abd03bf63c Merge f-t to m-c, a=merge 2015-09-12 09:13:57 -07:00
Phil Ringnalda
07b4d9e758 Merge m-c to f-t 2015-09-11 22:10:22 -07:00
Phil Ringnalda
c5faed392a Merge b-i to m-c, a=merge 2015-09-11 20:27:20 -07:00
Phil Ringnalda
d36fd5420f Merge m-c to m-i 2015-09-11 22:04:40 -07:00
Christoph Kerschbaumer
5814f812b3 Bug 1199491 - Use channel->ascynOpen2 in netwerk/base/nsURIChecker (r=sicking,jduell) 2015-09-11 18:54:00 -07:00
Christoph Kerschbaumer
2767440adb Bug 1199491 - Use channel->ascynOpen2 in netwerk/base (r=sicking) 2015-09-11 18:52:08 -07:00
Kershaw Chang
01d85c4262 Bug 1199564 - start/stop mDNS on demand - v3. r=mcmanus 2015-09-10 20:03:00 +02:00
Carsten "Tomcat" Book
431461d251 Merge mozilla-central to fx-team 2015-09-11 16:42:01 +02:00
Dragana Damjanovic
ba5aa49ef6 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
ac01a79adb Bug 1193605 - Part 4: add UUID for listeners; r=mcmanus 2015-08-25 07:17:00 +02:00
Liang-Heng Chen
79d184363e Bug 1193605 - Part 3: do not stop non-started service; r=mcmanus 2015-08-25 07:15:00 +02:00
Liang-Heng Chen
4261816543 Bug 1193605 - Part 1: enable mdns on Fennec. r=mcmanus r=rnewman 2015-08-25 06:58:00 +02:00
Ehsan Akhgari
60ad7f6c40 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
bc2547351d Backed out changeset 8a798c03d76c (bug 815299) for M4 bustage ON A CLOSED TREE 2015-09-09 09:12:41 +05:30
Ehsan Akhgari
369d8d918d 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
13be7cbd93 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
5678723549 Add a couple of missing #includes to nsHttpNTLMAuth.cpp, no bug CLOSED TREE 2015-09-08 12:58:21 -07:00
Wes Kocher
8184080ab6 Backed out changeset f136c4f7e6fe for windows xpcshell bustage CLOSED TREE 2015-09-08 10:42:23 -07:00