Andrea Marchesini
8f5f953fba
Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot
2017-03-22 11:38:40 +01:00
Wei-Cheng Pan
98764ef691
Bug 1310127 - Part 6: Use MOZ_MUST_USE in netwerk/protocol/http r=dragana
...
MozReview-Commit-ID: 6zF76CsegSn
2017-01-12 15:17:52 +08:00
Wei-Cheng Pan
60a2861056
Bug 1310127 - Part 4: Use MOZ_MUST_USE in netwerk/protocol/http r=mcmanus
...
This patch contains some changes that may alter control flows.
MozReview-Commit-ID: Kcc2DWJZ8L5
2016-12-28 14:43:47 +08:00
Honza Bambas
f35b32aebc
Bug 1324419 - Use QueryObject for nsHttpChannel. r=mcmanus
2017-02-17 08:08:00 -05:00
Michael Layzell
c57a209423
Bug 1339153 - Part 1: Correctly emulate missing headers in nsViewSourceChannel::GetResponseHeader, r=bz
...
MozReview-Commit-ID: 34bCA7wKkmh
2017-02-13 14:42:24 -05:00
Ehsan Akhgari
337e003709
Bug 1170190 - Part 2: Add the nsIHttpChannel::IsTrackingResource() API to query the channel's tracking annotation; r=mayhemer
2016-12-23 14:40:11 -05:00
Honza Bambas
8a9271d13f
Bug 1312243 - Block authentication dialog pop-ups by cancling 3 of them in a row, r=Dolske+mcmanus
2016-12-16 03:42:00 +01:00
Honza Bambas
a7b59f7374
Bug 1318759 - Properly query final class in HttpChannelParent::OnStartRequest to prevent evil static_cast, r=jduell
2016-12-09 05:52:00 +01:00
Nicholas Nethercote
7b5df070f0
Bug 1297300 - Add missing checks to GetSpec() calls in netwerk/. r=hurley,dragana.
2016-08-26 16:40:57 +10:00
Christoph Kerschbaumer
9707ba1a13
Bug 1282554 - Provide helper function to check if channel can be openen using open2() and asyncOpen2() r=bholly
2016-06-28 19:03:56 +02:00
Jarda Snajdr
2eed757419
Bug 1274556 - Add a channelId attribute to nsIHttpChannel r=hurley
2016-06-01 12:29:21 -07:00
Dragana Damjanovic
77712d265b
Bug 669259 - Expose original header received from a peer. r=mcmanus
2016-05-12 14:33:00 -04:00
Yoshi Huang
2b116e8616
Bug 1263496 - Part 3: fix for nsNullPrincipal::Create
...
This fixed the locations listed by
http://searchfox.org/mozilla-central/search?q=nsNullPrincipal::Create (&redirect=true
that needs to inherit origin attributes.
2016-04-27 18:38:07 +08:00
Valentin Gosu
684bb7e7c6
Bug 1262326 - Make test_user_agent_overrides.html work in e10s r=nwgh
...
* Rename SchedulingContext to RequestContext
* Move SetLoadGroupUserAgentOverride to nsHttpChannel
* Cache the userAgentOverride in RequestContext instead of LoadGroup
MozReview-Commit-ID: FQS9uSRR8kd
2016-04-21 16:59:17 +02:00
Christoph Kerschbaumer
136a31bb4c
Bug 1254689 - Remove SEC_NORMAL where loadingPrincipal is SystemPrincipal or NullPrincipal. r=sicking
2016-03-09 13:55:59 -08:00
Wes Kocher
77087623ff
Backed out changeset 7cbab9ec76d5 (bug 1254689) for browser_dbg_addon-sources.js failures
...
MozReview-Commit-ID: 3zPliH7mmPj
2016-03-09 10:56:23 -08:00
Christoph Kerschbaumer
3b1ca5ae52
Bug 1254689 - Remove SEC_NORMAL where loadingPrincipal is SystemPrincipal or NullPrincipal (r=sicking)
...
MozReview-Commit-ID: LKK3MGMODNI
2016-03-09 09:01:45 -08:00
Blake Kaplan
bd476fb1d1
Bug 1113196 - Pass a sane set of parameters to loadinfo for top-level loads in e10s. r=sicking
2016-03-04 08:54:07 -08:00
Michael Madsen
9517189b48
Bug 1241377 - Part 1: Implement nsIFormPOSTActionChannel for the channel accepts form POST. r=mayhemer
2016-01-28 19:38:34 +09:00
Jonas Sicking
736f70081e
Bug 1226909 part 3: Move logic of when to initiate CORS preflight into channels. Allow CORS preflight to happen when doing a same-origin to cross-origin redirect. r=ckerschb
2015-12-06 18:33:14 -05:00
Sebastian Hengst
cdf4286868
Backed out changeset 09d64535bcda (bug 1216687), a7f1a289dd78, 4dbf06183e6c, 26318a5e3006, 9ae2af3cf86d (bug 1226909) for M(1,2,5) oranges. r=backout
2015-12-05 16:34:47 +01:00
Jonas Sicking
cd1c0c2552
Bug 1226909 part 3: Move logic of when to initiate CORS preflight into channels. Allow CORS preflight to happen when doing a same-origin to cross-origin redirect. r=ckerschb
2015-12-05 01:46:20 -08:00
Nate Hughes
26695fef92
Bug 1154309 - Add New Resource Timing Fields r=bz,hurley
2015-07-24 08:49:25 -07:00
Andrea Marchesini
526d67c413
Bug 1147749 - View source should go through service worker interception, r=bz, r=jduell
2015-10-05 14:46:24 +01:00
Michael Layzell
4aa2d0bee4
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
Ehsan Akhgari
68e82a9a17
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
9476f7e7c9
Backed out changeset 8a798c03d76c (bug 815299) for M4 bustage ON A CLOSED TREE
2015-09-09 09:12:41 +05:30
Ehsan Akhgari
95141592e9
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
c5831b5f29
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
Christoph Kerschbaumer
8ab48ef209
Bug 1193552 - Remove baseURI from LoadInfo (r=sicking,jkitch)
2015-08-19 10:43:30 -07:00
Christoph Kerschbaumer
040351fa66
Bug 1193924 - Add assertion to AsyncOpen to make sure asyncOpen2() was called first when securityflags in loadInfo are set (r=sicking)
2015-08-12 21:36:33 -07:00
Ryan VanderMeulen
0618529665
Backed out changeset f99b27e40987 (bug 1193924) for B2G emulator bustage.
...
CLOSED TREE
2015-08-13 12:45:05 -04:00
Christoph Kerschbaumer
65f6f74176
Bug 1193924 - Add assertion to AsyncOpen to make sure asyncOpen2() was called first when securityflags in loadInfo are set (r=sicking)
2015-08-12 21:36:33 -07:00
Nicholas Hurley
bb76d521d7
Bug 1127618 - make push caches work in e10s. r=mcmanus r=froydnj IGNORE IDL
2015-07-31 13:50:08 -07:00
Christoph Kerschbaumer
2ea46a230d
Bug 1143922 - Add AsyncOpen2 to nsIChannel and perform security checks when opening a channel - channel changes (r=mcmanus,sicking)
2015-05-15 13:21:20 -07:00
Emanuel Hoogeveen
b30abdc582
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Michal Novotny
6ebc2c926a
Bug 1156493 - e10s: move .cacheKey to nsICacheInfoChannel so child channels can get/set it, r=jduell
2015-05-10 02:26:39 +02:00
Nathan Froyd
8fccbf9246
Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
...
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1"). Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Wes Kocher
8e33b81f72
Backed out changeset 050848a5273c (bug 1153988) for Windows build bustage CLOSED TREE
2015-04-14 14:42:59 -07:00
Nathan Froyd
047c5ef7e9
Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
...
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1"). Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Ryan VanderMeulen
838f96487a
Backed out changeset e713ce8013eb (bug 1127618) for suspicion of causing semi-frequent B2G crashes.
...
CLOSED TREE
2015-04-09 20:05:49 -04:00
Nicholas Hurley
846155b38d
Bug 1127618 - make push caches work in e10s. r=mcmanus r=froydnj
2015-04-08 14:42:00 +02:00
Christoph Kerschbaumer
afd12b01d1
Bug 1099296 - Attach LoadInfo to remaining callers of ioService and ProtocolHandlers - in netwerk/ (r=sworkman)
2015-02-17 10:09:31 -08:00
Francois Marier
d309ce83c6
Bug 1113004 - Add IsPrivateResponse to HttpChannel. r=mayhemer
2015-01-08 22:38:00 +01:00
Owen Chu
f8f45e4564
Bug 704320 - Parse and implement meta tag-based referrer policies for documents and nsHttpChannels. (r=bz,mcmanus)
2014-11-18 08:46:29 -05:00
James Kitchener
d84910647d
Bug 971432 - Move baseURI to nsILoadInfo. r=bz
2014-11-05 01:34:00 +01:00
Christoph Kerschbaumer
9ea722dc57
Bug 1063197 - Callsites of NS_NewInputStreamChannel in /netwerk/ (r=mcmanus)
2014-10-16 11:14:35 -07:00
Christoph Kerschbaumer
594d5683cb
Bug 1053028 - Remove remaining relicts of deprecated X-CSP header (r=sstamm)
2014-08-12 21:15:56 -07:00
Boris Zbarsky
16d6c5ece7
Bug 965413 part 3. Add a .loadInfo property to channels. r=mcmanus
2014-07-10 02:56:36 -04:00
Patrick McManus
7888e433ba
bug 1003566 - part 1 - allowSTS attribute to nsIHttpChannel r=honzab
2014-06-04 09:57:15 -07:00