Honza Bambas
d6d727a69e
backout of f9abb9c83452 (bug 1319111) for crashes, r=bz
2017-05-13 13:55:11 +02:00
Wes Kocher
0a1e1fe23b
Backed out changeset 95ff98f1c2e5 (bug 1319111) for talos failures a=backout
...
MozReview-Commit-ID: Gs09moFm5rQ
2017-05-12 18:24:42 -07:00
Honza Bambas
70f62bdec1
backout of f9abb9c83452 (bug 1319111) for crashes, r=bz
2017-05-12 22:13:49 +02:00
Wes Kocher
3416c23dad
Backed out changeset 0a25a0fa3b32 (bug 1362822) for osx debug devtools timeouts a=merge
...
MozReview-Commit-ID: 3LMChZJEBHp
--HG--
extra : source : 50940861284c3c6f804a5c7e1ab90b4ddf55b684
2017-05-11 15:23:43 -07:00
Ehsan Akhgari
40f9159875
Bug 1362822 - Avoid needlessly holding locks when setting headers during the initialization of HTTP channel objects; r=schien,dragana
...
The channel objects cannot be handed off to other threads before the creation
process has been finished, so there is no point in trying to hold these locks
while the initialization code is running. These lockings have shown up in
profiles as being expensive.
2017-05-11 09:23:30 -04:00
Jonathan Watt
33cfc4aa43
Bug 1362891, part 2 - Make use of XRE_IsE10sParentProcess in code that could use it. r=froydnj
...
MozReview-Commit-ID: 81PFEgNH37m
--HG--
extra : rebase_source : 350b11b3bec652472565bd590ef13680e480a75e
2017-04-24 10:40:12 +01:00
Honza Bambas
a1b64b4694
Bug 1319111 - Expose URI to make security check against on LoadInfo (no LOAD_REPLACE flag). r=bz
2017-01-27 19:10:01 +01:00
Ehsan Akhgari
c696722eda
Bug 1360973 - Don't do the work needed for same origin referrer policies unless if we need to; r=tnguyen
...
CheckSameOriginURI() can be expensive and shows up under profiles, so we
should try to avoid calling it unless if we are going to use
isCrossOrigin.
2017-05-04 13:30:13 -04:00
Dragana Damjanovic
9a3cfa6017
Bug 1334776 - Store header names into nsHttpHeaderArray. r=mcmanus
2017-04-27 16:48:36 +02:00
Kershaw Chang
d2acdf1290
Bug 1343745 - Label runnables in /http, r=honzab
2017-04-23 19:59:00 +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
Ho-Pang Hsu
11560d7c31
Bug 1168875 - Part 1: Extend nsITimedChannel for logging service worker interception related timestamps. f=bkelly, r=valentin
...
--HG--
extra : rebase_source : 8c20cc8f2014f728038b8b9b214e888cc3215d0c
2017-04-10 21:13:21 +08:00
Christoph Kerschbaumer
fc56451c03
Bug 1353975 - Fix nullPrincipal edge case. r=bz, r=mcmanus
2017-04-07 20:35:00 +02:00
Sebastian Hengst
e71676d7ea
Backed out changeset 96596bdeb7ec (bug 1353975) for failing mochitest test_CrossSiteXHR.html and xpcshell test test_allowedDomainsXHR.js. r=backout
2017-04-07 20:00:06 +02:00
Christoph Kerschbaumer
5b6c60502e
Bug 1353975 - Use a NullPrincipal as the principalToInherit when undergoing an http redirect. r=bz, r=mcmanus
...
--HG--
extra : rebase_source : b50e4d79123a2f5f53f984f4a7943b4f7684dbc5
2017-04-06 21:35:40 +02: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
Carsten "Tomcat" Book
5b9719c5fc
merge mozilla-inbound to mozilla-central a=merge
2017-03-28 13:03:25 +02:00
Shih-Chiang Chien
306b7f81c6
Bug 1320744 - Part 3, implement nsIThreadRetargetableRequest in HttpChannelChild. r=mayhemer
...
MozReview-Commit-ID: FyLXlkQde3h
--HG--
extra : rebase_source : 88e9c56a73d268e1313c654c78a14e7b7d04fd9b
2017-03-20 17:29:07 +08:00
Kershaw Chang
b9c0cd1f09
Bug 1312782 - Part 3: Test case. r=honzab
2017-03-27 04:10:00 -04:00
Valentin Gosu
a42ca87b4d
Bug 1341343 - Make sure the channel returns the correct contentLength for alt-data without saving it to the metadata r=michal
...
MozReview-Commit-ID: 1pXspJwLfJa
* * *
[mq]: fixing.patch
MozReview-Commit-ID: KKS2x2aeHY3
--HG--
extra : rebase_source : b6deb2a1caead735356aa4079462abc6f46c25e4
2017-03-13 12:06:55 +01:00
Kershaw Chang
3cf721745a
Bug 1326339 - Store top level outer content window id in http transaction and connMgr. r=mayhemer
...
--HG--
extra : rebase_source : 0ad395edaa8ae7760fb0057084f353d977964234
2017-03-09 02:55:00 -05:00
Andrea Marchesini
e9195daa8d
Bug 1345168 - Get rid of OriginAttributes::Inherit, r=tjr
2017-03-08 07:41:51 +01: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
Wei-Cheng Pan
03ca0df8a1
Bug 1310127 - Part 3: Use MOZ_MUST_USE in netwerk/protocol/http r=mcmanus
...
Add assertions.
MozReview-Commit-ID: DPvgKzVr3ip
--HG--
extra : rebase_source : a96d658c8b76180fe5a904106de9a68de16e0383
2017-01-12 17:48:45 +08:00
Wei-Cheng Pan
7aa068fbb7
Bug 1310127 - Part 2: Use MOZ_MUST_USE in netwerk/protocol/http r=Cykesiopka,mcmanus
...
Log failures or just ignore them, no control flow change.
MozReview-Commit-ID: D748DEjl3Fv
--HG--
extra : rebase_source : cec54fe99637a2292e9d4ddc6f4131f083da509a
2016-12-27 19:05:13 +08:00
Patrick McManus
a980860d80
Bug 1340655 - remove h1 pipeline support r=mayhemer
2017-02-17 15:35:37 -05:00
Sebastian Hengst
71318f787d
Backed out changeset 379093669b39 (bug 1340655) for warning as err.or at nsHttpConnection.cpp(875). r=backout on a CLOSED TREE
2017-03-01 20:20:57 +01:00
Patrick McManus
63212ea3a1
Bug 1340655 - remove h1 pipeline support r=mayhemer
...
HTTP/1.1 pipelines have been subsumed by the more effective mux of spdy, h2, and soon quic.
The feature was never able to overcome the limitations of HoL blocking
and TCP reset, and their impact on performance and reliability.
Fundamentally mux is the only way we should be approaching that problem.
The massive amount of code - mostly heuristics to try and deal with
the HoL problem (by classifying things onto different transactions,
timers for broken servers, etc..) has become a maintenance burden with
minimal value given the default off state of the feature.
h2 is the new (working) strategy.
--HG--
extra : rebase_source : 5794957c1f078ca435480724d3caf9bdd861b7de
2017-02-17 15:35:37 -05:00
Honza Bambas
3c1d8fd7b1
Bug 1322355 - Cancel http:// channel when secure update (redirect) to https:// is vetoed to avoid duplicate OnStartRequest notification + added logs. r=michal
...
--HG--
extra : rebase_source : edb97c1bdfd700ed75c57d1af0018f63428036f0
2017-02-22 09:10:00 -05:00
Shih-Chiang Chien
9de058213e
Bug 1337721 - Part 1, preserve the channel priority after redirect. r=mayhemer
...
MozReview-Commit-ID: 14rIrhOcXXK
--HG--
extra : rebase_source : ec26484daa2684313990f54e4d579fe6b08daaa3
2017-02-10 10:45:28 +08:00
Thomas Nguyen
65d9ef988a
Bug 1288633 - Add more information when an URL matches Safe Browsing list. r=dragana,francois
...
MozReview-Commit-ID: 6u0dUOB838F
--HG--
extra : rebase_source : 8800e60e6a3b787f1ebaeafb48057e3a3d509468
2017-02-21 09:46:36 +08:00
Wes Kocher
8c4ce17711
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: DCUf7VEDrTt
2017-02-17 13:38:51 -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
Tom Tromey
5f8f360823
Bug 1060419 - make log_print use Printf.h, r=froydnj
...
MozReview-Commit-ID: BIZ1GQEZ1vs
--HG--
extra : rebase_source : 2f1f0aa12493c44f352d9a7e8683e7bb72d2d75b
2016-12-15 20:16:31 -07:00
Nicholas Hurley
31b98bda83
Bug 1312754 - Add a service to throttle certain HTTP channels. r=mayhemer
...
This patch adds (and hooks up) a new service so that HTTP channels marked as
"Throttleable" will periodically be Suspend()ed and Resume()d when more
important operations are going (such as a page load).
While this patch is not responsible for marking channels as "Throttleable",
the general idea is that these would be less-important channels - background
downloads, beacons, etc, and perhaps even resources known to be trackers.
MozReview-Commit-ID: HEZsxS04rRK
--HG--
extra : rebase_source : 03cce85fe7df782e1f6e2da9e5a99997b796aba2
2017-01-10 06:39:18 -08:00
Shih-Chiang Chien
54bcd3b5da
Bug 1334068 - proxy release main-thread-only references in nsHttpChannel and HttpBaseChannel. r=mayhemer
...
MozReview-Commit-ID: 9lojerCPhSb
--HG--
extra : rebase_source : fe493862b74c9fc2be5358e70ef03deae318ad8d
2017-02-07 10:37:11 +08:00
Arthur Edelstein
29148d1da2
Bug 1305144 - Option to hide referrer when leaving a .onion domain. r=mcmanus
...
The boolean pref is named "network.http.referer.hideOnionSource"
--HG--
extra : rebase_source : b6e9af7de29e0f8a2457b777ba4703401ad45181
2017-02-02 23:47:00 -05:00
Tom Tung
e185f7bc4c
Bug 1220936 - Flush console report to innerWindowID by using nsIDocument and nsILoadGroup. r=bkelly.
2017-02-06 09:19:34 +08:00
Kris Maglione
440d6fcd02
Bug 1305162: Part 1a - Separate nsIMIMEInputStream headers from stream data. r=dragana
...
MozReview-Commit-ID: F1qZCBWUNRG
--HG--
extra : rebase_source : 7a4fdab3e4843a042a3d1101c5e58a6bb556ef7a
extra : source : de131f7c1fc1f60db42509aea646ef4540e6c5fe
2017-01-20 15:43:07 -08:00
Boris Zbarsky
aca020c034
Bug 1328761 part 1. Correctly propagate the Content-Type request header during redirects, for cases when it's _not_ set. r=dragana
2017-01-14 22:43:17 -05:00
Andrea Marchesini
359ae91eac
Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby
2017-01-12 17:38:48 +01:00
Thomas Nguyen
40bcddbe8a
Bug 1329065 - Check the correct policy when setting referrer header. r=mcmanus
...
MozReview-Commit-ID: JG5DVBqGczS
2017-01-06 11:26:24 +08:00
Thomas Nguyen
8cd72c67ca
Bug 1304623 - Create a pref to control the default referrer policy- part 2. r=mcmanus, r=bkelly
...
MozReview-Commit-ID: GEUDZ8UZAT5
2017-01-05 11:30:03 +08: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
Honza Bambas
81f3e50ed7
Bug 1319606 - Prevent nsStreamListenerWrapper instance w/o mListener. r=jduell
2016-12-09 06:28:00 -05:00