Valentin Gosu
a60ce32b46
Bug 1439931 - nsIIOService.extractScheme/net_ExtractURLScheme should lowercase its output r=mayhemer
...
MozReview-Commit-ID: LZ2rqIdIoXQ
--HG--
extra : rebase_source : 3d9973f0001ddc2d98cad0ddddb646cedac489c7
2018-02-26 16:42:27 +01:00
Shane Caraveo
76ee06b331
Bug 1149250 add support for https upgrades from webextensions, r=bz,mayhemer,rpl
...
MozReview-Commit-ID: ChIs2Q6bgEn
--HG--
extra : rebase_source : 942d6ee111df39fdd19d1d035e8eefa9280430f3
2017-12-08 12:12:37 -08:00
Honza Bambas
094d78b20f
Bug 1403998 - Make view-source channels return correct resultPrincipalURI via LoadInfo after redirect. r=bz
...
--HG--
extra : rebase_source : 8564111630c4a32a098721121a2e52d46e98e616
2017-10-02 10:12:00 -04:00
Chris Peterson
a0c8081df4
Bug 870698 - Part 4: Replace Equals("") with EqualsLiteral(""). r=erahm
...
MozReview-Commit-ID: G1GhyvD29WK
--HG--
extra : rebase_source : 115842c37a40041bdca7b4e1ff0a5680b02ced15
extra : source : 90bfff9c01d80086cdc17637f310e898fea295ea
2017-09-06 01:13:45 -07:00
Masatoshi Kimura
f143125cc2
Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu
...
MozReview-Commit-ID: DqJdTGopR9G
--HG--
extra : rebase_source : e8c9eb03468c075b79013b6e0bd8b367229c24cd
2017-07-29 20:50:21 +09:00
Kate McKinley
84d5adef43
Bug 1331730 - Log CORS messages from the content process r=bz,mayhemer
...
In e10s, a channel created by parent does not have a reliable reference
to the inner window ID that initiated the request. Without that, the
channel must request that the content process log and blocked messages
to the web console. This patch creates a new ipdl interface to pass the
message from the parent to the child process. The nsCORSListenerProxy
also needs to keep a reference to the nsIHttpChannel that created it so
it can find its way back to the child. Additionally, the
HttpChannelParent needs to be propagated when creating a new channel for
CORS.
MozReview-Commit-ID: 8CUhlVCTWxt
--HG--
extra : rebase_source : 350f39ad6f7ada39e88dfcc69c4f2c470e2be0de
2017-02-15 12:40:41 +09:00
Sylvestre Ledru
4e9cf83ee8
Bug 1378712 - Remove all trailing whitespaces r=Ehsan
...
MozReview-Commit-ID: Kdz2xtTF9EG
--HG--
extra : rebase_source : 7235b3802f25bab29a8c6ba40a181a722f3df0ce
2017-07-06 14:00:35 +02:00
Valentin Gosu
0a4d506e21
Bug 1354349 - Add nsIChannel.isDocument that checks if LOAD_DOCUMENT_URI is set, or if LOAD_HTML_OBJECT_DATA and the channel has the appropriate MIME type r=mcmanus,mystor
...
MozReview-Commit-ID: K28Opd9JTr2
--HG--
extra : rebase_source : d1a786d9b4318be15f195fdc330489121ebd6ece
2017-04-20 10:15:06 +08:00
Carsten "Tomcat" Book
7ba1b88f0b
Backed out changeset ec9fb39f7133 (bug 1354349) for bustage
2017-04-18 08:52:14 +02:00
Valentin Gosu
8f33abcc56
Bug 1354349 - Add nsIChannel.isDocument that checks if LOAD_DOCUMENT_URI is set, or if LOAD_HTML_OBJECT_DATA and the channel has the appropriate MIME type r=mcmanus,mystor
...
MozReview-Commit-ID: K28Opd9JTr2
--HG--
extra : rebase_source : 226ef1e6685a9608aa7c07d3c83b048d6e1e7278
2017-04-18 11:25:47 +08:00
Nicholas Hurley
dc67ce7d71
Bug 1348461 - Use a process-unique uint64 instead of a uuid for channel ids r=mcmanus
2017-04-04 08:36:51 -07:00
Nicholas Hurley
89c508224f
Bug 1348462 - Use a process-unique uint64 instead of a uuid for request context ids r=mcmanus
...
--HG--
extra : rebase_source : 84541f78eeec1a5e202c12b57131ede9834f687a
2017-03-23 07:40:36 -07:00
Kershaw Chang
b9c0cd1f09
Bug 1312782 - Part 3: Test case. r=honzab
2017-03-27 04:10:00 -04:00
Andrea Marchesini
1fd1bc3935
Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot
...
--HG--
rename : caps/nsNullPrincipal.cpp => caps/NullPrincipal.cpp
rename : caps/nsNullPrincipal.h => caps/NullPrincipal.h
rename : caps/nsNullPrincipalURI.cpp => caps/NullPrincipalURI.cpp
rename : caps/nsNullPrincipalURI.h => caps/NullPrincipalURI.h
2017-03-22 11:38:40 +01:00
Wei-Cheng Pan
0ec220a22a
Bug 1310127 - Part 6: Use MOZ_MUST_USE in netwerk/protocol/http r=dragana
...
MozReview-Commit-ID: 6zF76CsegSn
--HG--
extra : rebase_source : b151d1152014f32bc2a3019275d769f907d50145
2017-01-12 15:17:52 +08:00
Wei-Cheng Pan
ab2969cfa1
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
--HG--
extra : rebase_source : ddb068f7c038f6f0ad75efda941dd6b8da8b949a
2016-12-28 14:43:47 +08:00
Honza Bambas
bb033696f7
Bug 1324419 - Use QueryObject for nsHttpChannel. r=mcmanus
...
--HG--
extra : rebase_source : 192a4705e4e91bc393a283743a1ad8880da6aeba
2017-02-17 08:08:00 -05:00
Michael Layzell
a71fd85f7d
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
cd895c94f2
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
b862dc4c74
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
706f18a2c8
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
37301e25ad
Bug 1297300 - Add missing checks to GetSpec() calls in netwerk/. r=hurley,dragana.
...
--HG--
extra : rebase_source : 961a82fb6e723688837e5250f57121c14ca958cb
2016-08-26 16:40:57 +10:00
Christoph Kerschbaumer
71fde070bb
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
4948ad52d6
Bug 1274556 - Add a channelId attribute to nsIHttpChannel r=hurley
2016-06-01 12:29:21 -07:00
Dragana Damjanovic
7cf5152088
Bug 669259 - Expose original header received from a peer. r=mcmanus
2016-05-12 14:33:00 -04:00
Yoshi Huang
ba1bb72568
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
c8a94789bb
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
--HG--
rename : netwerk/base/SchedulingContextService.cpp => netwerk/base/RequestContextService.cpp
rename : netwerk/base/SchedulingContextService.h => netwerk/base/RequestContextService.h
rename : netwerk/base/nsISchedulingContext.idl => netwerk/base/nsIRequestContext.idl
2016-04-21 16:59:17 +02:00
Christoph Kerschbaumer
f29ec8d62f
Bug 1254689 - Remove SEC_NORMAL where loadingPrincipal is SystemPrincipal or NullPrincipal. r=sicking
2016-03-09 13:55:59 -08:00
Wes Kocher
817d8829fc
Backed out changeset 7cbab9ec76d5 (bug 1254689) for browser_dbg_addon-sources.js failures
...
MozReview-Commit-ID: 3zPliH7mmPj
--HG--
extra : rebase_source : 90a6c96c2106ec23043160ed93041cd7e15b1640
2016-03-09 10:56:23 -08:00
Christoph Kerschbaumer
007c074be0
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
456e54eb3b
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
150b645ebb
Bug 1241377 - Part 1: Implement nsIFormPOSTActionChannel for the channel accepts form POST. r=mayhemer
2016-01-28 19:38:34 +09:00
Jonas Sicking
28de02f687
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
774236075d
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
ff12f48c5a
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 ext:(%2C%20Valentin%20Gosu%20%3Cvalentin.gosu%40gmail.com%3E)
7e19134192
Bug 1154309 - Add New Resource Timing Fields r=bz,hurley
2015-07-24 08:49:25 -07:00
Andrea Marchesini
48bc6c454b
Bug 1147749 - View source should go through service worker interception, r=bz, r=jduell
2015-10-05 14:46:24 +01: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
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
Christoph Kerschbaumer
3e6c68863f
Bug 1193552 - Remove baseURI from LoadInfo (r=sicking,jkitch)
2015-08-19 10:43:30 -07:00
Christoph Kerschbaumer
a2927d618d
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
ec552557f5
Backed out changeset f99b27e40987 (bug 1193924) for B2G emulator bustage.
...
CLOSED TREE
2015-08-13 12:45:05 -04:00
Christoph Kerschbaumer
ecdc701ca0
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
16407ea724
Bug 1127618 - make push caches work in e10s. r=mcmanus r=froydnj IGNORE IDL
...
--HG--
extra : rebase_source : 24dd37c6eaec83a1776d77632b97106e8abb8015
2015-07-31 13:50:08 -07:00
Christoph Kerschbaumer
2ddb4064ec
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
7d1e52f2ff
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Michal Novotny
faa2a67d00
Bug 1156493 - e10s: move .cacheKey to nsICacheInfoChannel so child channels can get/set it, r=jduell
2015-05-10 02:26:39 +02:00