Christoph Kerschbaumer
98c3400499
Bug 1328860: Install pref to have data: URIs not inherit the security context. r=smaug
2017-01-26 18:40:32 +01:00
Honza Bambas
f2eb0be1fc
Bug 1325655 - Let HttpChannelParent::ConnectChannel hard-fail when no nsHttpChannel is not found registered. r=jduell
2017-01-17 07:50:00 -05:00
Wes Kocher
7d8bdef2a2
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: BS43zgtFrsm
2017-01-24 16:10:57 -08:00
Eric Rahm
6af429ff8a
Bug 1332202 - Convert most infallible NS_EscapeURL calls to fallible version. r=froydnj
...
This makes most users of |NS_EscapeURL| use the fallible version. A few are
left infallible as it seems like the entire function is assumed to be
infallible.
MozReview-Commit-ID: Cy1L5jQwjO1
2017-01-24 11:11:44 -08:00
Boris Zbarsky
b7cf5b83fd
Bug 1333106. Stop leaking in the prefetch service if the prefetch is blocked by security checks. r=mcmanus
2017-01-24 10:02:46 -05:00
Masatoshi Kimura
c82e3f0369
Bug 1331820 - Fix misuse of NS_NewNativeLocalFile in netwerk/. r=jduell
...
MozReview-Commit-ID: 6OKqRLhGJpm
--HG--
extra : rebase_source : 39bf499ef8e24c6bc7818e087564d19b5158212d
2017-01-21 15:37:27 +09:00
Dragana Damjanovic
3b7d9c3205
Bug 1328955 - Quickly reconnect if tls1.3 handshake with early-data is downgraded. r=mcmanus
2017-01-18 13:37:00 +08:00
Junior Hsu
ff67677662
Bug 1325090 - Drop and merge HTTP_NET_VS_CACHE_* probes, r=michal
...
--HG--
extra : rebase_source : bfa0e2e15743bef3034331ea84214e43a32ab8b6
2017-01-17 23:26:00 +01: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
Junior Hsu
eb9554ad2c
Bug 1331324 - Prevent network load time of custom conditional request from being reported. r=michal
...
--HG--
extra : rebase_source : 95d3c169bfb7a514383312baeb4280b014e77be4
2017-01-18 19:22:00 +08:00
Wei-Cheng Pan
9787ace059
Bug 1323949 - Use MOZ_MUST_USE in netwerk/protocol/websocket r=valentin
...
MozReview-Commit-ID: 6lNrHbDIUez
--HG--
extra : rebase_source : a7f06ba4a31a328c4e62d6c78d72024c08cc1328
2016-11-23 18:00:42 +08:00
Junior Hsu
3d98a6ede6
Bug 1325325 - Do not record the timestamp for conditional requests. r=michal
...
--HG--
extra : rebase_source : afeb4722367f59cedd31508bb1cc4ccae0a95c3d
2017-01-18 15:29:04 +08:00
Ryan VanderMeulen
fcbf4425b0
Backed out 2 changesets (bug 1261585) for causing website bustage.
...
Backed out changeset 3b5321a426ad (bug 1261585)
Backed out changeset f6d5e6243d01 (bug 1261585)
--HG--
extra : rebase_source : 9e87123f7688db13d341e713d4781cbc3e419960
2017-01-17 23:29:11 -05:00
Dragana Damjanovic
678e2b1447
Bug 1261585 - Make nsITraceableChannel listener work with content encoding. r=mayhemer
2017-01-17 08:27:00 -05:00
Wei-Cheng Pan
8733c6bd51
Bug 1329911 - Fix incorrect releasing of POST data. r=mayhemer
...
This patch reverts bug 1264566 (part 3) and bug 1293765.
MozReview-Commit-ID: AsSxxAMGHvV
--HG--
extra : rebase_source : 524ed287c78f25ea95aa72a3c0be478f437755a2
2017-01-13 17:33:36 +08:00
Phil Ringnalda
73346ee021
Merge m-c to autoland
2017-01-15 12:45:58 -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
Cykesiopka
5111ba6981
Bug 1329237 - Avoid non-smart string IDL types in nsISiteSecurityService.idl. r=keeler
...
Smart string IDL types give us nsA[C]String in C++ code, which is safer than
raw char strings.
MozReview-Commit-ID: KJ3Z4qK9i61
--HG--
extra : rebase_source : a24101d876d1120bd3b6c757fc48a2b76a8b489f
2017-01-14 13:10:06 +08:00
Andrea Marchesini
359ae91eac
Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby
2017-01-12 17:38:48 +01:00
Kate McKinley
edae411c07
Bug 1313595 - Lower HSTS priming timeout r=mayhemer
...
MozReview-Commit-ID: 5wOqtYM1MfD
--HG--
extra : rebase_source : 78cb81a9223c80b93b2c574846111eb3bad91c03
2016-12-08 11:07:55 -10:00
Nicholas Nethercote
e3f0bc9be1
Bug 1329171 (part 2) - Rewrite nsDataHandler::ParseURI. r=jduell.
...
The new version has the following improvements.
- If the non-data part is empty, the spec isn't duplicated at all for parsing;
otherwise, only the non-data part gets copied. This avoids a potential OOM
case when the data part is large.
- The base64 parsing is moved later. It now only occurs once we've determined
that the non-data part is non-empty.
- It now uses |sizeof| consistently to get the length of string literals.
Previously it was a mix of |sizeof|, strlen() and hard-coded lengths.
- There's now no need to undo null-insertion once parsing is finished, because
the parsing is done on a local copy of the non-data part.
--HG--
extra : rebase_source : 893f0e9c453561622f71fe8e61e03e7d533c4080
2017-01-11 13:23:16 +11:00
Ben Kelly
ab64f4b67c
Backout efe8228d192b and e1b7a57826e0 (bug 1321878) r=me
2017-01-10 13:24:40 -08:00
Carsten "Tomcat" Book
89882dc5f4
merge mozilla-inbound to mozilla-central a=merge
2017-01-10 12:11:31 +01:00
Shih-Chiang Chien
c5a3a2feee
Bug 1329089 - yield to other transactions while reaching the max write attempts. r=mcmanus
...
MozReview-Commit-ID: KHlLbvab7HZ
--HG--
extra : rebase_source : dcece1d27b0af3cb779e71b2eaeaccb3fafc088a
2017-01-06 17:55:34 +08:00
Nils Ohlmeier [:drno]
54ada30c75
Bug 1266667: socket reuse option for TCPSocket. r=mcmanus
...
MozReview-Commit-ID: CJEK714ruLl
--HG--
extra : rebase_source : a52f8c96c0fed3881f3480a38dc2167f1eb4c451
2016-12-21 23:38:06 -08: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
Patrick McManus
831d51ec20
Bug 1328121 - hold ref on mlistener when calling onstartrequest r=smaug r=jduell
2017-01-03 16:15:23 -05:00
Iris Hsiao
4615a8f12c
Backed out changeset 5593f1b533da (bug 1328121) for bustage
2017-01-05 11:33:51 -05:00
Florian Quèze
fc6379e827
Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws.
2017-01-09 20:27:26 +01:00
Patrick McManus
3be474ef20
Bug 1328121 - hold ref on mlistener when calling onstartrequest r=smaug r=jduell
2017-01-03 16:15:23 -05: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
Patrick McManus
fb00ea2d92
Bug 1324855 - H2 telemetry for continued header sizes r=hurley r=bsmedberg
2016-12-20 13:54:15 -05:00
Wes Kocher
e28b562783
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: 3HW7YWDqTBQ
2016-12-23 14:40:42 -08:00
Wei-Cheng Pan
19fc36c981
Bug 1323947 - Use Use MOZ_MUST_USE in netwerk/protocol/viewsource r=valentin
...
MozReview-Commit-ID: 5JAkF53s42X
--HG--
extra : rebase_source : 5e3d82f3b15b25c610086e26e941cb6064acf975
2016-11-23 17:21:17 +08:00
Patrick McManus
d40f84f05b
Bug 1324872 - quic change from alt-protocol to alt-svc r=hurley
2016-12-20 15:38:45 -05:00
Wei-Cheng Pan
2351d9ac6c
Bug 1323946 - Use MOZ_MUST_USE for netwerk/protocol/res r=valentin
...
MozReview-Commit-ID: 7tcOml6jKdj
--HG--
extra : rebase_source : 76cae2125b93ad68871408187f04ef02bcc228c6
2016-11-04 18:13:13 +08:00
Bill McCloskey
2113b3347b
Bug 1318506 - Label HttpChannelChild actors with DocGroup/TabGroup (r=jduell)
...
This patch tries to figure out which DocGroup or TabGroup a network request
belongs to and then assign the IPC actor to that group. A DocGroup roughly
corresponds to a document and a TabGroup to a tab. Once the assignment is
made, all incoming IPC messages will be labeled with that DocGroup/TabGroup.
MozReview-Commit-ID: EzGCeGdREHl
2016-12-23 11:48:13 -08:00
Ehsan Akhgari
ad51310cc1
Bug 1170190 - Part 3: Add tests for the e10s case too; r=mayhemer
2016-12-23 14:40:11 -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
Yoshi Huang
2ceecc22f5
Bug 1324115 - Part 2: replace the callers to use C++ helper. r=smaug
2016-12-21 14:59:21 +08:00
Ehsan Akhgari
bdcd3058d9
Bug 1324053 - Ensure that speculative connect and DNS prefetching aren't disabled when annotating tracking channels; r=mayhemer
2016-12-19 10:52:55 -05:00
Kris Maglione
b9cfaed91f
Bug 1321528: Part 1 - Support suspending requests when processing response headers. r=honzab
...
MozReview-Commit-ID: 8ZtbvqLDksO
--HG--
extra : rebase_source : 8b3ac15e3983e0c3d520a631862430b6d1b23ca1
2016-12-16 13:45:40 -08: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
Ben Kelly
5eabc65f88
Bug 1321878 P1 Don't exclude child process and IPC transit time from Performance API network timings. r=mayhemer
2016-12-14 19:42:08 -08:00
Kan-Ru Chen
c649cfaa98
Bug 1319271 - Use actor's manager in case actor is already deleted (r=billm)
...
MozReview-Commit-ID: 3Dr2POjqNft
2016-12-13 16:46:33 -08:00
Ting-Yu Chou
82bc319cce
Bug 1293501 - Back out the debug patch (changeset 2eebd44ff2e9). r=me
...
--HG--
extra : amend_source : 18d87c70497e931e8f3b3aec744e02d1dbdcd2f4
2016-12-13 02:00:25 +08:00
Andrew McCreight
fccb0645ed
Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj
2016-12-12 09:27:58 -05:00
Nathan Froyd
826598caba
Backout aba6c73511a2 (bug 1307961) for massive test bustage resulting in a CLOSED TREE; r=alltheorange
2016-12-12 08:45:46 -05:00
Andrew McCreight
e31b5489da
Bug 1307961 - require consistent bloatview reporting for nsISupports classes; r=froydnj
2016-12-12 07:58:33 -05: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