Граф коммитов

25 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari 8b2af3a15f Bug 1341954 - Break a reference cycle caused by ChannelListener that creates leaks in all tests using it; r=mcmanus 2017-02-23 12:12:56 -05:00
Valentin Gosu 6ea6d93279 Bug 1325081 - Change nsHttpChannel to be able to race network with cache r=michal
MozReview-Commit-ID: LmIK9RiKsKp

--HG--
extra : rebase_source : f908b168eb76781e3f398efed9b111a0aca63c29
2017-02-16 15:20:13 +01:00
Tim Huang 19e68da566 Bug 1291652 - Part 3: Update tests for fetching originAttributes from the nsILoadInfo, but not from the nsILoadContext. r=mayhemer
--HG--
extra : rebase_source : ebb2beb2c1c8cde1ecb1f04c151c37ff6705077c
2016-08-22 08:41:00 -04:00
J. Ryan Stinnett 5bede71f0d Bug 1238160 - Rename nsILoadContext::GetIsInBrowserElement. r=smaug,mayhemer
This change renames nsILoadContext::GetIsInBrowserElement to
GetIsInIsolatedMozBrowserElement.  Other methods that pass these values around
also have name changes.

Tokens such as "isInBrowserElement" have previously been serialized into cache
keys, used as DB column names, stored in app registries, etc.  No changes are
made to any serialization formats.  Only runtime method and variable names are
updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: CUttXANQjSv
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett 2a55d065b7 Bug 1238160 - Rename OriginAttributes.mInBrowser and associated methods. r=bz,mayhemer
This change renames OriginAttributes.mInBrowser to mInIsolatedMozBrowser and
nsIPrincipal::GetIsInBrowserElement to GetIsInIsolatedMozBrowserElement.  Other
methods that pass these values around also have name changes.

Tokens such as "inBrowser" have previously been serialized into cache keys, used
as DB column names, stored in app registries, etc.  No changes are made to any
serialization formats.  Only runtime method and variable names are updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: 66HfMlsXFLs
2016-03-02 10:35:56 -06:00
Yoshi Huang d38b78ae54 Bug 1165466 - Fix up docshell and loadcontext inheriting code in nsIScriptSecurityManager. r=bholley 2015-09-23 16:10:21 +08:00
Dragana Damjanovic 9c72743446 Bug 748117 - Make sure http channel is pending in OnStartRequest & OnDataAvailable r=jduell 2014-06-26 18:51:49 -07:00
Daniel Stenberg 43f0c8ec63 Bug 237623 - detect broken HTTP1.1 transfers. r=mcmanus,seth
Return error when the protocol layer detects a framing error. More data
was supposed to be delivered than what actually did arrive.

Error code returned for this: NS_ERROR_NET_PARTIAL_TRANSFER

In HTTP1.1 for Content-Length: and chunked-encoding underruns

In http2 and SPDY for framing errors when data has already been received.

imgRequest::OnStopRequest will keep partially loaded images shown but
remove them from cache.
2014-06-09 00:15:00 +02:00
Josh Matthews 943b369860 Bug 837091 - Rename cookie-changed notification for private cookies. r=ehsan 2013-02-05 10:44:21 +00:00
Brian Smith aa292f0252 Bug 770243: Close cache input stream only when we're sure we don't need it in nsHttpChannel, r=bsmith for Honza's code, r=honzab for bsmith's changes
--HG--
extra : rebase_source : 6ea99a3a3cd3703cdd0b9a2e0c17dd71ffc3b3ac
2012-09-24 10:20:11 -07:00
Jason Duell fa09e23fb6 Bug 756648 - Implement "cookie jars" for apps. r=biesi,smaug
--HG--
rename : netwerk/test/unit_ipc/test_cookie_wrap.js => netwerk/test/unit_ipc/test_cookie_header_wrap.js
2012-09-18 12:04:04 -04:00
Jason Duell 4be6af5664 Bug 747215: Ensure redirect pathways always call both OnStart/OnStopRequest. r=biesi 2012-06-05 23:59:05 -07:00
Ed Morley 85d9671a40 Backout 12d1d626759c (bug 747215), 11b16556248e (bug 738484) for xpcshell failures on all platforms 2012-05-03 10:17:42 +01:00
Jason Duell 3beefc1252 Bug 747215 - Ensure redirect pathways always call both OnStart/OnStopRequest. r=biesi 2012-05-03 00:35:55 -07:00
Patrick McManus e79097d459 bug 597684 Implement HTTP Assoc-req and Banned Pipelines on nsHttpConnectionInfo r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus d6ed2294cf bug 704227 muddle through on some minor problems with content-length r=jduell 2012-02-09 14:47:30 -05:00
Patrick McManus d575e7e449 bug 255119 do not display http response body of 3xx with javascript: location header r=honzab 2011-09-22 08:59:12 -04:00
Josh Matthews 00afa443f6 Bug 536321 - e10s HTTP: suspend/resume. r=dwitte 2010-08-10 23:07:09 -04:00
Bjarne ed732b9f7f Bug 546606 - Make redirect API async - part 2; r=honzab.moz,cbiesinger,bjarne,jst sr=jst 2010-08-04 22:15:55 -04:00
Honza Bambas a5855be7e1 Bug 513086 - Make redirect API async, r=bz, sr=biesi
--HG--
rename : netwerk/test/unit/test_redirect_caching.js => netwerk/test/unit/test_redirect-caching_passing.js
2010-07-28 20:33:06 +02:00
Jason Duell 954af229bf Bug 521258 - Catch exceptions in template ChannelListener class to avoid hangs, r=jwalden 2009-11-14 20:54:52 -08:00
Boris Zbarsky c90ed4f01a Bug 454411. Fix caching of redirects to actually work. r+sr=biesi 2008-09-09 21:39:38 -04:00
Boris Zbarsky 17ae4f93ca Bug 426273. Make sure to clear out bogus Content-Disposition values before checking whether we can handle the 206 response. r+sr=biesi 2008-07-31 17:55:14 -07:00
cbiesinger@gmx.at 31c7abc259 393624 check for unexpected status codes when resuming downloads r+sr+a=bz 2007-08-24 17:47:54 -07:00
cbiesinger@gmx.at 46f6162c1f move Listener and read_stream to its own head file so that it can be reused by other tests 2007-08-24 11:08:37 -07:00