Dragana Damjanovic
6ad0af18de
Bug 1363108 - Fix some small bugs connectied to tcp fast open. r=mcmanus
2017-05-08 22:15:26 +02:00
Gijs Kruitbosch
2c13f23a54
Bug 1360842
, r=valentin
...
MozReview-Commit-ID: B7uG3ShaGuH
--HG--
extra : rebase_source : 92813be22a7554fec17981bf14903a526145fed2
extra : amend_source : 30643e1d5a4b942d4069e3dd28b5f736cb7fdc18
2017-05-04 11:28:04 +01:00
Dragana Damjanovic
7a6c685fd1
Bug 1363034 - Do not make new transactions for backupSocketTransport, behave as nsHttpConnectionMgr used to behave. r=mcmanus
2017-05-08 20:17:47 +02: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
Michal Novotny
133308dd0d
Bug 1361435
- Remove references to unused pref network.http.bypass-cachelock-threshold, r=mcmanus
...
Removes references to now unused pref that was added in bug 868441 and removed in bugs 913807 and 1054572. It also removes some leftovers from http channel which have not been removed in those 2 bugs.
2017-05-04 17:37:42 +02:00
Junior Hsu
5130d2e6d3
Bug 1359951 - Ensure that the WebSocket not sending constructor when shutting down, r=nwgh
...
--HG--
extra : rebase_source : c11a6d29d6da9a83f15a00f02c877960a0d5bf06
2017-05-02 19:50:00 +02:00
Dragana Damjanovic
0f080b064b
Bug 1360515 - During TCP Fast Open let necko works as it is used to, but only limit amount of data we write to lower layers, i.e. nss, tcpFastOpenLayer, tcp socket. r=mcmanus
2017-05-04 12:15:33 +02:00
Dragana Damjanovic
2c802ffe1c
Bug 1360570 - Make sure to write as much data as possible during FastOpen. r=mcmanus
2017-05-04 12:15:23 +02:00
Dragana Damjanovic
a6965692d1
Bug 1359938 - Fix socket status events for TCP Fast Open. r=mcmanus
2017-05-04 12:15:16 +02:00
Dragana Damjanovic
fc3b8dbe53
Bug 1359847 - Improve transaction restart if tfo is not supported. r=mcmanus
2017-05-04 12:15:10 +02:00
Dragana Damjanovic
6fb8664ccb
Bug 1352271 - Add telemetry about TCP Fast Open. r=mcmanus r=francois
2017-05-04 12:15:01 +02:00
Dragana Damjanovic
099e776a6d
Bug 1352274 - Add response header indicator for TCP FastOpen suceeded. r=mcmanus
2017-05-04 12:14:54 +02:00
Dragana Damjanovic
04e98c441a
Bug 1188435 - Fix http2 restart on net-reset and fix activeConn count. r=mcmanus
2017-05-04 12:14:41 +02:00
Dragana Damjanovic
abf0402f0a
Bug 1188435 - Make TFO work with 0RTT and H2 work. r=mcmanus
2017-05-04 12:14:29 +02:00
Dragana Damjanovic
827d3bbab5
Bug 1188435 - Make TLS 0RTT work with TLS Fast Open. r=mcmanus
2017-05-04 12:14:13 +02:00
Dragana Damjanovic
accc6e95b1
Bug 1188435 - Implement fast open necko part. r=mcmanus
2017-05-04 12:14:04 +02:00
Yoshi Huang
7652396698
Bug 1284579 - Part 2: revise NS_ShouldCheckAppCache. r=valentin
...
There's one redudant NS_ShouldCheckAppCache(nsIURI*, bool) is not used
anymore. Also we remove the extra usePrivateBrowsing argument, since we
can get this information from nsIPrincipal.
2017-05-04 09:40:00 +08:00
Honza Bambas
124792a6b7
Bug 1354796 - Close unconnected HTTP connection with NS_ERROR_NET_TIMEOUT after 90s timeout. r=mcmanus
2017-05-03 08:31:00 -04:00
Wes Kocher
df3f95a52f
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: 4SpokMW1d3I
2017-05-02 17:35:06 -07:00
Kershaw Chang
ca7ad21c91
Bug 1355539 - Insert blocking transactions in the front of pendingQ, r=mayhemer
...
The blocking transactions should be dispatched before other transactions. So, this patch aims to put those transactions in front of the pending queue.
Moreover, also give the rest available connections to background tab when processing pendingQ for all entries.
2017-05-02 00:30:00 +02:00
Ehsan Akhgari
b3c48a1104
Bug 1360723 follow-up: Rename ContentParent::AboutToLoadDocumentForChild to ContentParent::AboutToLoadHttpFtpWyciwygDocumentForChild
2017-05-01 15:44:01 -04:00
Ehsan Akhgari
88089b7bf1
Bug 1360723 - Rename ContentParent::TransmitPermissionsFor() to ContentParent::AboutToLoadDocumentForChild(); r=mystor
2017-04-28 18:05:32 -04:00
Sebastian Hengst
0936d33fb8
Backed out changeset 88c2a0b2dde5 (bug 1319111) for crashing Talos. r=backout
2017-04-28 00:16:39 +02:00
Valentin Gosu
3b8965a9dd
Bug 1359106 - Make sure AltDataOutputStreamParent::SendError is not called after ActorDestroy r=bagder
...
MozReview-Commit-ID: I2m4K7MhQoA
--HG--
extra : rebase_source : 6a9d1457ae53e2438e01691064458d1c6a138924
2017-04-30 18:08:25 +02:00
Valentin Gosu
eab53800bf
Bug 1354409 - Make sure nsHttpChannel::mRacingNetAndCache is only true when we are actually racing r=michal
...
mRacingNetAndCache used to be set in TriggerNetwork, when the network was triggered before the cache callbacks had been called, but this could also happen when we bypassed the cache.
MozReview-Commit-ID: 4CklwPVRGar
--HG--
extra : rebase_source : 47a604e25ce879b929dbb2eba7bca36e371845ae
2017-04-21 11:42:29 +08:00
Valentin Gosu
cc80d8fcd8
Bug 1354409 - Add telemetry for how often we race network and cache r=michal
...
MozReview-Commit-ID: 1D1KyGbLxdW
--HG--
extra : rebase_source : 5bfeed6c1fb8f1379844947bd391ac352700b411
2017-04-20 16:42:10 +08:00
Honza Bambas
0504ed64c3
Bug 1319111 - Exposing URI to make security check against on LoadInfo (no LOAD_REPLACE flag). r=bz
2017-01-27 19:10:01 +01:00
Nathan Froyd
042857aede
Bug 1360236 - make gSocketThread an internal implementation detail of nsSocketTransportService; r=mcmanus
...
This change makes the code a little cleaner and reduces the number of
places we call PR_GetCurrentThread, which is important for Quantum DOM
scheduling work.
The conversion was largely automatic, via:
find netwerk/ -name \*.cpp | \
xargs sed -i -e 's/MOZ_ASSERT(PR_GetCurrentThread() == gSocketThread[^;]*/MOZ_ASSERT(OnSocketThread(), "not on socket thread")/'
and related invocations, with a few manual tweaks at the end.
2017-04-27 14:34:42 -04:00
Dragana Damjanovic
9a3cfa6017
Bug 1334776 - Store header names into nsHttpHeaderArray. r=mcmanus
2017-04-27 16:48:36 +02:00
Dragana Damjanovic
a90129c020
Bug 1359496 - Remove code added in bug 1340164. This code was taking care that we do not send multiple socket status events. r=mcmanus
2017-04-27 16:37:31 +02:00
Wes Kocher
75c2b7a481
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: 3BrkDVl7521
2017-05-08 16:24:51 -07:00
Shane Caraveo
075b7b243b
Bug 1360052 handle cancel during http-on-examine-response, r=mayhemer
...
MozReview-Commit-ID: 607FLbUWjxT
--HG--
extra : rebase_source : 226e21dbbc9de386c43af788d7c375759ca17b1d
2017-05-05 15:54:19 -07:00
Jason Duell
d8fc808f1c
Bug 711886 - Fail Websocket if server replies with non-matching subprotocol, r=mcmanus
2016-05-11 08:50:13 -07:00
Wes Kocher
da57a3e4df
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: DimBmdgo95e
2017-04-26 17:35:26 -07:00
Honza Bambas
a3ab3a3a4a
Bug 1345910 - Allow HTTP connection restart for the first connection-based authentication request in a round. r=mcmanus
...
--HG--
extra : rebase_source : 31810fd50075524faee7e410402c0b18954b449e
2017-04-26 17:02:05 +02:00
Florian Queze
4b1556a5f2
Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws.
2017-04-27 00:25:45 +02:00
Carsten "Tomcat" Book
14278a9b22
Backed out changeset 5a9277de75b3 (bug 1188435) for test failures in test_devtools_serviceworker_interception.html | undefined assertion name
2017-04-25 16:32:26 +02:00
Carsten "Tomcat" Book
67baf53f29
Backed out changeset 3c71363497a8 (bug 1188435)
2017-04-25 16:32:01 +02:00
Carsten "Tomcat" Book
deb3127d30
Backed out changeset ee570e804c7f (bug 1188435)
2017-04-25 16:31:58 +02:00
Carsten "Tomcat" Book
3f920013e0
Backed out changeset 1426ecc8209d (bug 1188435)
2017-04-25 16:31:53 +02:00
Dragana Damjanovic
dd5b4dd59e
Bug 1188435 - Fix http2 restart on net-reset and fix activeConn count. r=mcmanus
2017-04-25 15:08:55 +02:00
Dragana Damjanovic
570aea598d
Bug 1188435 - Make TFO work with 0RTT and H2 work. r=mcmanus
2017-04-25 15:08:29 +02:00
Dragana Damjanovic
9e6540d673
Bug 1188435 - Make TLS 0RTT work with TLS Fast Open. r=mcmanus
2017-04-25 15:08:12 +02:00
Dragana Damjanovic
70daeb893e
Bug 1188435 - Implement fast open necko part. r=mcmanus
2017-04-25 15:07:59 +02:00
Tom Tromey
99f4608655
Bug 1334278 - change mozilla::Smprintf to return a UniquePtr; r=froydnj
...
Change mozilla::Smprintf and friends to return a UniquePtr, rather than
relying on manual memory management. (Though after this patch there are
still a handful of spots needing SmprintfFree.)
MozReview-Commit-ID: COa4nzIX5qa
--HG--
extra : rebase_source : ab4a11b4d2e758099bd0794d5c25d799a7e42680
2017-03-03 08:17:27 -07:00
Carsten "Tomcat" Book
8e84189916
Merge mozilla-central to mozilla-inbound
2017-04-24 16:07:21 +02:00
Honza Bambas
203c640be7
Bug 1348062 - Mark channels used for downloads as throttable, r=nick+paolo
...
MozReview-Commit-ID: 9cg4PwrXtNa
--HG--
extra : rebase_source : 2ff2d771a6ccb2a3e11c2d65e0a64ebbaa443206
2017-04-16 14:53:30 +01:00
Kershaw Chang
d2acdf1290
Bug 1343745 - Label runnables in /http, r=honzab
2017-04-23 19:59:00 +02:00
Alex Gaynor
9d47375e30
Bug 1074642 - When multiple HSTS headers are received, only consider the first. r=keeler,mcmanus
...
This implements a plaintext reading of RFC 6797, which says to only consider the
first, however it slightly conflicts with RFC 7230, which says that sending
multiple headers which can't be merged is illegal (except for a specific
whitelist which HSTS isn't in). Chrome also implements HSTS using RFC 6797's
description of the parsing algorithm.
r=mcmanus,keeler
MozReview-Commit-ID: E06uIk2IcEK
--HG--
extra : rebase_source : 4a67f067d2953d4b30c1019a61bbfc7073e55b3d
2017-04-20 10:03:53 -04:00
Wes Kocher
5ce5528fb1
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: DQDuEiYLWCO
2017-04-20 15:30:43 -07:00
Chris Peterson
2c92802c13
Bug 1356843 - Fix -Wcomma warning in netwerk/protocol/http/Http2Stream.cpp. r=jhao
...
clang's -Wcomma warning warns about suspicious use of the comma operator such as between two statements.
netwerk/protocol/http/Http2Stream.cpp:436:59 [-Wcomma] possible misuse of comma operator here
MozReview-Commit-ID: AsmNPTjKlYB
--HG--
extra : rebase_source : f25e62c3ac95b2b2cc412f82a8282591371f4925
extra : source : 9a1518b310c517ea81e78421c1479cfa14c8b17a
2017-03-27 21:42:21 -07:00
Kershaw Chang
30b3084e4f
Bug 1355700 - Correct the count of available new connections. r=honzab
2017-04-19 19:03:00 +08:00
Wes Kocher
cb8ce82cca
Merge inbound to m-c a=merge
2017-04-19 17:10:04 -07:00
Tom Tung
8c93a46f2a
Bug 1330297 - Part 1: Strip leading or trailing HTTP whitespace for Header value to follow the spec and share code bewteen fetch and XHR. r=baku
2017-04-10 16:15:29 +08:00
Junior Hsu
35f3699a4e
Bug 1357647 - Convert names to RaceCacheWithNetwork form. r=valentin
...
--HG--
rename : netwerk/test/unit/test_race_cache_network.js => netwerk/test/unit/test_race_cache_with_network.js
extra : rebase_source : 908d6437a25d58be0c6dc4cd9a33ae77cd6d0dc8
2017-04-18 23:52:00 -04:00
Carsten "Tomcat" Book
87edaf78ee
Merge mozilla-central to autoland
...
--HG--
extra : rebase_source : 46bdde97ce6567ce8a06b1609de547ef11b24c2a
2017-04-20 13:06:52 +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
Zibi Braniecki
c4783f92b9
Bug 1005640 - Flush StringBundle cache when app-locales change. r=valentin
...
StringBundle caches bundles, so when language chain changes we should
flush the cache to enable new strings to be loaded.
This also affects localized prefs like intl.accept_languages.
Then in HttpHandler we have to mark the value as dirty so that next
time it's called it actually recalculates using flushed string bundle
with the new locale.
MozReview-Commit-ID: DKWEDUli4yH
--HG--
extra : rebase_source : 75ecc4204deca066d7492d1494492a91685f36be
2017-04-18 01:03:05 -07: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
861e6a501e
Bug 1345094 - make http redirects to file:// uris work under e10s. r=mayhemer
...
MozReview-Commit-ID: J4IheswoeMZ
--HG--
extra : rebase_source : 4af1354af026fc9be255ed2ef92164d5575f1d5d
2017-04-12 11:43:50 -07:00
Patrick McManus
73623721fb
Bug 1356611 - per connection cache of JoinConnecton() r=nwgh
...
MozReview-Commit-ID: 6s0x9OWhhN1
--HG--
extra : rebase_source : 741b729d8a581d31b73ead810dbf0edae34386c4
2017-04-14 17:24:53 -04:00
Sebastian Hengst
8bd051237a
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
Wes Kocher
c65c974a08
Backed out changeset b29865f8d36b (bug 1356611) for frequent windows xpcshell failures a=backout
2017-04-15 00:32:29 -07:00
Shih-Chiang Chien
98623ff680
Bug 1355680 - set progressMax to -1 when HTTP response head is not available. r=dragana,mayhemer
...
MozReview-Commit-ID: 6xJsYFlCptC
--HG--
extra : rebase_source : eb11c29314190d29b0b8cdcdeb6841b1cd13a168
2017-04-12 14:31:57 +08:00
Patrick McManus
748c661c7b
Bug 1356611 - per connection cache of JoinConnecton() r=nwgh
...
MozReview-Commit-ID: 6s0x9OWhhN1
--HG--
extra : rebase_source : 9edf046fbfb80ff3daed30c33c1679e190dfe660
2017-04-14 17:24:53 -04:00
Shane Caraveo
1d28c1c9a8
Bug 1345893 - Handle Suspend() called on an HTTP channel from http-on-modify-request handler, r=mayhemer
...
MozReview-Commit-ID: LbW9zgnPzmu
--HG--
extra : rebase_source : 654246da41785e6aee690102b772a3a7ca487a75
2017-04-14 10:00:05 -07:00
Honza Bambas
c195f6ee04
Bug 1348061
- When an HTTP channel is throttled, stop reading from the socket when using HTTP/1. r=mcmanus
2017-04-13 05:26:00 -04:00
Patrick McManus
753c8ea61a
Bug 1355591 - h2 coalescing creating unused sessions r=nwgh
...
MozReview-Commit-ID: 5aMrdcBep5M
--HG--
extra : rebase_source : cad7c7bd4458dbbcc54fa30274ac5b56045c9191
2017-04-13 10:09:10 -04:00
Nicholas Hurley
717c8bdd83
Bug 1346392 - force non-spdy on sticky auth connections. r=dragana
...
MozReview-Commit-ID: IkYTVgetKsn
--HG--
extra : rebase_source : 18a903dec51e152688e045eeb410541b219a6189
2017-03-28 17:15:23 -07:00
Florian Queze
37ff4fc7cc
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Iris Hsiao
944f87c575
merge mozilla-inbound to mozilla-central a=merge
2017-04-12 11:16:46 +08:00
Ho-Pang Hsu
c0b53a4f14
Bug 1168875 - Part 5: Copy service worker interception timeStamps during HttpChannel redirection. r=valentin
...
--HG--
extra : rebase_source : 636b5c6ea19cea61f506e11cb82d829e4b27656e
2017-04-10 21:13:22 +08:00
Ho-Pang Hsu
03a9e02c97
Bug 1168875 - Part 4: Extend related IPDL and implementation to pass service worker interception timestamps. f=bkelly, r=valentin
...
--HG--
extra : rebase_source : 6b78b0d46d173068c6ea6d2e2148113f10a36d4a
2017-04-10 21:13:21 +08:00
Ho-Pang Hsu
db007e371f
Bug 1168875 - Part 2: Add service worker interception timestamp logging APIs to nsIInterceptedChannel. f=bkelly, r=valentin
...
--HG--
extra : rebase_source : 12fe2df13446960b96ca6deb3b36795c643c6ae5
2017-04-10 21:13:21 +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
Carsten "Tomcat" Book
ee9da45454
merge mozilla-inbound to mozilla-central a=merge
2017-04-11 10:17:24 +02:00
Ehsan Akhgari
c0b6db9d07
Bug 1347461 - Part 1: Add a C++ API for the list of DataStorage classes; r=keeler
2017-04-10 22:44:32 -04:00
Wes Kocher
5eabc03c18
Merge m-c to autoland a=merge
2017-04-10 16:55:21 -07:00
Bill McCloskey
e63bc5e6d9
Bug 1350436 - Use nsIEventTarget instead of Dispatcher in netwerk code (r=mayhemer)
...
MozReview-Commit-ID: BM4r8icwMY5
2017-04-10 16:49:39 -07:00
Patrick McManus
9d655ea4c6
Bug 1355277 - change h2 origin frame codepoint to 0xc r=nwgh
...
MozReview-Commit-ID: GPEEmWQOxQ4
--HG--
extra : rebase_source : 20d74e6668219e18fc9f3eaf13898a35f64ae57f
2017-04-10 21:47:07 -04:00
Nicholas Hurley
3e8ff0a8d4
Bug 1352146 - Don't allow status phrases in http/2. r=mcmanus
...
MozReview-Commit-ID: Cf30tUivhnB
--HG--
extra : rebase_source : d3b64d6ee9077f448ff9b8aaaff3d449655f0b62
2017-04-07 13:18:20 -07:00
Sebastian Hengst
ed655b907f
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-04-08 22:56:39 +02:00
Sebastian Hengst
6a5fe3bae0
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: IkoXCAwjjKu
2017-04-08 22:49:04 +02:00
Kris Maglione
8cb2eed52d
Bug 1351163: Part 3 - Don't open moz-extension: base channel on NewChannel2(). r=bz
...
MozReview-Commit-ID: F8H75VM33nz
--HG--
extra : rebase_source : 1c5c61ecd5f4e3c27907feb29f9c07ecaba1bcc6
2017-04-07 22:35:57 -07: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
Honza Bambas
6e54bcbf74
Bug 1348701 - Calculate HTTP cached content expiration time as 0 when its freshness lifetime is not greater than its current age. r=mcmanus
2017-04-07 07:53:00 -04: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
Dragana Damjanovic
2b3a916d76
Bug 1354233 - Add stream to m0RTTStreams after streamId is set. r=mcmanus
2017-04-07 17:28:21 +02:00
Carsten "Tomcat" Book
3a762886de
Merge mozilla-central to mozilla-inbound
2017-04-07 15:33:03 +02:00
Honza Bambas
86083e6478
Bug 1351301 - Don't require '.' to accept subdomains in *.auth.trusted-uris preferences. r=valentin
...
--HG--
extra : histedit_source : 7816f1395314ed94d9cb6cb05de4048012e479c5
2017-04-06 11:28:00 -04:00
Sebastian Hengst
2bb432f54a
Backed out changeset c8199958741a (bug 1352146)
2017-04-08 01:44:22 +02:00
Nicholas Hurley
8a7a1ddf0e
Bug 1352146 - Don't allow status phrases in http/2. r=mcmanus
...
MozReview-Commit-ID: Cf30tUivhnB
--HG--
extra : rebase_source : d3b64d6ee9077f448ff9b8aaaff3d449655f0b62
2017-04-07 13:18:20 -07:00
Sebastian Hengst
548852b3a4
merge mozilla-central to autoland. r=merge a=merge
2017-04-07 22:16:26 +02:00
Patrick McManus
d71e70b941
Bug 1354220 - HttpChannelChild doesn't release listeners on fail case r=schien
...
MozReview-Commit-ID: 5gixWVg1NR3
--HG--
extra : rebase_source : 09970c37e26b3539a44c3c8b85502b8f912d9868
2017-04-06 14:21:42 -04:00
Mike Hommey
94c16743bb
Bug 1344038
- Remove --disable-gio. r=karlt
...
--HG--
extra : rebase_source : 3b5b820536b0e9b1fb1da3a16c444ed7839770b9
2017-04-05 14:06:25 +09:00
Mike Hommey
3deb62f2b2
Bug 1344038
- Move the gio protocol handler under netwerk/protocol. r=chmanchester,karlt
...
Historically, we had support for some GNOME VFS protocols through the
gnomevfs library, and this was under extension. This may not have been
built by default when it was introduced, but GNOME upstream moved those
things into Gtk itself, and we then got support for the new Gio-based
protocol, similar to what we had through the gnomevfs library.
Time passes, and we switched off the gnomevfs library entirely, and
enabled the Gio-based protocol handlers by default. We then removed
everything related to the gnomevfs library.
Fast forward to now, and disabling Gio support in Firefox just doesn't
make sense, and leaving the gio protocol handler as an extension doesn't
make sense either.
As it is a protocol handler, its natural place is under
netwerk/protocol, which is where we're moving it here.
The netwerk/protocol subdirectories being handled automatically, we
don't need to add the moved directory in any DIRS variable.
--HG--
rename : extensions/gio/moz.build => netwerk/protocol/gio/moz.build
rename : extensions/gio/nsGIOProtocolHandler.cpp => netwerk/protocol/gio/nsGIOProtocolHandler.cpp
extra : rebase_source : 071a9cb1769f013717357458df24e2fd9570ccf4
2017-04-05 13:48:52 +09:00
Liang-Heng Chen
b3e3c65d2e
Bug 1351340 - check null pointer before using; r=bagder
...
MozReview-Commit-ID: LJ0FtjZTKq3
--HG--
extra : rebase_source : 2c6435d50204ad0f845ca9c74aa46bb7e4b20c29
2017-04-01 10:23:03 +08:00
Iris Hsiao
15a34cacd2
Backed out 3 changesets (bug 1344038
) for bustage
...
Backed out changeset 4befea89d81b (bug 1344038
)
Backed out changeset c859506b2e4e (bug 1344038
)
Backed out changeset 5d28a6382285 (bug 1344038
)
--HG--
rename : netwerk/protocol/gio/moz.build => extensions/gio/moz.build
rename : netwerk/protocol/gio/nsGIOProtocolHandler.cpp => extensions/gio/nsGIOProtocolHandler.cpp
2017-04-06 10:35:56 +08:00
Mike Hommey
0543a25916
Bug 1344038
- Remove --disable-gio. r=karlt
...
--HG--
extra : rebase_source : b380d5ebfc3689a9d8d4e3825c83028f837838f2
2017-04-05 14:06:25 +09:00
Mike Hommey
753d2ac01e
Bug 1344038
- Move the gio protocol handler under netwerk/protocol. r=karlt
...
Historically, we had support for some GNOME VFS protocols through the
gnomevfs library, and this was under extension. This may not have been
built by default when it was introduced, but GNOME upstream moved those
things into Gtk itself, and we then got support for the new Gio-based
protocol, similar to what we had through the gnomevfs library.
Time passes, and we switched off the gnomevfs library entirely, and
enabled the Gio-based protocol handlers by default. We then removed
everything related to the gnomevfs library.
Fast forward to now, and disabling Gio support in Firefox just doesn't
make sense, and leaving the gio protocol handler as an extension doesn't
make sense either.
As it is a protocol handler, its natural place is under
netwerk/protocol, which is where we're moving it here.
The netwerk/protocol subdirectories being handled automatically, we
don't need to add the moved directory in any DIRS variable.
--HG--
rename : extensions/gio/moz.build => netwerk/protocol/gio/moz.build
rename : extensions/gio/nsGIOProtocolHandler.cpp => netwerk/protocol/gio/nsGIOProtocolHandler.cpp
extra : rebase_source : fe3c9480cee468aa2a24fd34e569b58e4f2c9c9a
2017-04-05 13:48:52 +09:00
Patrick McManus
2011955e49
Bug 1353497 - h2 pushes against origin set need implicit SNI r=nwgh
2017-04-04 14:51:32 -04:00
Patrick McManus
06bd9a4bae
Bug 1337791 - Part 2: http/2 origin frame extension. r=nwgh
2017-04-03 17:23:55 -04:00
Valentin Gosu
223b5464d4
Bug 1325341 - Query the cache index to get if the entry has alt data and its fileSize r=michal
...
MozReview-Commit-ID: 6wqsexqJq3u
2017-04-10 14:22:23 +03:00
Valentin Gosu
484c99c581
Bug 1325341 - Add code that triggers racing the network and cache requests r=michal
...
The racing algorithm is quite simple at this point:
If racing is enabled, the request is allowed to hit the network, and the cache queue size is bigger than a certain threshold, then we trigger the network right before we query the cache.
MozReview-Commit-ID: JklG4P1eRyO
2017-04-10 14:22:20 +03: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
Carsten "Tomcat" Book
14e0b51ace
merge mozilla-inbound to mozilla-central a=merge
2017-04-04 12:35:03 +02:00
Hideki Takeoka
613f5321ec
Bug 1351948 - Refuse ws messages that don't use minimal encoding. r=michal
...
--HG--
extra : rebase_source : 269bb3854d523e4100e5c1eda65b006bb15ae00d
2017-04-03 10:49:22 -04: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
Eric Rahm
5e28f26c18
Bug 1351820
- Build more more netwerk files in unified mode. r=mcmanus
...
This updates the unifed sources for a few netwerk build files. In some cases
files were excluded because we thought they used plarena.h, but that turned
to be false.
A few files needed to be updated to add missing imports/exports due to shifting
of compilation units.
MozReview-Commit-ID: 4mh8VApFoe1
2017-03-31 11:00:10 -07:00
Sebastian Hengst
d4679cd05d
Backed out changeset 15e815413234 (bug 1351980) for asserting on Android, e.g. in test_pseudoElement-get-animations.html. r=backout
2017-03-31 18:39:46 +02:00
Ehsan Akhgari
a3580de587
Bug 1351980 - Initialize the UserAgentOverrides.jsm module at startup and shut it down at shutdown for all Gecko applications instead of relying on each one to do it on its own; r=schien
2017-03-31 09:54:28 -04:00
Sebastian Hengst
e3bcc5dcd8
Backed out 2 changesets (bug 1351980) for asserting in Android tests, e.g. test_hc_noderemovechildnode.html. r=backout
...
Backed out changeset fbc8e05e5251 (bug 1351980)
Backed out changeset 1c7c92033bb1 (bug 1351980)
2017-03-31 15:38:38 +02:00
Carsten "Tomcat" Book
4ac9c2ffb1
Merge mozilla-central to mozilla-inbound
2017-03-31 14:47:54 +02:00
Carsten "Tomcat" Book
095969b8ee
merge mozilla-inbound to mozilla-central a=merge
2017-03-31 14:45:33 +02:00
Ehsan Akhgari
af1cabba18
Bug 1351980 - Initialize the UserAgentOverrides.jsm module at startup and shut it down at shutdown for all Gecko applications instead of relying on each one to do it on its own; r=schien
2017-03-31 07:37:59 -04:00
Phil Ringnalda
4cb08c4110
Backed out 2 changesets (bug 1351831, bug 1351820
) for Windows build bustage
...
CLOSED TREE
Backed out changeset 91c2f1592df1 (bug 1351831)
Backed out changeset f825bdbb2ece (bug 1351820
)
2017-03-30 19:21:06 -07:00
Eric Rahm
e5c9b989b3
Bug 1351820
- Build more more netwerk files in unified mode. r=mcmanus
...
This updates the unifed sources for a few netwerk build files. In some cases
files were excluded because we thought they used plarena.h, but that turned
to be false.
A few files needed to be updated to add missing imports/exports due to shifting
of compilation units.
MozReview-Commit-ID: 4mh8VApFoe1
2017-03-30 18:32:17 -07:00
Dragana Damjanovic dd.mozilla@gmail.com
83c58678dc
Bug 1344171 - Improve connection management. r=mcmanus
2017-03-30 11:08:00 -04:00
Kris Maglione
9e5e71f548
Bug 1350680: Correctly handle null loadInfo in SubstituteChannel. r=ckerschb
...
MozReview-Commit-ID: 7aWuc874lTO
--HG--
extra : rebase_source : 72e518ebe9343b5f42590b4772e77198c4d657cb
2017-03-28 13:01:48 -07:00
Michal Novotny
791ecf863b
Bug 1342360 - "Crash in mozilla::net::WyciwygChannelParent::ActorDestroy" .r=valentin.gosu
2017-03-02 05:00:00 +08:00
Shih-Chiang Chien
500ffabe47
Bug 1351558 - make sure PHttpChannel destroy procedure will only be done once. r=dragana
...
MozReview-Commit-ID: 34RIiNpwmea
--HG--
extra : rebase_source : cb08c78d5f4af3a79aa2d5b0e4a6d911b2e4c499
2017-03-29 17:34:12 +08:00
Shih-Chiang Chien
61d37d2376
Bug 1351558 - double check mIPCOpen flag before we send IPC message. r=dragana.
...
MozReview-Commit-ID: 3CqA3e4frd8
--HG--
extra : rebase_source : 813fe86a8721ca3735aee211ba48c0a9d88d0d1b
2017-03-29 16:34:15 +08:00
Tim Huang
5b58823c38
Bug 1349903 - Remove the code section of getting originAttributes from loadInfo in HttpChannelParent::DoAsyncOpen() and add a null check for loadInfo. r=mayhemer
...
The code section of getting originAttributes from loadInfo in HttpChannelParent
::DoAsyncOpen() is no longer needed since AppId is gone and the originAttributes
here is for AppId.
And we also need a null check for loadInfo that every channel should have a
loadInfo.
MozReview-Commit-ID: CQe8wlEo0GP
2017-03-29 17:45:26 +08:00
Dragana Damjanovic dd.mozilla@gmail.com
1b122c8a97
Bug 1351392 - Fix NS_STATUS_TLS_HANDSHAKE_STARTING/ENDED transport status events for http2 and ftp. r=mcmanus
2017-03-28 10:36:00 +08:00
Phil Ringnalda
93abf48bf7
Backed out changeset d11fb28f9b9c (bug 1344171) for crashes in test_altsvc.js
2017-03-28 21:04:43 -07:00
Ehsan Akhgari
f2a992e41a
Bug 1347425 - Part 3: Remove the site-specific user agent service; r=baku,jchen
...
This used to be the glue layer between DOM and Necko which is no longer
being used.
2017-03-28 22:10:53 -04:00
Michal Novotny
bf0e813741
Bug 1347948 - Report time that channel spent suspended between AsyncOpen and OnStartRequest. r=honzab, data-review=bsmedberg
2017-03-24 07:37:00 -04:00
Amy Chung
9d5b5e4ec2
Bug 1348041 - Change default value of network.http.max-urgent-start-excessive-connections-per-host to 3. r=mayhemer
2017-03-29 01:47:18 +08:00
Dragana Damjanovic dd.mozilla@gmail.com
2228833a21
Bug 1344171 - Improve connection management. r=mcmanus
...
--HG--
extra : rebase_source : 987fc7c7b9b3a5f3b55954ae9f976d7266b726de
2017-03-28 10:19:00 -04:00
Patrick McManus
ebb183c37d
Bug 1350719 injected http response header 0rtt r=dragana
2017-03-26 14:28:20 -04: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
Shih-Chiang Chien
6223873c22
Bug 1320744 - Part 2, Allow ChannelEventQueue to perform flush on multiple threads. r=mayhemer
...
MozReview-Commit-ID: Egu2mvwFTUF
--HG--
extra : rebase_source : 5627acad147bb0881897d93a7eddd2715cf9f3c5
2017-03-18 11:36:08 +08:00
Shih-Chiang Chien
44d29bb3d9
Bug 1320744 - Part 1, make refcounter of HttpChannelChild thread-safe. r=mayhemer
...
MozReview-Commit-ID: 5Br1WLlpvcR
--HG--
extra : rebase_source : 568b0e6178389222197bfbc0093e05fc6cae0794
2017-02-07 17:25:45 +08:00
Kershaw Chang
b9c0cd1f09
Bug 1312782 - Part 3: Test case. r=honzab
2017-03-27 04:10:00 -04:00
Kershaw Chang
99ed04a411
Bug 1312782 - Part 1: Implement window id to pending transactions table. r=honzab
2017-03-27 04:09:00 -04:00
Honza Bambas
457d2d7ac1
Bug 1316358 - Mark HSTS priming requests as urgent start. r=kmckinley
2017-03-01 06:12:00 -05:00
Michael Layzell
661470315c
Bug 1349634 - Ensure that HttpChannelParent isn't closed before accessing its Manager(), r=billm
...
MozReview-Commit-ID: EXHeRpN36yU
2017-03-24 15:53:00 -04:00
Carsten "Tomcat" Book
5f408d092d
Merge mozilla-central to mozilla-inbound
2017-03-24 14:29:00 +01:00
Carsten "Tomcat" Book
7419b36815
merge mozilla-inbound to mozilla-central a=merge
2017-03-24 14:24:21 +01:00
Kris Maglione
3107e48e00
Bug 1348442: Part 4 - Remove support for synchronously loading localized extension CSS. r=jdm
...
After switching to loading content stylesheets asynchronously, there are no
longer any consumers that require a synchronous channel to load localized CSS,
so these workarounds are no longer necessary.
MozReview-Commit-ID: AwLSmYf9qL3
--HG--
extra : rebase_source : d5f34c37e91478bb656014d53011ba2f504fe0e8
2017-03-17 16:46:59 -07:00
Valentin Gosu
85893b625c
Bug 1344498 - Use fallible string.StripWhitespace to avoid OOM r=mcmanus
...
MozReview-Commit-ID: 9wosC46DNcX
--HG--
extra : rebase_source : 266a4c722d32d9e924d5450c000740f80c145bc3
2017-03-23 12:54:38 +01:00
Thinker K.F. Li
837f48f1f8
Bug 1323076 - Part 5: Necko with flag checking for TaskTracer. r=mayhemer
2017-03-22 21:53:00 +01:00
Kershaw Chang
07398398a4
Bug 1343750 - Part2: Label runnable and IPC actor in FTPChannelChild, r=mayhemer
...
--HG--
extra : rebase_source : ea62f6fcdc87545028ef754a054e944775b26d42
2017-03-23 23:31:00 +01:00
Kershaw Chang
7f62e4602e
Bug 1343750 - Part1: Add an API to get Dispatcher from nsILoadInfo, r=mayhemer
...
--HG--
extra : rebase_source : 5fba371b7bfe8b4704b346f57953aa447662aef8
2017-03-23 23:31:00 +01:00
Carsten "Tomcat" Book
534f3aebc6
Merge mozilla-central to mozilla-inbound
2017-03-22 16:13:03 +01: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
Wes Kocher
76372437ce
Backed out changeset c040782ca691 (bug 1344171) for being the likely cause of Win7VM xpcshell crashes a=backout
...
MozReview-Commit-ID: GcZD8oWQ548
2017-03-21 17:19:32 -07:00
Dragana Damjanovic dd.mozilla@gmail.com
4ec03683cd
Bug 1344171 - Improve connection management. r=mcmanus
2017-03-21 18:38:07 +01:00
Michael Layzell
09ff23c2cc
Bug 1337056 - Part 3: Send down http[s] and ftp permissions as they are needed. Send down other permissions at startup, r=baku
...
MozReview-Commit-ID: CUKPvFp6zpF
2017-03-21 11:08:03 -04:00
Henry Chang
749573264f
Bug 1325054 - Defer any possible connection establishment in BeginConnect until knowing if it's a tracker. r=dragana
...
MozReview-Commit-ID: 59MzYAVlr6i
--HG--
extra : rebase_source : feb16165876888aac853a9d4c1bb27b553134715
extra : source : bccd6272229ba5a6f4813cd9d54d52a3e19d9fd2
2017-03-06 17:43:11 +08:00
Nicholas Hurley
ba45d4be81
Bug 1343505. r=mcmanus
...
MozReview-Commit-ID: 7OPJQfzW4FU
--HG--
extra : rebase_source : e05aa6cc88883533171f620a153fedccf5c80efa
2017-03-20 18:01:31 -04:00
Sebastian Hengst
2d4fb783da
Backed out changeset 1f0db7810a84 (bug 1344171) for bustage (unused variable 'claimed'). r=backout
2017-03-20 20:29:03 +01:00
Dragana Damjanovic dd.mozilla@gmail.com
6d420690b1
Bug 1344171 - Improve connection management. r=mcmanus
2017-03-20 05:26:00 -04:00
Wes Kocher
9a54a919a0
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: 2LT2oEKZno8
2017-03-21 16:20:49 -07:00
Nicholas Hurley
bdde27869d
Bug 1349246 - fix stream target for early transport status events. r=mcmanus
...
MozReview-Commit-ID: 9IGDNbNH0L8
--HG--
extra : rebase_source : 9f40a88663e78c9ff4082221707921af92fece79
2017-03-16 08:45:42 -07:00
Junior Hsu
6d4fca1d99
Bug 1325088 - Part 2: Expose the index-update to cache entry. r=michal
...
--HG--
extra : rebase_source : 8c8eaf6cea7eb3491de4cdf9dbe9783491296130
2017-03-28 12:02:45 +08:00
Junior Hsu
202768c0e6
Bug 1347470 - clean mAvailableCachedAltDataType when we get 200, r=valentin
2017-03-15 15:07:21 +08:00
Dragana Damjanovic
4fca90dedd
Bug 1348081 - if we call ProcessPendingQForEntry with considerAll=false we should return if we already found a transaction in the urgent queue. r=mayhemer
2017-03-17 10:12:57 +01:00
Dragana Damjanovic
1c99ae8f32
Bug 1341572
- Fix multiple HalfOpen socket for a single transaction. r=mcmanus
2017-03-17 09:00:50 +01:00
Dragana Damjanovic
a66f6a3080
Bug 1348016 - nsHttpConnectionMgr::OnMsgCancelTransactions miss to cancel one transaction. r=mayhemer
2017-03-16 21:12:51 +01:00
Dragana Damjanovic
fe46e21bf3
Bug 1347951 - Check if a h2 connection can accept more streams before trying to dispatchach a transaction. r=mayhemer
2017-03-16 21:10:30 +01:00
Iris Hsiao
a8b3a6da1b
Backed out changeset af4ad0346213 (bug 1325054) for mochitest failures in test_classify_ping.html
2017-03-16 15:12:17 +08:00
David Major
ed12ea611f
Bug 1346078: Remove nsAString_internal and just use the nsAString name directly. r=bsmedberg
...
MozReview-Commit-ID: DWDEDMIVKm7
--HG--
extra : rebase_source : 7fe8dc07c816dca234c67761e61cdee372a87e97
2017-03-10 15:17:23 +13:00
Henry Chang
effce52706
Bug 1325054 - Defer any possible connection establishment in BeginConnect until knowing if it's a tracker. r=dragana
...
MozReview-Commit-ID: 59MzYAVlr6i
--HG--
extra : rebase_source : feb16165876888aac853a9d4c1bb27b553134715
extra : source : bccd6272229ba5a6f4813cd9d54d52a3e19d9fd2
2017-03-06 17:43:11 +08:00
Michal Novotny
e92895d647
Bug 1342366 - Crash in nsWyciwygChannel::GetCharsetAndSource, r=honzab
2017-03-15 08:40:56 +01:00
Eric Rahm
4e9a6f1d89
Bug 1344305 - Part 2: Update size calculation for base64 encode in nsHttpNTLMAuth::GenerateCredentials. r=jduell
...
MozReview-Commit-ID: 11CK452mzXL
2017-03-14 18:54:18 -07:00
Eric Rahm
ddb7ada84d
Bug 1344305 - Switch to Base64Decode in nsHttpNTLMAuth::GenerateCredentials. r=jduell
...
MozReview-Commit-ID: DK6yx4PAYzi
2017-03-14 18:54:17 -07:00
Sebastian Hengst
8b0ff01934
Backed out changeset c9674c8a9d4f (bug 1337056)
2017-03-15 00:46:30 +01:00
Michael Layzell
d861bbc093
Bug 1337056 - Part 3: Send down http[s] and ftp permissions as they are needed. Send down other permissions at startup, r=baku
...
MozReview-Commit-ID: CUKPvFp6zpF
2017-03-14 14:56:03 -04:00
Carsten "Tomcat" Book
fb74131fe7
Merge mozilla-central to mozilla-inbound
2017-03-14 14:26:07 +01:00
Andrea Marchesini
f9cbf66dfd
Bug 1274343 - Add parent-to-child pipe streaming to IPCStream - part 2 - PParentToChild, r=smuag
...
--HG--
rename : ipc/glue/SendStreamAlloc.h => ipc/glue/IPCStreamAlloc.h
rename : ipc/glue/SendStreamChild.cpp => ipc/glue/IPCStreamChild.cpp
rename : ipc/glue/SendStreamParent.cpp => ipc/glue/IPCStreamDestination.cpp
rename : ipc/glue/SendStream.h => ipc/glue/IPCStreamDestination.h
rename : ipc/glue/SendStreamParent.cpp => ipc/glue/IPCStreamParent.cpp
rename : ipc/glue/SendStreamChild.cpp => ipc/glue/IPCStreamSource.cpp
rename : ipc/glue/SendStream.h => ipc/glue/IPCStreamSource.h
rename : ipc/glue/PChildToParentStream.ipdl => ipc/glue/PParentToChildStream.ipdl
2017-03-14 12:29:43 +01:00
Andrea Marchesini
6ced9f8a25
Bug 1274343 - Add parent-to-child pipe streaming to IPCStream - part 1 - renaming PSendStream to PChildToParentStream, r=smaug
...
--HG--
rename : ipc/glue/PSendStream.ipdl => ipc/glue/PChildToParentStream.ipdl
2017-03-14 12:28:58 +01:00
Carsten "Tomcat" Book
1ddeca78fa
Merge mozilla-central to autoland
2017-03-13 15:26:50 +01: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
Valentin Gosu
119e9abd82
Bug 1341343 - Don't send AltDataOutputStreamConstructor IPC message if mIPCOpen is false r=mayhemer,michal
...
MozReview-Commit-ID: 2cVpB2HOgSG
--HG--
extra : rebase_source : e69c34714f5afd065c6b0ecfd47cf07ba2ab877a
2017-03-13 12:06:52 +01:00
David Major
92cb9d6615
Bug 1344629 - Part 7: Fix up a couple of pointers to literal strings. r=dbaron
...
These would fail to compile once nsTLiteralString stops inheriting from nsTString.
MozReview-Commit-ID: DFvuESN8G5s
--HG--
extra : rebase_source : 14f4ea7b59d14786949a2d57c40f4e740b1aa34a
2017-03-14 15:26:36 +13:00
David Major
dc67bfc9a3
Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron
...
There's an antipattern where nsLiteralString is used as an unnecessary intermediary in converting from CharT* to CharT*,
e.g. CallAFunctionThatTakesACharPointer(NS_LITERAL_CSTRING("foo").get());
or
NS_NAMED_LITERAL_STRING(foo, "abc");
CallAFunctionThatTakesACharPointer(foo.get());
This patch rewrites the callsites that can be trivially changed to use char*/char16_t*.
I'd somewhat like to remove nsTLiteralString::get() altogether, but in code that's less straightforward than these examples, get() is useful enough to keep.
MozReview-Commit-ID: Kh1rUziVllo
--HG--
extra : rebase_source : c21a65694d6e1c42fd88f73632f7ac8f38d005ae
2017-03-14 15:26:27 +13:00
Iris Hsiao
5cece96e1c
Backed out 12 changesets (bug 1344629) for stylo build bustage
...
Backed out changeset cf4273d3ac30 (bug 1344629)
Backed out changeset a96390e044e0 (bug 1344629)
Backed out changeset d9b330f9bc24 (bug 1344629)
Backed out changeset 2b460fe020af (bug 1344629)
Backed out changeset 0ada91b0452e (bug 1344629)
Backed out changeset 083304fcd6bd (bug 1344629)
Backed out changeset 53d7d1ce2c97 (bug 1344629)
Backed out changeset 55eee7078ae4 (bug 1344629)
Backed out changeset 7d3c06b3eca9 (bug 1344629)
Backed out changeset e5df14c3db61 (bug 1344629)
Backed out changeset 636095ff2815 (bug 1344629)
Backed out changeset 0be052ad24c1 (bug 1344629)
2017-03-14 11:52:24 +08:00
David Major
a2d284604f
Bug 1344629 - Part 7: Fix up a couple of pointers to literal strings. r=dbaron
...
These would fail to compile once nsTLiteralString stops inheriting from nsTString.
MozReview-Commit-ID: DFvuESN8G5s
--HG--
extra : rebase_source : 14f4ea7b59d14786949a2d57c40f4e740b1aa34a
2017-03-14 15:26:36 +13:00
David Major
40f4821701
Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron
...
There's an antipattern where nsLiteralString is used as an unnecessary intermediary in converting from CharT* to CharT*,
e.g. CallAFunctionThatTakesACharPointer(NS_LITERAL_CSTRING("foo").get());
or
NS_NAMED_LITERAL_STRING(foo, "abc");
CallAFunctionThatTakesACharPointer(foo.get());
This patch rewrites the callsites that can be trivially changed to use char*/char16_t*.
I'd somewhat like to remove nsTLiteralString::get() altogether, but in code that's less straightforward than these examples, get() is useful enough to keep.
MozReview-Commit-ID: Kh1rUziVllo
--HG--
extra : rebase_source : c21a65694d6e1c42fd88f73632f7ac8f38d005ae
2017-03-14 15:26:27 +13:00
Amy Chung
2ac1ba03cf
Bug 1312774 - Allow channels marked as urgentStart to bypass connection limits. r=mayhemer
...
--HG--
extra : rebase_source : 31612010ceb050a70ed4bd74cca8ccec8a21b07d
2017-03-12 01:31:13 +08:00
Kershaw Chang
3310ba5db8
Bug 1309653 - Part1: Add new API for updating current top level outer content windowId - v2, r=honzab
...
--HG--
extra : rebase_source : a7a9797ad94d66e9ecb9b13a6d7103c0af2303ff
2017-03-10 01:32:00 +01:00
Wes Kocher
65140a44e3
Merge inbound to central, a=merge CLOSED TREE
...
MozReview-Commit-ID: Gj4s6DtqKmw
2017-03-09 16:33:31 -08: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
Carsten "Tomcat" Book
45b510057b
Merge mozilla-central to autoland
...
--HG--
extra : rebase_source : dcccfd463c74743c692814695c9a7f0cba61e3ee
2017-03-09 11:26:20 +01:00
Jonathan Hao
7bd0555dbc
Bug 1334693 - Add origin attributes to Http2Stream::PushHashKey(). r=mcmanus
...
MozReview-Commit-ID: He9Ha4SOp2O
--HG--
extra : rebase_source : b4c0fe34f7ee08aea63ce58569a84efd0dc57072
2017-03-08 18:26:08 +08:00
Jonathan Hao
c435bdc697
Bug 1334693 - Add origin attributes to HTTP2 coalescing keys. r=mcmanus
...
MozReview-Commit-ID: C4ZbYSxWKLu
--HG--
extra : rebase_source : 166847fdd5c571abcb2b298c1f34c48420f41e21
2017-03-08 16:14:06 +08:00
Wes Kocher
5d9e472591
Backed out 3 changesets (bug 1334693) for build failures a=backout
...
Backed out changeset 8042ff76ef53 (bug 1334693)
Backed out changeset f48b85ae4eca (bug 1334693)
Backed out changeset 85c4356eebea (bug 1334693)
MozReview-Commit-ID: 2VFn68MXSmx
2017-03-08 18:04:30 -08:00
Jonathan Hao
8b9f1fd19c
Bug 1334693 - Add origin attributes to Http2Stream::PushHashKey(). r=mcmanus
...
MozReview-Commit-ID: He9Ha4SOp2O
--HG--
extra : rebase_source : 7f99cc15dfd82ea7b4dfbb860831a0a5f4aff2cd
2017-03-08 18:26:08 +08:00
Jonathan Hao
ae7d21780a
Bug 1334693 - Add origin attributes to HTTP2 coalescing keys. r=mcmanus
...
MozReview-Commit-ID: C4ZbYSxWKLu
--HG--
extra : rebase_source : 166847fdd5c571abcb2b298c1f34c48420f41e21
2017-03-08 16:14:06 +08:00
Andrea Marchesini
e9195daa8d
Bug 1345168 - Get rid of OriginAttributes::Inherit, r=tjr
2017-03-08 07:41:51 +01:00
Patrick McManus
5983012246
Bug 1345240 - Trigger Reads After FlushWrite with no new writable streams in h2 r=hurley
2017-03-07 15:56:41 -05:00
Carsten "Tomcat" Book
087da3f0d9
merge mozilla-inbound to mozilla-central a=merge
2017-03-07 15:13:31 +01:00
Andrea Marchesini
5074a53881
Bug 1339713 - Use IPCStream everywhere - part 4 - PWebSocket, r=smaug
2017-03-09 14:10:24 +01:00
Andrea Marchesini
5a6434a92a
Bug 1339713 - Use IPCStream everywhere - part 2 - PFTPChannel, r=smaug
2017-03-09 14:09:31 +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