Commit Graph

11874 Commits

Author SHA1 Message Date
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
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
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
Patrick McManus
db9909beda bug 1194818 - h2 header priority handling r=hurley 2015-08-18 14:57:07 -04:00
Michal Novotny
de0d5cc746 Bug 1186160 - WebSocketChannel accesses nsDocShell and nsDocument off the main thread, r=mcmanus 2015-09-01 02:47:23 +02:00
Ryan VanderMeulen
d7989bc78a Backed out changeset af935eae9bed (bug 1194818) for Windows build bustage.
CLOSED TREE

--HG--
extra : histedit_source : 8dbea2416a40964e2879a86941ca2024bf82f972
2015-08-31 18:33:47 -04:00
Michal Novotny
eac1f62ecb Bug 1182515 - WebSocketChannel leaked when WebSocketChannel::AsyncOpen fails, r=mcmanus 2015-08-31 23:34:59 +02:00
Ben Kelly
02091a795c Bug 1184607 P10 Expose channel security info during e10s redirect. Support security info in redirecting interceptions. r=jduell 2015-08-31 14:26:30 -07:00
Ben Kelly
0c633816f2 Bug 1184607 P3 Add a RedirectMode flag to nsIHttpChannelInternal. r=nsm
* * *
Bug 1184607 P3 interdiff 001 http channel nits
2015-08-31 14:26:29 -07:00
Patrick McManus
3ed993ff6a bug 1194820 - h2 push promise padding handling r=hurley 2015-08-18 15:16:14 -04:00
Patrick McManus
4f2eaec422 bug 1194818 - h2 header priority handling r=hurley 2015-08-18 14:57:07 -04:00
Henry Chang
95952c0098 Bug 1195713 - Set the proper notification callbacks for the inner channel. r=valentin
--HG--
extra : rebase_source : 6aefee28f21986d8e6e8ead5b2d142b5bf2d2270
2015-08-31 17:47:10 +08:00
Nicholas Nethercote
f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Mike Taylor
e1c0312fe9 Bug 1078267 - Re-enable netwerk mochitests for Fennec. r=jchen
Current theory is that Bug 1178760 was probably the cause for intermittents.
2015-08-28 06:54:00 -04:00
Nikhil Marathe
34c0975909 Bug 1176988 - Patch 1 - Always hit cache irrespective of HTTP method if channel is being intercepted. r=jdm
--HG--
extra : commitid : HogM6wG4Osv
extra : rebase_source : 6260406a8c8e29e8c5e0bb196c29849d91ceab47
2015-08-18 11:30:38 -07:00
Ting-Yu Chou
f4c170044f Bug 1119692 - Part 2: Always use scheme jar:remoteopenfile: for out-of-process apps to ease sandboxing code. r=fabrice
--HG--
extra : rebase_source : 3a5ece0177967f5b142abd48885a9a4ff2600c63
2015-08-17 10:30:22 +08:00
Ting-Yu Chou
aeda2c4a1e Bug 1119692 - Part 1: Get cached jar file fd if it exists instead of always openning it. r=smaug, r=jduell
--HG--
extra : rebase_source : 0a2f213289936cc005aa9e3e792c6301353cb572
2015-08-17 10:25:59 +08:00
Dragana Damjanovic
aa661c39f5 Bug 979359 - Add telemetry to to collect stats about how often Http Authentication occurs and how often it is for top-level doc, cross-origin, etc. r=jduell
--HG--
extra : rebase_source : f5c1fd99880411dc09e6baee104d535a400e28b9
2015-08-27 07:50:00 -04:00
Yoshi Huang
e6070e9062 Bug 1165272 - Part 2: replace getNoAppCodebasePrincipal. r=bholley 2015-08-18 15:01:42 +08:00
Yoshi Huang
4347bb2318 Bug 1165272 - Part 1: remove getAppCodebasePrincipal. r=bholley 2015-08-17 17:03:19 +08:00
Fabrice Desré
db3cd46808 Bug 1196963 - Make extensions work without being in developer mode r=jduell 2015-08-26 18:40:05 -07:00
Ryan VanderMeulen
baa08d9528 Backed out changesets 1620bf9f8f2a and 0d75db15b6ed (bug 1119692) for nsZipReaderCache::GetFd crashes.
CLOSED TREE
2015-08-26 11:20:54 -04:00
Cykesiopka
0d6549c972 Bug 1197644 - Remove the security.ssl.warn_missing_rfc5746 pref. r=keeler
--HG--
extra : transplant_source : %90%28%11%DB%E53%93%7C%F2%D6%5Ek%CC%DC%BE%FAe%F2%896
2015-08-24 22:53:42 -07:00
Randell Jesup
fe650e3a0f Bug 1198730: fix simple bug in PMTUD disable that clears all other flags r=tuexen 2015-08-26 10:05:39 -04:00
Ting-Yu Chou
2f8976ba67 Bug 1119692 - Part 2: Always use scheme jar:remoteopenfile: for out-of-process apps to ease sandboxing code. r=fabrice
--HG--
extra : rebase_source : 43d4156f9943d7ded6c98e14fb27d962be73d276
2015-08-17 10:30:22 +08:00
Ting-Yu Chou
08e0ed4155 Bug 1119692 - Part 1: Get cached jar file fd if it exists instead of always openning it. r=smaug, r=jduell
--HG--
extra : rebase_source : d813c90648f62071a1b8eeac800431b24e22a370
2015-08-17 10:25:59 +08:00
Chris Peterson
1416e566de Bug 1198124 - Enable -Wshadow in directories that have no -Wshadow warnings. r=glandium 2015-08-25 09:14:38 -07:00
Ryan VanderMeulen
7ebe933711 Merge m-c to inbound. a=merge 2015-08-26 00:05:36 -04:00
Ryan VanderMeulen
72cacbae1b Bug 1197986 - Request a longer timeout for tests that started timing out after increasing the number of B2G debug xpcshell chunks from 2 to 4. 2015-08-25 20:56:16 -04:00
Ryan VanderMeulen
d01fa354cb Bug 1197986 - Request a longer timeout for tests that started timing out after increasing the number of B2G debug xpcshell chunks from 2 to 4. 2015-08-25 18:31:35 -04:00