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

5687 Коммитов

Автор SHA1 Сообщение Дата
Junior Hsu 138b96c6ca Bug 1325322 - add HTTP_NET_VS_CACHE_* for large time span, r=michal
MozReview-Commit-ID: L8IISZ1SFCh

--HG--
extra : rebase_source : 67d8c08288023279f431ebaebdddedbca2fa071b
2017-02-14 01:31:00 +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
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
Sebastian Hengst 6d91e05a95 Backed out changeset 81388598aeac (bug 1325322) for build bustage, at least on Windows. r=backout 2017-02-13 13:21:47 +01:00
Junior Hsu fe2150fcef Bug 1325322 - add HTTP_NET_VS_CACHE_* for large time span, r=michal 2017-02-13 00:53:00 +01:00
Wes Kocher 4062cb56a0 Merge inbound to central, a=merge
MozReview-Commit-ID: FNYBhhHr4dg

--HG--
rename : netwerk/base/security-prefs.js => security/manager/ssl/security-prefs.js
2017-02-10 15:23:33 -08:00
Honza Bambas a69e1886a4 Bug 1325655 - Let HttpChannelParent::ConnectChannel delete itself if redirect target nsHttpChannel is not found registered. r=valentin
--HG--
extra : rebase_source : 988ce351db0169a8552f2ed45e2b6c786fe247bb
2017-02-10 10:51:00 -05:00
Shih-Chiang Chien 07cf055e88 Bug 1338096 - correct the data type used in PHttpChannel.SetPriority(). r=mayhemer
MozReview-Commit-ID: k5paB7XsTV

--HG--
extra : rebase_source : 674d2bfc8343a4b66ed84627940a0795e7199906
2017-02-09 17:28:54 +08:00
Shih-Chiang Chien 4b485ef935 Bug 1325915 - Part 2, update comment for reseting event target of event queue after the completion of ServiceWorker interception. r=mayhemer
MozReview-Commit-ID: Dc2TbCwQfpO

--HG--
extra : rebase_source : f1a882bac48f03b8fadda430f84027c4c3ace010
2017-02-07 16:56:06 +08:00
Shih-Chiang Chien 4d6af6c71e Bug 1325915 - Part 1, derive transportStatus in HttpChannelParent ODA and derive progress/progressMax in child side. r=mayhemer
MozReview-Commit-ID: 41qlyHKMSFm

--HG--
extra : rebase_source : da54f269b4b186ad784b2351f39829922f08db89
2017-02-02 15:20:04 +08:00
Patrick McManus d986482512 Bug 1333142 - audit asyncopen2 impls for callback release on failure r=dragana 2017-02-08 12:55:15 -05:00
Patrick McManus 2147441dc3 Bug 1336699 - scanf has signed return value r=dragana 2017-02-08 13:59:32 -05:00
Carsten "Tomcat" Book ffe70d35b2 Merge mozilla-central to mozilla-inbound 2017-02-09 11:38:08 +01:00
Tim Huang 756cf900c9 Bug 1336802 - Part 2: Updating the whole code base to make sure nsILoadInfo get null check. r=smaug
--HG--
extra : rebase_source : 22149fd540fd02119afe9fe5c9a815d01cf959c1
2017-02-07 11:49:34 +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
Carsten "Tomcat" Book 55606baab8 merge mozilla-inbound to mozilla-central a=merge 2017-02-08 11:30:00 +01:00
Gijs Kruitbosch e4b6ebfe64 Bug 1335272 - fix about:cache internal links, r=bz
MozReview-Commit-ID: QzgsTTulJC

--HG--
extra : rebase_source : 8604d1ea660a6c5c811f47fd3ed98ab136e73c6e
2017-02-02 15:10:11 +00: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
Tim Huang f747db3bbd Bug 1312954 - Part 1: Add the nsILoadContextInfo as one additional argument of nsILoadContextInfo.onCacheEntryInfo() and CacheStorageService::EntryInfoCallback.OnEntryInfo(). r=mayhemer 2017-02-02 22:14:00 -05:00
Valentin Gosu ba7d19b640 Bug 1321878 - Disable diagnostic assert and make test less racy r=me
MozReview-Commit-ID: LKiseNvd7t2
2017-02-02 15:03:32 +01:00
Ben Kelly 7d05d6fdd5 Bug 1321878 P1 Don't exclude child process and IPC transit time from Performance API network timings. r=mayhemer
MozReview-Commit-ID: 4JVFq40YvvF
2016-12-08 14:56:00 +01:00
Joel Maher d85b37d5f5 Bug 1335181 - add BUG_COMPONENT to netwerk/* and dom/network/* files. r=mcmanus
MozReview-Commit-ID: AeIuBnLx6IF
2017-02-02 06:33:47 -05:00
Wes Kocher a0aa7524d0 Backed out 3 changesets (bug 1321878) for wpt lint failures a=backout
Backed out changeset 7259adb4d564 (bug 1321878)
Backed out changeset 745f2862bc05 (bug 1321878)
Backed out changeset ea9c1598f049 (bug 1321878)

MozReview-Commit-ID: 8kfwt1SNoXQ
2017-02-01 16:49:44 -08:00
Valentin Gosu 6785b2feb6 Bug 1321878 - Disable diagnostic assert and make test less racy r=me
MozReview-Commit-ID: LKiseNvd7t2
2017-02-02 01:25:48 +01:00
Ben Kelly 5e98f7942c Bug 1321878 P1 Don't exclude child process and IPC transit time from Performance API network timings. r=mayhemer
MozReview-Commit-ID: LWZNIoBZHUd
2016-12-08 14:56:00 +01:00
Valentin Gosu dc123e157b Bug 1333285 - Add null check to nsHttpPipeline::OnHeadersAvailable() r=mcmanus
MozReview-Commit-ID: 9vvpEIUtDkv
2017-01-30 13:15:34 +01:00
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
David Major d18d51783a Bug 1337230: Tweak the const-ness on the HTTP2 Huffman tables. r=hurley
MozReview-Commit-ID: FLAdjz691Hn

--HG--
extra : rebase_source : 63b3a25f5ef44a41f4b2a5a8871414354fb16619
2017-02-08 16:34:58 +13: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