searching for reviewer(michal)
e36bb20f910c225ffe1ec9b93cfbeb6206a1271b: Bug 1532318 - part 1: use ReferrerInfo class in nsIHttpChannel instead of referrer and referrer policy r=valentin,ckerschb,michal
Thomas Nguyen <tnguyen@mozilla.com> - Thu, 02 May 2019 12:34:52 +0000 - rev 472272
Push 35952 by rgurzau@mozilla.com at Thu, 02 May 2019 22:00:13 +0000
Bug 1532318 - part 1: use ReferrerInfo class in nsIHttpChannel instead of referrer and referrer policy r=valentin,ckerschb,michal Differential Revision: https://phabricator.services.mozilla.com/D22783
251ef3905140484b28314e2dd07b37bc813bab32: Bug 1535697 - Part 7: Pass the isolated flag to the nsHttpConnectionInfo constructor when cloning the object; r=michal
Ehsan Akhgari <ehsan@mozilla.com> - Mon, 29 Apr 2019 17:09:41 +0000 - rev 471774
Push 35934 by shindli@mozilla.com at Mon, 29 Apr 2019 21:53:38 +0000
Bug 1535697 - Part 7: Pass the isolated flag to the nsHttpConnectionInfo constructor when cloning the object; r=michal Building the hashkey for these objects will soon depend on the isolated flag, therefore we need to ensure that it is available when cloning the objects inside the constructor. This patch refactors the clone method to avoid using SetIsolated(). Differential Revision: https://phabricator.services.mozilla.com/D28377
3e02969bf41346e5a12c8f7f4bd929515e8aaf5d: Bug 1535697 - Part 6: Use separate network connections for isolated third-party trackers; r=michal
Ehsan Akhgari <ehsan@mozilla.com> - Mon, 29 Apr 2019 17:09:41 +0000 - rev 471773
Push 35934 by shindli@mozilla.com at Mon, 29 Apr 2019 21:53:38 +0000
Bug 1535697 - Part 6: Use separate network connections for isolated third-party trackers; r=michal Differential Revision: https://phabricator.services.mozilla.com/D28376
86be6123ca535f9e9c9c1f0623e3af40db0a9219: Bug 1535697 - Part 5: Pass the top window origin to nsHttpConnectionInfo objects when constructing them; r=michal
Ehsan Akhgari <ehsan@mozilla.com> - Mon, 29 Apr 2019 17:09:40 +0000 - rev 471772
Push 35934 by shindli@mozilla.com at Mon, 29 Apr 2019 21:53:38 +0000
Bug 1535697 - Part 5: Pass the top window origin to nsHttpConnectionInfo objects when constructing them; r=michal Differential Revision: https://phabricator.services.mozilla.com/D28375
c22a48c48548ae60e13c61b81bbe7c1f408afade: Bug 1535697 - Part 4: Refactor the code for computing the origin of the top window for a channel and remember its result on the channel object; r=michal
Ehsan Akhgari <ehsan@mozilla.com> - Mon, 29 Apr 2019 17:09:39 +0000 - rev 471771
Push 35934 by shindli@mozilla.com at Mon, 29 Apr 2019 21:53:38 +0000
Bug 1535697 - Part 4: Refactor the code for computing the origin of the top window for a channel and remember its result on the channel object; r=michal Differential Revision: https://phabricator.services.mozilla.com/D28374
c79109688f298afc5db560301132b5cfd7f5a56e: Bug 1535697 - Part 3: Only consider third-party tracking resources as isolated channels; r=michal
Ehsan Akhgari <ehsan@mozilla.com> - Mon, 29 Apr 2019 17:09:39 +0000 - rev 471770
Push 35934 by shindli@mozilla.com at Mon, 29 Apr 2019 21:53:38 +0000
Bug 1535697 - Part 3: Only consider third-party tracking resources as isolated channels; r=michal Differential Revision: https://phabricator.services.mozilla.com/D28373
6b122a9ce1a47a7a4084ca0bd4f3d003a6360b11: Bug 1535697 - Part 2: Represent whether the channel is isolated by anti-tracking as a separate axis on the connection info hash key; r=michal
Ehsan Akhgari <ehsan@mozilla.com> - Mon, 29 Apr 2019 17:09:37 +0000 - rev 471769
Push 35934 by shindli@mozilla.com at Mon, 29 Apr 2019 21:53:38 +0000
Bug 1535697 - Part 2: Represent whether the channel is isolated by anti-tracking as a separate axis on the connection info hash key; r=michal Differential Revision: https://phabricator.services.mozilla.com/D28372
47c353bd446dc5ae4e4a642879e7eb46c3bd5e21: Bug 1535697 - Part 1: Avoid calling AntiTrackingCommon::IsFirstPartyStorageAccessGrantedFor() more than once per channel; r=michal
Ehsan Akhgari <ehsan@mozilla.com> - Mon, 29 Apr 2019 17:09:32 +0000 - rev 471768
Push 35934 by shindli@mozilla.com at Mon, 29 Apr 2019 21:53:38 +0000
Bug 1535697 - Part 1: Avoid calling AntiTrackingCommon::IsFirstPartyStorageAccessGrantedFor() more than once per channel; r=michal Differential Revision: https://phabricator.services.mozilla.com/D28371
037390836504bc52a3470027aa3015b476e6147c: Bug 1535697 - Part 7: Pass the isolated flag to the nsHttpConnectionInfo constructor when cloning the object; r=michal
Ehsan Akhgari <ehsan@mozilla.com> - Sat, 27 Apr 2019 01:34:41 +0000 - rev 471666
Push 35925 by dluca@mozilla.com at Sun, 28 Apr 2019 09:38:09 +0000
Bug 1535697 - Part 7: Pass the isolated flag to the nsHttpConnectionInfo constructor when cloning the object; r=michal Building the hashkey for these objects will soon depend on the isolated flag, therefore we need to ensure that it is available when cloning the objects inside the constructor. This patch refactors the clone method to avoid using SetIsolated(). Differential Revision: https://phabricator.services.mozilla.com/D28377
ebad998aae7a830bb12a2093118d61c8fa40fb97: Bug 1535697 - Part 6: Use separate network connections for isolated third-party trackers; r=michal
Ehsan Akhgari <ehsan@mozilla.com> - Sat, 27 Apr 2019 01:34:39 +0000 - rev 471665
Push 35925 by dluca@mozilla.com at Sun, 28 Apr 2019 09:38:09 +0000
Bug 1535697 - Part 6: Use separate network connections for isolated third-party trackers; r=michal Differential Revision: https://phabricator.services.mozilla.com/D28376
969945148b3d02410e597f8b3edce3960d3f20d7: Bug 1535697 - Part 5: Pass the top window origin to nsHttpConnectionInfo objects when constructing them; r=michal
Ehsan Akhgari <ehsan@mozilla.com> - Sat, 27 Apr 2019 01:34:37 +0000 - rev 471664
Push 35925 by dluca@mozilla.com at Sun, 28 Apr 2019 09:38:09 +0000
Bug 1535697 - Part 5: Pass the top window origin to nsHttpConnectionInfo objects when constructing them; r=michal Differential Revision: https://phabricator.services.mozilla.com/D28375
5cbdeb635a3e0cefdcf4c420a05a031c4589f408: Bug 1535697 - Part 4: Refactor the code for computing the origin of the top window for a channel and remember its result on the channel object; r=michal
Ehsan Akhgari <ehsan@mozilla.com> - Sat, 27 Apr 2019 07:47:52 +0000 - rev 471663
Push 35925 by dluca@mozilla.com at Sun, 28 Apr 2019 09:38:09 +0000
Bug 1535697 - Part 4: Refactor the code for computing the origin of the top window for a channel and remember its result on the channel object; r=michal Differential Revision: https://phabricator.services.mozilla.com/D28374
c316d49df8c431e91f517df6cb73eafea94137b0: Bug 1535697 - Part 3: Only consider third-party tracking resources as isolated channels; r=michal
Ehsan Akhgari <ehsan@mozilla.com> - Sat, 27 Apr 2019 01:34:32 +0000 - rev 471662
Push 35925 by dluca@mozilla.com at Sun, 28 Apr 2019 09:38:09 +0000
Bug 1535697 - Part 3: Only consider third-party tracking resources as isolated channels; r=michal Differential Revision: https://phabricator.services.mozilla.com/D28373
4a5475f6aa49355764baae0ac04d56e6f1ed9f60: Bug 1535697 - Part 2: Represent whether the channel is isolated by anti-tracking as a separate axis on the connection info hash key; r=michal
Ehsan Akhgari <ehsan@mozilla.com> - Sat, 27 Apr 2019 01:34:30 +0000 - rev 471661
Push 35925 by dluca@mozilla.com at Sun, 28 Apr 2019 09:38:09 +0000
Bug 1535697 - Part 2: Represent whether the channel is isolated by anti-tracking as a separate axis on the connection info hash key; r=michal Differential Revision: https://phabricator.services.mozilla.com/D28372
9191d987a9e12d16651aef4978cb7b59d6dc9bb8: Bug 1535697 - Part 1: Avoid calling AntiTrackingCommon::IsFirstPartyStorageAccessGrantedFor() more than once per channel; r=michal
Ehsan Akhgari <ehsan@mozilla.com> - Sat, 27 Apr 2019 01:34:23 +0000 - rev 471660
Push 35925 by dluca@mozilla.com at Sun, 28 Apr 2019 09:38:09 +0000
Bug 1535697 - Part 1: Avoid calling AntiTrackingCommon::IsFirstPartyStorageAccessGrantedFor() more than once per channel; r=michal Differential Revision: https://phabricator.services.mozilla.com/D28371
938a637c68f05534032b90a7bbb07c0c270711cf: Bug 1500533 - Ensure that TLS session resumption tickets are only consumed if the channel isn't isolated by anti-tracking checks; r=michal,baku
Ehsan Akhgari <ehsan@mozilla.com> - Thu, 18 Apr 2019 01:00:22 +0000 - rev 469969
Push 35884 by apavel@mozilla.com at Thu, 18 Apr 2019 21:35:00 +0000
Bug 1500533 - Ensure that TLS session resumption tickets are only consumed if the channel isn't isolated by anti-tracking checks; r=michal,baku Differential Revision: https://phabricator.services.mozilla.com/D26996
2fcb6eeb5afda03b502282d69c0120c9eda7fc01: Bug 1544131 - Part 1: Ensure that the referrer policy provided by JS/DOM will override the default referrer policy applied to third-party trackers; r=michal
Ehsan Akhgari <ehsan@mozilla.com> - Mon, 15 Apr 2019 13:05:10 +0000 - rev 469664
Push 35879 by nerli@mozilla.com at Tue, 16 Apr 2019 22:01:48 +0000
Bug 1544131 - Part 1: Ensure that the referrer policy provided by JS/DOM will override the default referrer policy applied to third-party trackers; r=michal Differential Revision: https://phabricator.services.mozilla.com/D27393
acb04833e713061274e2f2221aa0b84cf2c2a8ab: Bug 1500533 - Ensure that TLS session resumption tickets are only consumed if the channel isn't isolated by anti-tracking checks; r=michal,baku
Ehsan Akhgari <ehsan@mozilla.com> - Thu, 11 Apr 2019 18:36:16 +0000 - rev 469076
Push 35856 by csabou@mozilla.com at Fri, 12 Apr 2019 03:19:48 +0000
Bug 1500533 - Ensure that TLS session resumption tickets are only consumed if the channel isn't isolated by anti-tracking checks; r=michal,baku Differential Revision: https://phabricator.services.mozilla.com/D26996
6e3fe092063699aed075b0db15e89c7c80285f93: Bug 1538812 - Remove the dangerous default 'NS_ASSIGNMENT_DEPEND' of argument 'assignment' on NS_NewByteInputStream to let it be defined expicitly and thus visibly, r=michal
Honza Bambas <honzab.moz@firemni.cz> - Wed, 03 Apr 2019 11:39:41 +0000 - rev 467744
Push 35810 by aciure@mozilla.com at Thu, 04 Apr 2019 04:33:36 +0000
Bug 1538812 - Remove the dangerous default 'NS_ASSIGNMENT_DEPEND' of argument 'assignment' on NS_NewByteInputStream to let it be defined expicitly and thus visibly, r=michal Differential Revision: https://phabricator.services.mozilla.com/D25462
d71df181f3d948fa113de06223649f5e6298b47b: Bug 1541105 - Cache2 I/O thread may do excessive number of AddRef/Release calls on queued nsCOMPtr's under a lock, blocking main thread under heavy load; use nsTArray APIs allowing mere move of the elements instead, r=michal,froydnj
Honza Bambas <honzab.moz@firemni.cz> - Wed, 03 Apr 2019 11:27:28 +0000 - rev 467741
Push 35810 by aciure@mozilla.com at Thu, 04 Apr 2019 04:33:36 +0000
Bug 1541105 - Cache2 I/O thread may do excessive number of AddRef/Release calls on queued nsCOMPtr's under a lock, blocking main thread under heavy load; use nsTArray APIs allowing mere move of the elements instead, r=michal,froydnj Differential Revision: https://phabricator.services.mozilla.com/D25815
0f9137f0f5d5335c3b6d735fd54ef650bd4e77b0: Bug 1536387 - Part 2: enhance the range for allowed http cache storage key tag character values, r=michal
Honza Bambas <honzab.moz@firemni.cz> - Fri, 22 Mar 2019 23:22:37 +0000 - rev 465807
Push 35746 by shindli@mozilla.com at Sat, 23 Mar 2019 09:46:24 +0000
Bug 1536387 - Part 2: enhance the range for allowed http cache storage key tag character values, r=michal Differential Revision: https://phabricator.services.mozilla.com/D24342
3e21362cd4dca93964b0ffa8296838aae82cd349: Bug 1536387 - Part 2: enhance the range for allowed http cache storage key tag character values, r=michal
Honza Bambas <honzab.moz@firemni.cz> - Thu, 21 Mar 2019 13:01:15 +0000 - rev 465410
Push 35738 by ccoroiu@mozilla.com at Thu, 21 Mar 2019 21:59:09 +0000
Bug 1536387 - Part 2: enhance the range for allowed http cache storage key tag character values, r=michal Differential Revision: https://phabricator.services.mozilla.com/D24342
1ac6a585937779eb00a89289822286600c3e8d51: Bug 1536387 - Append a regular HTTP cache key tag of value 0x7f to distinguish memory-only entries, r=michal
Honza Bambas <honzab.moz@firemni.cz> - Wed, 20 Mar 2019 13:54:57 +0000 - rev 465220
Push 35735 by shindli@mozilla.com at Thu, 21 Mar 2019 04:34:45 +0000
Bug 1536387 - Append a regular HTTP cache key tag of value 0x7f to distinguish memory-only entries, r=michal Differential Revision: https://phabricator.services.mozilla.com/D24170
57c4b2afc95bfb3c444c732802d99c8522414a1b: Bug 1525527 - Crash in OOM | large | NS_ABORT_OOM | mozilla::dom::WebSocket::CreateAndDispatchMessageEvent, r=michal
Michal Novotny <michal.novotny> - Tue, 19 Feb 2019 08:22:00 +0200 - rev 459897
Push 35579 by dvarga@mozilla.com at Tue, 19 Feb 2019 21:39:51 +0000
Bug 1525527 - Crash in OOM | large | NS_ABORT_OOM | mozilla::dom::WebSocket::CreateAndDispatchMessageEvent, r=michal
0258dc6318a821647ec61519590de275b6663ad6: Bug 1524552 - Extend telemetry probes for RCWN and e10s back pressure r=michal,chutten
Junior Hsu <juhsu@mozilla.com> - Thu, 07 Feb 2019 08:23:35 +0000 - rev 457628
Push 35516 by rmaries@mozilla.com at Fri, 08 Feb 2019 04:23:26 +0000
Bug 1524552 - Extend telemetry probes for RCWN and e10s back pressure r=michal,chutten Let's monitor them to next ESR release Differential Revision: https://phabricator.services.mozilla.com/D18336
51df10abf1da898f73057f63bfb736c296ad9b8b: Bug 1451293 - P2: Call SetConnRefTaken r=michal
Kershaw Chang <kershaw@mozilla.com> - Mon, 04 Feb 2019 08:42:11 +0000 - rev 456603
Push 35496 by btara@mozilla.com at Mon, 04 Feb 2019 17:36:40 +0000
Bug 1451293 - P2: Call SetConnRefTaken r=michal In part1 patch[1], nsHttpTransaction::GetConnectionReference is removed in order to make sure single thread access to nsHttpTransaction::mConnection. Since we called mH2WSTransaction->SetConnRefTaken in nsHttpTransaction::GetConnectionReference, we need to find a new place to do this. This patch adds a new function nsHttpTransaction::SetH2WSConnRefTaken to call mH2WSTransaction->SetConnRefTaken. [1] https://phabricator.services.mozilla.com/D17221 Differential Revision: https://phabricator.services.mozilla.com/D17853
4fa023708467ad1c29ba10f1c3836e09f5d77a75: Bug 1523427 - Check whether we really have a response for a upgrade request before making a connection DontReuse. r=michal
Dragana Damjanovic <dd.mozilla@gmail.com> - Thu, 31 Jan 2019 15:09:01 +0000 - rev 456270
Push 35478 by shindli@mozilla.com at Fri, 01 Feb 2019 03:55:46 +0000
Bug 1523427 - Check whether we really have a response for a upgrade request before making a connection DontReuse. r=michal Differential Revision: https://phabricator.services.mozilla.com/D18202
62e3131970c01474e08e9ddd69c0d06fe966ce37: Bug 1514688 - In case we already have a h2 connection and it does not support websockets, we should not try again to use websockets over h2. r=michal
Dragana Damjanovic <dd.mozilla@gmail.com> - Mon, 07 Jan 2019 23:09:35 +0000 - rev 452804
Push 35330 by opoprus@mozilla.com at Tue, 08 Jan 2019 09:41:12 +0000
Bug 1514688 - In case we already have a h2 connection and it does not support websockets, we should not try again to use websockets over h2. r=michal There are 2 parts of the patch: 1) we should not try to use websockets over h2 if we already know that they are not supported. 2) make sure that we clean up websockets waiting for the settings frame when we close a h2 connection. (the part 1) will fix the issue, this part is only to be 100% that we some how do not retrigger the issue) Differential Revision: https://phabricator.services.mozilla.com/D15296
5898b239cb24bd2ddbee7703bf3f7181a6ce09a0: Bug 1415625 - Use Telemetry::CanRecordPreReleaseData instead of toolkit.telemetry.enabled. Remove network.allow-experiments because it is not used. r=michal
Dragana Damjanovic <dd.mozilla@gmail.com> - Tue, 18 Dec 2018 17:19:29 +0000 - rev 451185
Push 35229 by btara@mozilla.com at Wed, 19 Dec 2018 04:52:04 +0000
Bug 1415625 - Use Telemetry::CanRecordPreReleaseData instead of toolkit.telemetry.enabled. Remove network.allow-experiments because it is not used. r=michal Differential Revision: https://phabricator.services.mozilla.com/D12745
d21e9cf5a196cd23f56f56c4443b1272d94ccd58: Bug 1358043 - Produce only warning when appcache/old cache backend I/O thread can't be created for lack of resources, r=michal
Honza Bambas <honzab.moz@firemni.cz> - Thu, 15 Nov 2018 08:44:00 +0200 - rev 447110
Push 35067 by rmaries@mozilla.com at Tue, 20 Nov 2018 05:04:04 +0000
Bug 1358043 - Produce only warning when appcache/old cache backend I/O thread can't be created for lack of resources, r=michal
31c304e56e000fc56a4c507fabb7ce2d0c47c020: Bug 1434137 - Implement websockets over http/2 - RFC 8441 r=michal,dragana
Nicholas Hurley <hurley@mozilla.com> - Tue, 06 Nov 2018 19:29:57 +0000 - rev 444704
Push 35001 by ncsoregi@mozilla.com at Wed, 07 Nov 2018 09:52:11 +0000
Bug 1434137 - Implement websockets over http/2 - RFC 8441 r=michal,dragana https://tools.ietf.org/html/rfc8441 This uses our existing http/2 CONNECT infrastructure (modified) to enable the new extended CONNECT form defined by 8441, and pretend for the websocket's sake that an http/2 stream is actually a socket. From the websocket's point of view, this is relatively non-invasive - a few things have changed (http response code, absence of some headers) versus http/1.1 websockets, but for the most part, the websocket code doesn't care. Differential Revision: https://phabricator.services.mozilla.com/D8016
106c2a54ae6a95718cbb8bfb7a9453e1fefa5027: Bug 1499917 - Read entire length of expected string from the stream r=michal
Valentin Gosu <valentin.gosu@gmail.com> - Fri, 19 Oct 2018 18:00:50 +0000 - rev 442196
Push 34890 by dvarga@mozilla.com at Sat, 20 Oct 2018 09:40:11 +0000
Bug 1499917 - Read entire length of expected string from the stream r=michal The test ocasionally fails out in e10s mode, because stream.available() might not return the entire string length (it's async). So the child process needs to wait for all of the bytes to be read. Differential Revision: https://phabricator.services.mozilla.com/D9274
42319047f3d9ad10a2849c1e7b1b9cf6d2bb6de0: Bug 1487100 - Allow opening the input stream for original content when alt-data is available r=michal,luke
Valentin Gosu <valentin.gosu@gmail.com> - Wed, 17 Oct 2018 12:27:37 +0000 - rev 441793
Push 34876 by ebalazs@mozilla.com at Thu, 18 Oct 2018 10:19:51 +0000
Bug 1487100 - Allow opening the input stream for original content when alt-data is available r=michal,luke In trying to use fetch with alt-data, we sometimes want the benefit of using alt-data but the JS consumer actually needs to use the original HTTP response from the server. To get around this problem, we introduce a new API - nsICacheInfoChannel.getOriginalInputStream(nsIInputStreamReceiver) that asyncly receives the input stream containing the HTTP response in the cache entry. Depends on D8071 Differential Revision: https://phabricator.services.mozilla.com/D8072
e37adb23fd48ca1576ba954fe203b3fd6d6155f3: Bug 1487100 - Allow calling nsICacheInfoChannel.preferAlternativeDataType(altDataType, contentType) multiple times r=michal,luke
Valentin Gosu <valentin.gosu@gmail.com> - Wed, 17 Oct 2018 13:58:30 +0000 - rev 441792
Push 34876 by ebalazs@mozilla.com at Thu, 18 Oct 2018 10:19:51 +0000
Bug 1487100 - Allow calling nsICacheInfoChannel.preferAlternativeDataType(altDataType, contentType) multiple times r=michal,luke This patch changes the way we set and handle the preferred alternate data type. It is no longer just one choice, but a set of preferences, each conditional on the contentType of the resource. For example: var cc = chan.QueryInterface(Ci.nsICacheInfoChannel); cc.preferAlternativeDataType("js-bytecode", "text/javascript"); cc.preferAlternativeDataType("ammended-text", "text/plain"); cc.preferAlternativeDataType("something-else", ""); When loaded from the cache, the available alt-data type will be checked against "js-bytecode" if the contentType is "text/javascript", "ammended-text" if the contentType is "text/plain" or "something-else" for all contentTypes. Note that the alt-data type could be "something-else" even if the contentType is "text/javascript". The preferences are saved as an nsTArray<mozilla::Tuple<nsCString, nsCString>>. Differential Revision: https://phabricator.services.mozilla.com/D8071
7f9d03c29a6ffd82c1b5e17c14e27a2ae9d64434: Bug 1487100 - Allow opening the input stream for original content when alt-data is available r=michal,luke
Valentin Gosu <valentin.gosu@gmail.com> - Wed, 17 Oct 2018 12:27:37 +0000 - rev 441755
Push 34876 by ebalazs@mozilla.com at Thu, 18 Oct 2018 10:19:51 +0000
Bug 1487100 - Allow opening the input stream for original content when alt-data is available r=michal,luke In trying to use fetch with alt-data, we sometimes want the benefit of using alt-data but the JS consumer actually needs to use the original HTTP response from the server. To get around this problem, we introduce a new API - nsICacheInfoChannel.getOriginalInputStream(nsIInputStreamReceiver) that asyncly receives the input stream containing the HTTP response in the cache entry. Depends on D8071 Differential Revision: https://phabricator.services.mozilla.com/D8072
dd1c31ea78c2b15d14750d137037a54d50719997: Bug 1487100 - Allow calling nsICacheInfoChannel.preferAlternativeDataType(altDataType, contentType) multiple times r=michal,luke
Valentin Gosu <valentin.gosu@gmail.com> - Wed, 17 Oct 2018 13:58:30 +0000 - rev 441754
Push 34876 by ebalazs@mozilla.com at Thu, 18 Oct 2018 10:19:51 +0000
Bug 1487100 - Allow calling nsICacheInfoChannel.preferAlternativeDataType(altDataType, contentType) multiple times r=michal,luke This patch changes the way we set and handle the preferred alternate data type. It is no longer just one choice, but a set of preferences, each conditional on the contentType of the resource. For example: var cc = chan.QueryInterface(Ci.nsICacheInfoChannel); cc.preferAlternativeDataType("js-bytecode", "text/javascript"); cc.preferAlternativeDataType("ammended-text", "text/plain"); cc.preferAlternativeDataType("something-else", ""); When loaded from the cache, the available alt-data type will be checked against "js-bytecode" if the contentType is "text/javascript", "ammended-text" if the contentType is "text/plain" or "something-else" for all contentTypes. Note that the alt-data type could be "something-else" even if the contentType is "text/javascript". The preferences are saved as an nsTArray<mozilla::Tuple<nsCString, nsCString>>. Differential Revision: https://phabricator.services.mozilla.com/D8071
51abf3731a71737a336d196b2f004f18b49edff9: Bug 1476016: Fix DEAD_STORE issue in nsMIMEHeaderParamImpl. r=michal
Robert Bartlensky <rbartlensky@mozilla.com> - Tue, 17 Jul 2018 12:32:42 +0100 - rev 428017
Push 34324 by nbeleuzu@mozilla.com at Tue, 24 Jul 2018 22:19:28 +0000
Bug 1476016: Fix DEAD_STORE issue in nsMIMEHeaderParamImpl. r=michal MozReview-Commit-ID: F1p3ji1ezp3
38e729d91ed2873b708bd4800b01b8433ffceabd: Bug 1468501 - Implement a way to delete network cache by nsIPrincipal, r=mayhemer, r=michal
Andrea Marchesini <amarchesini@mozilla.com> - Fri, 20 Jul 2018 13:57:18 +0200 - rev 427512
Push 34307 by csabou@mozilla.com at Fri, 20 Jul 2018 21:42:49 +0000
Bug 1468501 - Implement a way to delete network cache by nsIPrincipal, r=mayhemer, r=michal
d5e2a4d678f05bd9409d7f943687c2a27a8a6218: Bug 1470355 - BufferWriter should stop reading data when the wanted amount has been reached, r=michal
Andrea Marchesini <amarchesini@mozilla.com> - Mon, 02 Jul 2018 02:00:00 +0300 - rev 424682
Push 34221 by toros@mozilla.com at Mon, 02 Jul 2018 21:54:19 +0000
Bug 1470355 - BufferWriter should stop reading data when the wanted amount has been reached, r=michal
50b0bfa64b2c631dfd146657207c04cb2ca31f65: Bug 1470355 - BufferWriter should stop reading data when the wanted amount has been reached, r=michal
Andrea Marchesini <amarchesini@mozilla.com> - Mon, 02 Jul 2018 02:00:00 +0300 - rev 424679
Push 34221 by toros@mozilla.com at Mon, 02 Jul 2018 21:54:19 +0000
Bug 1470355 - BufferWriter should stop reading data when the wanted amount has been reached, r=michal
0349f4afb8d37c13d1643967d8ba0f9edaaf8324: Bug 1453204 - Fix 425 return code for websocket. r=michal
Dragana Damjanovic <dd.mozilla@gmail.com> - Fri, 29 Jun 2018 09:10:00 +0300 - rev 424499
Push 34211 by apavel@mozilla.com at Sat, 30 Jun 2018 09:49:56 +0000
Bug 1453204 - Fix 425 return code for websocket. r=michal
287bdf729c7985a5995900b8cee7a7a7db4f98d9: Bug 1453795 - Necko - Initialize member fields in classes/ structures. r=michal
Andi-Bogdan Postelnicu <bpostelnicu@mozilla.com> - Thu, 14 Jun 2018 11:19:07 +0300 - rev 422537
Push 34138 by dluca@mozilla.com at Fri, 15 Jun 2018 02:39:59 +0000
Bug 1453795 - Necko - Initialize member fields in classes/ structures. r=michal
1ea106440d1bdc80cae928cafad4cff08c9619ef: Bug 1460561 - nsMultiplexInputStream should behave correctly when NS_InputStreamIsBuffered() is used, r=michal, r=froydnj
Andrea Marchesini <amarchesini@mozilla.com> - Thu, 24 May 2018 07:51:53 +0200 - rev 420813
Push 34079 by csabou@mozilla.com at Fri, 01 Jun 2018 09:42:45 +0000
Bug 1460561 - nsMultiplexInputStream should behave correctly when NS_InputStreamIsBuffered() is used, r=michal, r=froydnj
eea17fb776842aa503b019496b874efa6a00b55d: Bug 1460561 - nsMultiplexInputStream should behave correctly when NS_InputStreamIsBuffered() is used, r=michal
Andrea Marchesini <amarchesini@mozilla.com> - Thu, 24 May 2018 07:51:53 +0200 - rev 419673
Push 34043 by nerli@mozilla.com at Thu, 24 May 2018 15:41:42 +0000
Bug 1460561 - nsMultiplexInputStream should behave correctly when NS_InputStreamIsBuffered() is used, r=michal
698ab4eff5bf1efb1af8ea74e0a8f4f2f906e5ae: Bug 1450302 - nsInputStreamPump should interrupt the reading of the inputStream when suspended, r=michal
Andrea Marchesini <amarchesini@mozilla.com> - Sat, 05 May 2018 22:58:43 +0200 - rev 417081
Push 33953 by nerli@mozilla.com at Sun, 06 May 2018 21:42:52 +0000
Bug 1450302 - nsInputStreamPump should interrupt the reading of the inputStream when suspended, r=michal
a9185d7a30d832b0f93919f8522bd465e96a9b45: Bug 1427726 - remove support for remote JAR files, r=michal
Gijs Kruitbosch <gijskruitbosch@gmail.com> - Wed, 07 Feb 2018 13:54:39 +0000 - rev 412732
Push 33817 by apavel@mozilla.com at Wed, 11 Apr 2018 14:35:14 +0000
Bug 1427726 - remove support for remote JAR files, r=michal MozReview-Commit-ID: H7aaTmj3FI1
f41cf7811770bb9de1ac59a906c2e246fdce8bcf: Bug 1427726 - remove support for remote JAR files, r=michal
Gijs Kruitbosch <gijskruitbosch@gmail.com> - Wed, 07 Feb 2018 13:54:39 +0000 - rev 412714
Push 33817 by apavel@mozilla.com at Wed, 11 Apr 2018 14:35:14 +0000
Bug 1427726 - remove support for remote JAR files, r=michal MozReview-Commit-ID: H7aaTmj3FI1
798d83c02cc1da9a2577da5d27a6e4338a5936a7: Bug 1451295 - Add a null check for mChannel r=michal
Valentin Gosu <valentin.gosu@gmail.com> - Thu, 05 Apr 2018 17:47:14 +0300 - rev 411943
Push 33778 by apavel@mozilla.com at Fri, 06 Apr 2018 09:57:38 +0000
Bug 1451295 - Add a null check for mChannel r=michal MozReview-Commit-ID: 7YYhFQuKsPk
1f7081335eb901bcc885c18467599441007b70f1: Bug 1451063 - nsICache does not inherit from nsISupports r=michal
Valentin Gosu <valentin.gosu@gmail.com> - Thu, 05 Apr 2018 16:58:44 +0300 - rev 411928
Push 33778 by apavel@mozilla.com at Fri, 06 Apr 2018 09:57:38 +0000
Bug 1451063 - nsICache does not inherit from nsISupports r=michal MozReview-Commit-ID: 9azOJAEy5DH
d18246f06ea5e0dce155c786c08bd03aa7f67427: Bug 1441726 - Include CacheStorageService::mPurgeTimeStamps hashtable in the memory reporter. r=michal
Honza Bambas <honzab.moz@firemni.cz> - Tue, 27 Mar 2018 10:21:00 +0300 - rev 411302
Push 33749 by csabou@mozilla.com at Mon, 02 Apr 2018 10:18:51 +0000
Bug 1441726 - Include CacheStorageService::mPurgeTimeStamps hashtable in the memory reporter. r=michal