Shane Caraveo
6004d08141
Bug 1521573 web_accessible incognito support, r=kmag,smaug
...
Prevent web_accessible_resources resources loading in private contexts when extension does not have permission.
Differential Revision: https://phabricator.services.mozilla.com/D17138
--HG--
extra : moz-landing-system : lando
2019-01-29 01:42:34 +00:00
Andrea Marchesini
ae7e7d4c3a
Bug 1521051 - Get rid of nsICookiePermission.ACCESS_ALLOW_FIRST_PARTY_ONLY, r=johannh, r=flod
2019-01-23 19:19:19 +01:00
Andrea Marchesini
dc777dc7a6
Bug 1521051 - nsICookiePermission.ACCESS_LIMIT_THIRD_PARTY, r=valentin, r=johannh
2019-01-23 19:19:18 +01:00
Razvan Maries
7ccb4bf803
Backed out 2 changesets (bug 1521051) for xpcshell fails on extensions/cookie/test/unit/test_cookies_thirdparty.js. CLOSED TREE
...
Backed out changeset 90bb620dd870 (bug 1521051)
Backed out changeset 483fa314e45e (bug 1521051)
2019-01-23 22:09:32 +02:00
Ciure Andrei
a4eeeccf1d
Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE
2019-01-23 20:55:29 +02:00
Andrea Marchesini
8e0c688733
Bug 1521051 - Get rid of nsICookiePermission.ACCESS_ALLOW_FIRST_PARTY_ONLY, r=johannh, r=flod
2019-01-23 19:19:19 +01:00
Andrea Marchesini
fb5e2a4f57
Bug 1521051 - nsICookiePermission.ACCESS_LIMIT_THIRD_PARTY, r=valentin, r=johannh
2019-01-23 19:19:18 +01:00
Sebastian Hengst
a612973f64
Merge mozilla-inbound to mozilla-central. a=merge
2019-01-23 18:51:14 +02:00
Sebastian Hengst
2ecf173b14
Merge mozilla-central to autoland
2019-01-23 11:31:44 +02:00
Ehsan Akhgari
57a8f5ed79
Bug 1517389 - Ensure that we emit content blocking events when setting cookie headers and reading cookies from the cookies database; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D17203
--HG--
extra : moz-landing-system : lando
2019-01-22 19:46:10 +00:00
Valentin Gosu
a9b850e10e
Bug 1517600 - Call ReleaseListeners() in HttpChannelChild::AsyncOpen when NS_CheckPortSafety fails r=baku
...
The big leak was caused by not clearing mCallbacks.
Differential Revision: https://phabricator.services.mozilla.com/D17220
--HG--
extra : moz-landing-system : lando
2019-01-22 17:45:47 +00:00
Kris Maglione
e930b89c34
Bug 1514594: Part 3 - Change ChromeUtils.import API.
...
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8
This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:
ChromeUtils.import("resource://gre/modules/Services.jsm");
is approximately the same as the following, in the new model:
var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs
This was done using the followng script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16750
--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Csoregi Natalia
ffee6dccf3
Backed out changeset fef99cfead16 (bug 1516133) for service-workers failures with crashes on MOZ_CrashOOL. CLOSED TREE
...
--HG--
extra : rebase_source : 19bce71d4915c5925648e8a1ae7022dc46d17b78
2019-01-23 02:08:39 +02:00
Gurzau Raul
136dc5e8bc
Merge mozilla-central to inbound. a=merge CLOSED TREE
2019-01-23 02:05:32 +02:00
Sylvestre Ledru
0b4021fcad
Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D17139
--HG--
extra : histedit_source : 084f340503d2e1a2d9e1753c38b2c4ee9c7819f3
2019-01-21 18:18:16 +01:00
Andrea Marchesini
5018c31d19
Bug 1516133 - Avoid extra main-thread jumps during the URL-classification, r=dimi
2019-01-17 09:33:25 +01:00
Coroiu Cristina
8aa7253505
Backed out changeset e310a6576d51 (bug 1516133) for service-workers failures with crashes on MOZ_CrashOOL
2019-01-23 13:43:15 +02:00
Andrea Marchesini
fe0182eac3
Bug 1516133 - Avoid extra main-thread jumps during the URL-classification, r=dimi
2019-01-17 09:33:25 +01:00
Valentin Gosu
f0fe9129c7
Bug 1520062 - Also release listeners in HttpChannelChild::ActorDestroy r=kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D16549
--HG--
extra : moz-landing-system : lando
2019-01-22 09:16:50 +00:00
Valentin Gosu
e143910fde
Bug 1520062 - Don't exit HttpChannelChild::DoOnStopRequest if call returns error code r=kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D16548
--HG--
extra : moz-landing-system : lando
2019-01-22 09:16:11 +00:00
Cosmin Sabou
951d31e64d
Merge mozilla-inbound to mozilla-central. a=merge
2019-01-22 05:56:10 +02:00
Ehsan Akhgari
4137a92662
Bug 1514340
- Part 2: Break out the content blocking related notifications into nsIWebProgressListener.onContentBlockingEvent(); r=baku,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D16052
2019-01-21 09:58:50 -05:00
Ehsan Akhgari
5d7e383969
Bug 1514340
- Part 1: Add the nsISecurityEventSink::OnContentBlockingEvent() helper method; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D16051
2019-01-21 09:58:50 -05:00
Dave Townsend
e8b1884f16
Bug 1518746: Switch to load events for all tested resources. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D16901
--HG--
extra : moz-landing-system : lando
2019-01-21 07:48:26 +00:00
Margareta Eliza Balazs
ca2235a67e
Backed out 4 changesets (bug 1517025) for multiple failures e.g.: toolkit/components/telemetry/tests/unit/test_PingAPI.js CLOSED TREE
...
Backed out changeset 1e173178e49f (bug 1517025)
Backed out changeset c29889dea969 (bug 1517025)
Backed out changeset 48c7d643d2fa (bug 1517025)
Backed out changeset 419cb778d531 (bug 1517025)
2019-01-21 16:13:56 +02:00
Valentin Gosu
e6aa11c264
Bug 1517025 - Do not allow percent symbol in URL hostnames r=kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D16694
--HG--
extra : moz-landing-system : lando
2019-01-21 08:39:34 +00:00
Michal Novotny
fcbc8b9cd2
Bug 1455723 - Firefox59 does not properly honor cache size set in autoconfig files, r=mayhemer
...
We keep old cache code in the tree only because of offline cache. We no longer allow using old disk or memory cache. This patch removes all preferences manipulation from old cache code that isn't used by offline cache. It removes also some related code (e.g. everything smart size related, unused defines etc.), but the goal wasn't to remove all unused code from the old cache.
2019-01-14 06:47:00 +02:00
Ciure Andrei
cd0990c959
Merge mozilla-central to autoland. a=merge CLOSED TREE
2019-01-23 20:53:05 +02:00
Ehsan Akhgari
9efcce8bbb
Bug 1509112 - Consider the content frame sitting directly beneath a moz-extension frame that has a host permission granting access to that frame as a top-level frame; r=kmag,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D14832
--HG--
extra : moz-landing-system : lando
2019-01-23 14:55:49 +00:00
Margareta Eliza Balazs
9dda825205
Merge mozilla-central to inbound. a=merge CLOSED TREE
2019-01-18 12:31:59 +02:00
Ehsan Akhgari
e5e885ae31
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Ehsan Akhgari
06c3d29113
Bug 1521000 - Part 1: Reformat the tree to ensure everything is formatted correctly with clang-format r=sylvestre
...
Summary: # ignore-this-changeset
Reviewers: sylvestre
Reviewed By: sylvestre
Subscribers: reviewbot, emilio, jandem, bbouvier, karlt, jya
Bug #: 1521000
Differential Revision: https://phabricator.services.mozilla.com/D16936
--HG--
extra : histedit_source : 4add583bfa729ccc1aef934629ed45ff095189b0
2019-01-18 10:12:56 +01:00
Dimi Lee
632a821b8a
Bug 1501458 - Remove unused tracking protection code from nsUrlClassifierDBService. r=baku
...
No one is using the aUseTrackingProtection parameter and also tracking
protection related preference in Classify API. And we shouldn't use it
that way in the future.
Differential Revision: https://phabricator.services.mozilla.com/D16798
--HG--
extra : moz-landing-system : lando
2019-01-17 21:24:43 +00:00
Kershaw Chang
cffed8b306
Bug 1519336 - Make NS_NewURI work in socket process r=dragana
...
Enable some necessary services in socket process.
Differential Revision: https://phabricator.services.mozilla.com/D16289
--HG--
extra : moz-landing-system : lando
2019-01-11 14:19:42 +00:00
Dragana Damjanovic
f7925654d4
Bug 1513542 - We need to use gAllURLsMutex before destructor of a static variable. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D16847
--HG--
extra : moz-landing-system : lando
2019-01-17 16:29:04 +00:00
Dragana Damjanovic
fc155bc720
Bug 1513059 - Use the minimal XPCOM for the socket process.r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D15024
--HG--
extra : moz-landing-system : lando
2019-01-16 23:05:11 +00:00
Dragana Damjanovic
81b7d74f4a
Bug 1520260
- Collect *_KBREAD_PER_CONN on release as well. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D16616
--HG--
extra : moz-landing-system : lando
2019-01-16 09:21:53 +00:00
Razvan Maries
4c67bec411
Merge mozilla-inbound to mozilla-central a=merge
2019-01-16 19:00:15 +02:00
Oana Pop Rus
bd4d528ac8
Merge mozilla-central to inbound. a=merge CLOSED TREE
2019-01-16 11:40:36 +02:00
Sylvestre Ledru
47a5dd1fb8
Bug 1519636 - Reformat everything to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D16388
--HG--
extra : moz-landing-system : lando
2019-01-16 08:50:07 +00:00
Junior Hsu
0575720a12
Bug 1514065 - resume the bp-suspension if the divsersion starts r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D14361
--HG--
extra : moz-landing-system : lando
2019-01-16 00:57:11 +00:00
Junior Hsu
c54c918b66
Bug 1510979 - add a telemetry xpcshell-test for socket process r=janerik
...
We need a test-only IPC message to socket process to trigger the Telemetry::Scalar set since no js engine in the socket process.
And hook the IPC call to AddPendingEvent |CallOrWaitSocketProcess| introduced by bug 1496257.
Differential Revision: https://phabricator.services.mozilla.com/D14822
--HG--
extra : moz-landing-system : lando
2019-01-15 23:15:38 +00:00
Kershaw Chang
8711ee817e
Bug 1407384 - P3: Handle the case if the channel is suspended or canceled by "http-on-examine-merged-response" observer r=mayhemer
...
1. This patch somehow sets a "breakpoint" in ProcessPartialContent() and ProcessNotModified() to really stop doing things after ProcessPartialContent() and ProcessNotModified(), when the channel is suspended.
2. Add a test for this.
Differential Revision: https://phabricator.services.mozilla.com/D13277
--HG--
extra : moz-landing-system : lando
2019-01-15 16:17:48 +00:00
Kershaw Chang
b689d1f01d
Bug 1407384 - P2: test for suspending the channel in DoAuthRetry r=mayhemer
...
Test steps:
1. Register the observers for http-on-modify-request and http-on-before-connect.
2. There are 3 cases to be tested.
- suspend in http-on-modify-request
- suspend in http-on-before-connect
- suspend in both observers
3. See if the channel can be resumed correctly.
Differential Revision: https://phabricator.services.mozilla.com/D11899
--HG--
extra : moz-landing-system : lando
2019-01-14 16:02:58 +00:00
Kershaw Chang
b5b9e5d5c3
Bug 1407384 - P1: Notify "http-on-before-connect" and "http-on-modify-request" observers in DoAuthRetry r=mayhemer
...
The goal in this patch is to notify "http-on-before-connect" and "http-on-modify-request" observers in DoAuthRetry and also handle the case when the channel is canceled or suspended by observer.
Differential Revision: https://phabricator.services.mozilla.com/D10741
--HG--
extra : moz-landing-system : lando
2019-01-15 16:04:44 +00:00
Randell Jesup
77966ce209
Bug 1514359: create network marker for end-of-load in correct spot r=mayhemer
2019-01-15 21:29:45 -05:00
Michal Novotny
c21d6620d3
Bug 1495336 - High limit of NETWORK_CACHE_METADATA_SIZE and NETWORK_CACHE_METADATA_FIRST_READ_SIZE probes is too low. r=chutten
...
Maximum size of elements in metadata is 64kB, the rest (URL, hashes and few uint32_t members) should normally fit into 1kB, so I set new high value of NETWORK_CACHE_METADATA_SIZE_2 to 65kB. With 66 buckets each bucket should be exactly 1kB wide.
NETWORK_CACHE_METADATA_FIRST_READ_SIZE doesn't provide any useful information and this patch removes the probe.
2019-01-09 10:27:00 +02:00
Dave Townsend
6fa8b55502
Bug 1518746: Add additional logging to test_accept_header.html. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D16485
--HG--
extra : moz-landing-system : lando
2019-01-14 19:36:26 +00:00
Valentin Gosu
1403ae7440
Bug 1519711 - Make nsIURI::SchemeIs return false when passed null scheme r=qdot
...
Differential Revision: https://phabricator.services.mozilla.com/D16409
--HG--
extra : moz-landing-system : lando
2019-01-13 18:05:39 +00:00
Junior Hsu
478d72efdc
Bug 1513057 - P9: socket oepration should wait until socket process launch r=mayhemer,dragana,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D14510
--HG--
extra : moz-landing-system : lando
2019-01-12 01:00:26 +00:00
Kyle Machulis
e708fe454e
Bug 1518964 - Add SchemeIs convenience functions; r=valentin
...
Create convenience functions for common protocols used in SchemeIs
queries.
Differential Revision: https://phabricator.services.mozilla.com/D16231
--HG--
extra : moz-landing-system : lando
2019-01-11 08:08:19 +00:00
Kershaw Chang
74f3ba17c3
Bug 1513057 - P8: Report telemetry from socket process to parent process r=dragana,mayhemer,janerik
...
Differential Revision: https://phabricator.services.mozilla.com/D14362
--HG--
extra : moz-landing-system : lando
2019-01-11 20:59:35 +00:00
Kershaw Chang
b5173eda1d
Bug 1513057 - P7: Setup Gecko profiler on the socket process r=dragana,mayhemer,mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D14351
--HG--
extra : moz-landing-system : lando
2019-01-11 20:58:18 +00:00
Kershaw Chang
621b98340a
Bug 1513057 - P6: Create Background between content process and socket process r=dragana,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D14348
--HG--
extra : moz-landing-system : lando
2019-01-11 20:56:39 +00:00
Kershaw Chang
f13da4ca28
Bug 1513057 - P5: Create IPC between content process and socket process r=dragana,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D14257
--HG--
extra : moz-landing-system : lando
2019-01-11 20:55:07 +00:00
Kershaw Chang
30b52ec47d
Bug 1513057 - P4: Update online/offline status to socket process r=dragana,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D14161
--HG--
extra : moz-landing-system : lando
2019-01-11 20:54:06 +00:00
Kershaw Chang
1b6d34eee2
Bug 1513057 - P3: Setup memory reporter on socket process r=dragana,mayhemer
...
To setup memory reporter on socket process, this patch modifies the PSocketProcess protocol to implement the same memory reporting functions as the PContent and PGPU protocols.
Differential Revision: https://phabricator.services.mozilla.com/D14155
--HG--
extra : moz-landing-system : lando
2019-01-11 20:52:39 +00:00
Kershaw Chang
8241bd3c41
Bug 1513057 - P2: Setup crash reporter on socket process r=dragana,mayhemer
...
This patch is quite straightforward. Just add socket process support.
Differential Revision: https://phabricator.services.mozilla.com/D14151
--HG--
extra : moz-landing-system : lando
2019-01-11 18:48:25 +00:00
Kershaw Chang
9973068a10
Bug 1513057 - P1.1: Create a reusable class to pass prefs to child processes r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D14970
--HG--
extra : moz-landing-system : lando
2019-01-11 18:39:22 +00:00
Kershaw Chang
0b336d5545
Bug 1513057 - P1: Start the new socket process basics (prefs, full xpcom init, logging, no sandboxing) r=mayhemer,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D14148
--HG--
extra : moz-landing-system : lando
2019-01-11 18:57:23 +00:00
Kyle Machulis
32abb9ff27
Bug 1518956 - Make C++ infallible/simplified versions of nsIURI::SchemeIs; r=valentin
...
SchemeIs only throws exceptions on null arguments now. Assert
arguments, as they should never be null anyways, and create an
infallible C++ version.
Differential Revision: https://phabricator.services.mozilla.com/D16143
--HG--
extra : moz-landing-system : lando
2019-01-11 08:09:33 +00:00
Andreea Pavel
21ad33d612
Backed out 10 changesets (bug 1513057) for build bustages on a CLOSED TREE
...
Backed out changeset 56329b5f1844 (bug 1513057)
Backed out changeset 46411c5de3da (bug 1513057)
Backed out changeset de65c456aad6 (bug 1513057)
Backed out changeset f648b5f1a7c2 (bug 1513057)
Backed out changeset 460bbf0849e1 (bug 1513057)
Backed out changeset 86032a14d26f (bug 1513057)
Backed out changeset a81f83df08d5 (bug 1513057)
Backed out changeset edbda5ee5fd5 (bug 1513057)
Backed out changeset c900ac2519f5 (bug 1513057)
Backed out changeset 4e94bbb90315 (bug 1513057)
2019-01-11 17:02:44 +02:00
Kershaw Chang
db8c311487
Bug 1513057 - P9: socket oepration should wait until socket process launch r=mayhemer,dragana,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D14510
--HG--
extra : moz-landing-system : lando
2019-01-11 14:23:19 +00:00
Kershaw Chang
562055d29e
Bug 1513057 - P8: Report telemetry from socket process to parent process r=dragana,mayhemer,janerik
...
Differential Revision: https://phabricator.services.mozilla.com/D14362
--HG--
extra : moz-landing-system : lando
2019-01-11 14:23:19 +00:00
Kershaw Chang
f66295c49c
Bug 1513057 - P7: Setup Gecko profiler on the socket process r=dragana,mayhemer,mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D14351
--HG--
extra : moz-landing-system : lando
2019-01-11 13:30:47 +00:00
Kershaw Chang
1c5e5caaaf
Bug 1513057 - P6: Create Background between content process and socket process r=dragana,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D14348
--HG--
extra : moz-landing-system : lando
2019-01-11 13:30:09 +00:00
Kershaw Chang
5218bf3692
Bug 1513057 - P5: Create IPC between content process and socket process r=dragana,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D14257
--HG--
extra : moz-landing-system : lando
2019-01-11 13:29:33 +00:00
Kershaw Chang
078fff139b
Bug 1513057 - P4: Update online/offline status to socket process r=dragana,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D14161
--HG--
extra : moz-landing-system : lando
2019-01-11 13:29:21 +00:00
Kershaw Chang
07a7cc19a1
Bug 1513057 - P3: Setup memory reporter on socket process r=dragana,mayhemer
...
To setup memory reporter on socket process, this patch modifies the PSocketProcess protocol to implement the same memory reporting functions as the PContent and PGPU protocols.
Differential Revision: https://phabricator.services.mozilla.com/D14155
--HG--
extra : moz-landing-system : lando
2019-01-11 13:28:00 +00:00
Kershaw Chang
99fe2d101a
Bug 1513057 - P2: Setup crash reporter on socket process r=dragana,mayhemer
...
This patch is quite straightforward. Just add socket process support.
Differential Revision: https://phabricator.services.mozilla.com/D14151
--HG--
extra : moz-landing-system : lando
2019-01-11 13:26:56 +00:00
Kershaw Chang
d0f8c9de61
Bug 1513057 - P1.1: Create a reusable class to pass prefs to child processes r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D14970
--HG--
extra : moz-landing-system : lando
2019-01-11 14:12:53 +00:00
Kershaw Chang
0c2943008a
Bug 1513057 - P1: Start the new socket process basics (prefs, full xpcom init, logging, no sandboxing) r=mayhemer,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D14148
--HG--
extra : moz-landing-system : lando
2019-01-11 14:07:47 +00:00
Tom Ritter
ba7c4014b7
Bug 1509829 - Spoof OS in HTTP User-Agent header for desktop platforms r=timhuang,baku
...
In 1404608, the OS was revealed in both the HTTP User-Agent
header and to JavaScript code via navigator.userAgent. To avoid
leaking the OS inside each HTTP request (which many web servers
log), always use the Windows 7 OS value in the desktop User-Agent
header. We continue to allow access to the actual OS via JavaScript,
since doing so improves compatibility with web applications such
as GitHub and Google Docs.
This is an uplift of Tor's 26146
2019-01-09 12:53:30 -06:00
Brindusan Cristian
f9b94dc137
Backed out changeset cf370ec3969a (bug 1516133) for mochitest assertion failures. CLOSED TREE
2019-01-17 12:51:13 +02:00
Andrea Marchesini
b944a79f8a
Bug 1516133 - Avoid extra main-thread jumps during the URL-classification, r=dimi
2019-01-17 09:33:25 +01:00
Ehsan Akhgari
0b5c4e6d1a
Bug 1523106 - DeCOMtaminate nsISecurityEventSink; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D17742
2019-01-28 14:45:49 -05:00
Eric Rahm
230e9f6e8f
Bug 1515833 - Remove verbose nsIURIMutator warnings. r=ehsan, valentin
...
--HG--
extra : rebase_source : de2fecb9ddc4976085299d5abd75994c59ecc224
extra : histedit_source : 4a11cf470c2f59ada7ce7ecca4a7b9ebfbe004b4
2018-12-21 13:02:32 -08:00
Kris Maglione
3a9e3cc721
Bug 1478124: Part 8d - Update netwerk module to use a static component manifest. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D15042
--HG--
rename : netwerk/protocol/res/SubstitutingProtocolHandler.h => netwerk/protocol/res/SubstitutingURL.h
extra : rebase_source : 695f12a3c96f05e6fbbf417f9595b05a379dee9e
extra : source : 496aaf774697f817a689ee0d59f2f866fdb16801
2018-12-16 18:36:32 -08:00
Kris Maglione
7e2aa1f145
Bug 1478124: Part 8d - Update netwerk module to use a static component manifest. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D15042
--HG--
rename : netwerk/protocol/res/SubstitutingProtocolHandler.h => netwerk/protocol/res/SubstitutingURL.h
extra : rebase_source : 48e3108ef67fa02e5aae2acad84dc4fd78179bf3
extra : absorb_source : 95d208ffaa1d2037b04f65b59378dd3315adb9b5
extra : histedit_source : 97e70bc165f37ef5138ba10d29fd8754899bb1c2
2018-12-16 18:36:32 -08:00
Kris Maglione
b83df4e952
Bug 1478124: Part 8a - Update toolkit module to use a static component manifest. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D15039
--HG--
extra : rebase_source : 1683d6ced9a6c10e6fa19425debbb51950b9b629
extra : source : d94039b199437180309264cb4c206ae7ebb7d21d
2018-12-16 16:03:00 -08:00
Kris Maglione
d20f7f8e72
Bug 1478124: Part 8a - Update toolkit module to use a static component manifest. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D15039
--HG--
extra : rebase_source : 55c387662960d82986a2a0205d3b8e451304db4b
extra : absorb_source : bd201f3bcf08f70480f19a22bfb7a8bd9cb015a1
extra : histedit_source : ec13a9b248801ab36baa275e566765734e6f3717
2018-12-16 16:03:00 -08:00
Kris Maglione
27975ea3b6
Bug 1478124: Part 4b - Support loading components from static lookup tables. r=froydnj
...
This patch essentially creates a separate, static component database for
statically-defined CID and contract ID entries, and gives it precedence over
the runtime DB. It combines the two separate databases by updating existing
code to use lookup functions which understand both databases, and then access
all entries through wrappers which defer to the appropriate underlying type.
Static component entries require no runtime relocations, and require no
writable data allocation aside from one pointer-sized BSS entry per CID, and
one bit of BSS per contract ID.
To achieve this, all strings in the static lookup tables are stored as indexes
into a static string table, all constructor functions live in a switch
statement which compiles to a relative jump table, and all writable data for
static entries is accessed by indexed lookups into BSS arrays.
We also avoid creating nsIFactory entries for static components when possible
by adding a CreateInstance method to nsFactoryEntry and the corresponding
entry wrapper to directly call the appropriate constructor method, and only
create a factory object when required by external code.
Differential Revision: https://phabricator.services.mozilla.com/D15035
--HG--
extra : rebase_source : 903a6f31c6290d0090e6765e0e317d1f749c5855
extra : source : b8d2dfdfc324c53ce5aacc822ce52d4e2bfdc31a
2018-12-18 20:30:13 -08:00
Kris Maglione
43481fed07
Bug 1478124: Part 4b - Support loading components from static lookup tables. r=froydnj
...
This patch essentially creates a separate, static component database for
statically-defined CID and contract ID entries, and gives it precedence over
the runtime DB. It combines the two separate databases by updating existing
code to use lookup functions which understand both databases, and then access
all entries through wrappers which defer to the appropriate underlying type.
Static component entries require no runtime relocations, and require no
writable data allocation aside from one pointer-sized BSS entry per CID, and
one bit of BSS per contract ID.
To achieve this, all strings in the static lookup tables are stored as indexes
into a static string table, all constructor functions live in a switch
statement which compiles to a relative jump table, and all writable data for
static entries is accessed by indexed lookups into BSS arrays.
We also avoid creating nsIFactory entries for static components when possible
by adding a CreateInstance method to nsFactoryEntry and the corresponding
entry wrapper to directly call the appropriate constructor method, and only
create a factory object when required by external code.
Differential Revision: https://phabricator.services.mozilla.com/D15035
--HG--
extra : rebase_source : 8d02ff3b67b8078d1ac837d8c12f54786155c6b6
extra : absorb_source : 0fe36ca220c9270e634abf5b1f320a01878e0ce7
extra : histedit_source : 51521ceae2c1b3e4e8bf63d4ed1e2e67e9468780
2018-12-18 20:30:13 -08:00
Dragana Damjanovic
2a013cc260
Bug 1515459 - Check if we reenter CreateShimError. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D15297
--HG--
extra : moz-landing-system : lando
2019-01-08 20:40:35 +00:00
Paolo Amadini
ffa6503244
Bug 983187 - Test that downloads fail when an RST packet is received. r=mayhemer
...
This adds a way to simulate failed network connections, allowing the addition of test coverage that would otherwise not be available. This is used in the Downloads tests to ensure that failures at the network level are handled correctly.
Differential Revision: https://phabricator.services.mozilla.com/D15522
--HG--
extra : rebase_source : 2597b27de5213b0322520cefafe10a197d0d3b83
2019-01-09 11:48:23 +00:00
Michal Novotny
1ac8081516
Bug 1513676 - Twice-reported memory allocations in CacheStorageService code, r=honzab
...
Do not report malloc size of CacheIOThread::mThread, because it can be reported by ThreadsReporter.
--HG--
extra : rebase_source : b077f80a82c5df70f1b3f267f7718f1ad7f94ea1
2019-01-08 16:38:00 +02:00
Oana Pop Rus
762fbfae67
Merge mozilla-central to inbound. a=merge CLOSED TREE
2019-01-22 18:39:16 +02:00
Honza Bambas
594d062b4c
Bug 1520125
- Don't use origin attributes to distinguish proxy authentication cache entries. r=dragana, r=mixedpuppy
2019-01-22 07:34:00 -05:00
Andrea Marchesini
98de6694fc
Bug 1516133 - Avoid extra main-thread jumps during the URL-classification, r=dimi
2019-01-17 09:33:25 +01:00
Andrea Marchesini
10799b6b03
Bug 1513300 - Implement Cryptomining URL-Classifier, r=dimi
2019-01-09 12:16:04 +01:00
Andrea Marchesini
0c34bd1c34
Bug 1513298 - Fingerprinting url-classifier feature, r=dimi
2019-01-09 12:16:04 +01:00
Noemi Erli
ac42324894
Backed out changeset 76f3be6b25e1 (bug 1513298) for ES lint failure in test_fingerprinting.html CLOSED TREE
2019-01-09 12:15:44 +02:00
Andrea Marchesini
f10ced4f9d
Bug 1513298 - Fingerprinting url-classifier feature, r=dimi
2019-01-08 23:05:41 +01:00
Andrea Marchesini
d4de202543
Bug 1517308 - Add a search field in about:url-classifier - part 1 - nsIUrlClassifier.getFeatureNames(), r=dimi
2019-01-08 23:05:40 +01:00
Michal Novotny
f0e2bfb56c
Bug 1479357 - Specific values for browser.cache.disk.capacity do break the cache, r=mayhemer
...
This patch changes all size limits in CacheObserver to kilobytes. The same unit is used at most places when checking these limits. This avoids uint32_t overflow when converting to bytes and back.
2019-01-08 16:28:00 +02:00
Andrea Marchesini
7728c152a2
Bug 1417463 - Default accept header should follow the fetch spec - tests, r=mayhemer
2019-01-08 23:36:17 +01:00
Andrea Marchesini
5752cef527
Bug 1417463 - Default accept header should follow the fetch spec, r=mayhemer
...
For navigation: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
For images: image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5
for style: text/css,*/*;q=0.1
Anything else: */*
2019-01-08 23:36:16 +01:00
Valentin Gosu
55d58519a7
Bug 1517542 - Fail URL deserialization if query or ref start at position 0 r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D15854
--HG--
extra : moz-landing-system : lando
2019-01-08 15:00:05 +00:00
Tom Schuster
82d1aa2207
Bug 1510223 - Test for MIME type warning. r=ckerschb,nchevobbe
...
Turns out we also produced an error instead of a warnings.
Good that we added those test \o/
Differential Revision: https://phabricator.services.mozilla.com/D15659
--HG--
extra : moz-landing-system : lando
2019-01-08 12:28:32 +00:00
Oana Pop Rus
3adbeba770
Merge mozilla-inbound to mozilla-central. a=merge
2019-01-08 12:13:02 +02:00
Dragana Damjanovic
7bdd6628ba
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
--HG--
extra : moz-landing-system : lando
2019-01-07 23:09:35 +00:00
Ehsan Akhgari
b63debc2d4
Bug 1517014 - Part 1: Add nsIPermissionManager.testPermissionOriginNoSuffix(), an API for testing permissions using an origin string without the overhead of parsing it into a URI; r=nika
...
For consumers which have an origin string, currently they need to parse it into
a URI before they can call testPermission(). Internally, in the common case this
nsIURI* argument will be immediately converted back into the same origin string
in PermissionKey::CreateFromURI(). This means that the cost of parsing the
original origin string will effectively end up being wasted in the common case.
This patch adds an API that allows the consumer to test a permission using the
origin string directly, and only parse it into an nsIURI when necessary, thereby
avoiding this overhead.
Differential Revision: https://phabricator.services.mozilla.com/D15543
--HG--
extra : moz-landing-system : lando
2019-01-07 18:45:26 +00:00
Csoregi Natalia
4eda4d34c0
Merge mozilla-central to mozilla-inbound. CLOSED TREE
2019-01-07 23:51:06 +02:00
Jeff Walden
a128f0c35c
Bug 1517624 - Move JSPropertySpec and JSFunctionSpec definitions into a new js/public/PropertySpec.h header. r=arai
...
--HG--
extra : rebase_source : b80911e01f984ee9f99fbbc6c4552ef3d2178587
2019-01-03 15:37:01 -06:00
Andrea Marchesini
4712d40e55
Bug 1514697 - Lazy loading for URL-Classifier features, r=dimi
2019-01-05 09:11:06 +01:00
Andrea Marchesini
1aada62615
Bug 1515286 - Get rid of nsIURIClassifier.asyncClassifyLocalWithTables, r=dimi
2019-01-05 09:10:56 +01:00
Andrea Marchesini
7872e64c7c
Bug 1515286 - Introduce nsIURIClassifier.getFeatureByName() and nsIURIClassifier.createFeatureWithTables(), r=dimi
2019-01-05 09:10:45 +01:00
shindli
ce5a0b424d
Merge mozilla-central to inbound. a=merge CLOSED TREE
2019-01-05 06:09:57 +02:00
Jeff Walden
d084a5e469
Back out f8a29b8bb211, d1267711aef0, df1b7a886a9d, 0f6a3dd2c2f7, e6628922b7be, 0a374ac233cd, cf00fd0f080c, 6fc24c4e7798, ab2e4a2e5dd2, 2d17e4ef5e71, 4a8940073f8c, ea3ab4b83152, c7577c232591, e58454c68f0f, and 0e39815d1bce for breaking a single Android J10 and nothing else. (That J10 task must not like deck chairs...) r=bustage
...
--HG--
extra : rebase_source : f02dabe3ece7955cb223313d3605b825560c62b1
2019-01-04 16:33:01 -06:00
bitnotri
542ea80ecd
Bug 1461737 - Move nsstring-rs to a better location, r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D15743
--HG--
rename : servo/support/gecko/nsstring/Cargo.toml => xpcom/rust/nsstring/Cargo.toml
rename : servo/support/gecko/nsstring/src/conversions.rs => xpcom/rust/nsstring/src/conversions.rs
rename : servo/support/gecko/nsstring/src/lib.rs => xpcom/rust/nsstring/src/lib.rs
extra : moz-landing-system : lando
2019-01-04 22:03:56 +00:00
Ciure Andrei
7a748ae68f
Merge mozilla-central to autoland. a=merge CLOSED TREE
2019-01-04 01:03:06 +02:00
Boris Zbarsky
058f83508f
Bug 1517434 part 2. Convert existing callers of GetIsSystemPrincipal() to IsSystemPrincipal(). r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D15673
--HG--
extra : moz-landing-system : lando
2019-01-03 20:55:38 +00:00
Jeff Walden
87aba62a4a
Bug 1517624 - Move JSPropertySpec and JSFunctionSpec definitions into a new js/public/PropertySpec.h header. r=arai
2019-01-03 15:37:01 -06:00
Andrea Marchesini
647b040b0f
Bug Bug 1515272 - Get rid of nsIURIClassifier.classifyLocal(), r=dimi, r=froydnj
2019-01-04 14:46:30 +01:00
Andrea Marchesini
e34612e16e
Bug 1514202 - Port flash url-classifier to nsIUrlClassifierFeature - part 1 - Flash feature, r=dimi, r=edgar, r=valentin
2019-01-04 14:45:42 +01:00
Tom Schuster
008b6d8204
Bug 1510223 - Warn about scripts with wrong MIME type. r=ckerschb,nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D14859
--HG--
extra : moz-landing-system : lando
2019-01-03 08:58:48 +00:00
Ehsan Akhgari
60238893a6
Bug 1517057 - Part 2: Avoid minting a new codebase principal in the channel-based version of AntiTrackingCommon::IsFirstPartyStorageAccessGrantedFor() in the common case to make things faster; r=baku
...
Depends on D15547
Differential Revision: https://phabricator.services.mozilla.com/D15548
--HG--
extra : moz-landing-system : lando
2019-01-02 15:41:59 +00:00
Ehsan Akhgari
61338d3be7
Bug 1517057 - Part 1: Remove support for the unused URI_FORBIDS_COOKIE_ACCESS protocol flag; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D15547
--HG--
extra : moz-landing-system : lando
2019-01-02 15:42:08 +00:00
ffxbld
7745a0ae89
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D15511
--HG--
extra : moz-landing-system : lando
2018-12-31 13:34:39 +00:00
Emilio Cobos Álvarez
d2ed260822
Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
...
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.
Overall it's not a very interesting patch I think.
nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.
I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.
While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Sylvestre Ledru
cccdda3c2a
Bug 1516555 - Reformat everything to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D15426
--HG--
extra : moz-landing-system : lando
2018-12-28 15:48:06 +00:00
Tom Schuster
8c3a7f7d61
Bug 1510241 - Proxy HttpChannel MIME blocking message to the child process. r=flod,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D14858
--HG--
extra : moz-landing-system : lando
2018-12-27 06:25:51 +00:00
Kris Maglione
39ae97e234
Bug 1515884: Remove unused XPCWrappedJS nsIPropertyBag implementation. r=bholley
...
This helper code is currently unused, and presents a pretty significant
footgun for any JS object which implements nsIPropertyBag itself.
When those objects are first queried to nsIWritablePropertyBag, they behave as
expected, returning the JS-implemented nsIPropertyBag methods. But when
they're first queried to nsIPropertyBag, they use the XPCWrappedNative stubs,
which don't behave as expected.
Differential Revision: https://phabricator.services.mozilla.com/D15235
--HG--
extra : rebase_source : 02942592dc8c4efcc1190610448a46593faa5703
2018-12-21 15:03:13 -08:00
Andrea Marchesini
301d9591cd
Bug 1515693 - Check allow-storage-access-by-user-activation sandbox flag only if StorageAccess API is enabled, r=ehsan
2018-12-22 00:38:37 +01:00
Ehsan Akhgari
aa81b3cc6c
Bug 1510860 - Ensure that the cookie service checks the content blocking allow list even for first-party cookies since that's required when we're blocking all cookies; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D15109
2018-12-21 12:21:28 -05:00
Jeff Walden
ed23151bd7
Bug 1492937 - Make the JS subscript loader load scripts exclusively as UTF-8, with no way to specify any other encoding, and adjust a bunch of existing tests to use UTF-8 directly, rather than Unicode escape sequences or similar. (This also changes the encoding of .sjs scripts and all mochitest-browser tests in the tree from Latin-1 to UTF-8.) r=yzen, r=MattN, r=jimb, r=kmag
2018-12-19 13:46:20 -08:00
Nathan Froyd
6a08dde1cc
Bug 1515194 - part 4 - un-aggregate nsLoadGroup; r=valentin
...
We no longer use the aggregation facility for nsLoadGroup, and removing
it saves approximately 10% of the space consumed by nsLoadGroup.
2018-12-19 10:08:28 -05:00
Nathan Froyd
e8ace34120
Bug 1515194 - part 3 - pack holes in nsLoadGroup better on 64-bit platforms; r=valentin
...
Due to member alignment rules on 64-bit platforms, nsLoadGroup has more
unused space than it should. Shuffling members around a little to fill
in holes should make nsLoadGroup somewhat smaller.
2018-12-19 10:08:28 -05:00
Nathan Froyd
6e924db228
Bug 1515194 - part 2 - remove nsPILoadGroupInternal; r=valentin
...
We apparently had this for internal extension hooks that couldn't be
depended on externally...but now that interfaces aren't exposed to
addons, we can remove this no-op interface entirely.
2018-12-19 10:08:28 -05:00
Nathan Froyd
d7b6a23e76
Bug 1515194 - part 1 - remove nsLoadGroup::mTimedNonCachedRequestsUntilOnEndPageLoad; r=valentin
...
We only write to this variable and never read it. The whole
nsPILoadGroupInternal interface looks like it could go away, actually;
we'll do that in a subsequent patch.
2018-12-19 10:08:28 -05:00
Tom Schuster
02af40ca25
Bug 1510225 - Refresh script MIME type telemetry again. r=dveditz datareview=chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D14762
--HG--
extra : rebase_source : 7263d071a281c518cd2220fe2fe938f52265249b
2018-12-17 17:59:48 +01:00
Dragana Damjanovic
2ebce46fd8
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
--HG--
extra : moz-landing-system : lando
2018-12-18 17:19:29 +00:00
Valentin Gosu
f9762144c9
Bug 1355207 - Wait for http server shutdown and disable test_host.js on OSX r=dragana
...
The test intermittently fails on OSX. For some reason start(PORT) doesn't always fail when PORT is in use, so we timeout because the handler is never called. I suspect it's because of how SO_REUSEADDR and SO_REUSEPORT are handled on sockets sever-side on OSX. Since httpd is used for unit tests, there is little risk in disabling the test on OSX.
The alternative is to check for a timeout, and in that case switch to another port - which is cumbersome, and not the purpose of the test.
Differential Revision: https://phabricator.services.mozilla.com/D14756
--HG--
extra : moz-landing-system : lando
2018-12-18 11:14:14 +00:00
Honza Bambas
25a593d03e
Bug 1506821 - Redirect content is shown when redirecting to a blacklisted port. r=dragana
2018-12-14 09:25:00 -05:00
Andrea Marchesini
ce48e4ca2d
Bug 1514441 - AsyncUrlChannelClassifier must keep a reference to the channel callback, r=dimi
2018-12-16 10:22:43 +01:00
Andrea Marchesini
b6a922c797
Bug 1514133 - Port Login-Reputation classification to nsIUrlClassifierFeature, r=dimi
2018-12-15 09:54:02 +01:00
Brian Hackett
a655254f45
Bug 801304 Part 2 - Check if event queues should be suspended before processing their events, r=mayhemer,smaug.
...
--HG--
extra : rebase_source : e1828ffdaaaa7ab48f956c22a93109f80a765d43
2018-12-14 06:47:58 -10:00
Andrea Marchesini
6b9fe3a6cf
Bug 1511436 - Cleanup URL-Classifier code - part 3 - AsyncUrlChannelClassifier, r=dimi
2018-12-14 12:40:17 +01:00
Andrea Marchesini
71b120ca17
Bug 1511436 - Cleanup URL-Classifier code - part 2 - nsUrlClassifierDBService::AsyncClassifyLocalWithFeatures, r=dimi
2018-12-14 12:40:17 +01:00
Andrea Marchesini
69926deea6
Bug 1511436 - Cleanup URL-Classifier code - part 1 - nsIUrlClassifierFeature, r=dimi
...
--HG--
rename : netwerk/base/nsChannelClassifier.cpp => netwerk/url-classifier/nsChannelClassifier.cpp
rename : netwerk/base/nsChannelClassifier.h => netwerk/url-classifier/nsChannelClassifier.h
rename : netwerk/base/nsIURIClassifier.idl => netwerk/url-classifier/nsIURIClassifier.idl
2018-12-14 12:40:16 +01:00
Andrea Marchesini
cdd5a7b12c
Bug 1511436 - Cleanup URL-Classifier code - part 0 - use of StaticPrefs, r=dimi
2018-12-14 12:40:16 +01:00
Bogdan Tara
724c256428
Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE
2018-12-14 07:45:04 +02:00
Bogdan Tara
38717f9e9e
Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE
2018-12-14 00:54:42 +02:00
Bogdan Tara
b6a18773a4
Merge inbound to mozilla-central. a=merge
2018-12-14 00:42:20 +02:00
Jeremy Lempereur
695604da1d
Bug 1481014 - WIP - Rewrite net_IsValidIPv4Addr in rust. r=valentin,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D3713
--HG--
extra : moz-landing-system : lando
2018-12-13 12:07:26 +00:00
Cosmin Sabou
7e60b89bf0
Merge mozilla-central to autoland.
2018-12-13 06:00:52 +02:00
Valentin Gosu
01d0b7c15e
Bug 1355207 - Improve test_host.js and add diagnostic info to figure out where it times out r=kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D14055
--HG--
extra : moz-landing-system : lando
2018-12-12 23:22:35 +00:00
Cosmin Sabou
77839dcc2d
Merge mozilla-central to mozilla-inbound.
2018-12-13 00:02:44 +02:00
Valentin Gosu
c310e9c51e
Bug 1507357 - Implement nsSimpleURI::SetFilePath r=kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D14010
--HG--
extra : moz-landing-system : lando
2018-12-11 22:01:58 +00:00
Coroiu Cristina
3160ddc1f0
Merge inbound to mozilla-central a=merge
2018-12-12 07:12:07 +02:00
Daniel Varga
9be61b1c47
Backed out changeset 1a06654dd1ba (bug 1513152) for test-android-em failure at dom/security/test/csp/test_punycode_host_src.html on a CLOSED TREE
2018-12-12 03:29:20 +02:00
Mark Banner
0304564ac7
Bug 1415483 - Apply the new options to reject-importGlobalProperties across the codebase, remove unnecessary importGlobalProperties. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D13754
--HG--
extra : moz-landing-system : lando
2018-12-11 21:39:40 +00:00
Jeff Walden
efc00313f9
Bug 1513152 - Load .sjs scripts in httpd.js as UTF-8, updating consumers of the in-tree .sjs scripts as necessary for the change. r=kmag
...
--HG--
extra : rebase_source : 1eed4ea5b846e5ce608593ef732bedc3194268e3
2018-12-08 18:00:33 -05:00
Cosmin Sabou
0bb1749356
Bug 1507467 - Make sure mAfterOnStartRequestBegun is true for channels loaded with LOAD_ONLY_IF_MODIFIED, r=valentin
...
This patch ensures that mAfterOnStartRequestBegun is set to true before notifying stream listener.
2018-12-12 21:02:18 +02:00
Jeff Walden
87c8fc7bca
Bug 1513152 - Load .sjs scripts in httpd.js as UTF-8, updating consumers of the in-tree .sjs scripts as necessary for the change. r=kmag
...
--HG--
extra : rebase_source : ff77d84433fa3fc78aea9a6c2a0e897981fd7b84
2018-12-08 18:00:33 -05:00
Jeff Walden
bd603f3ff5
Bug 1492938 - Move PAC script compilation (currently as Latin-1 only) into a lambda for readability. r=bagder
...
--HG--
extra : rebase_source : 3c6322ff524e17ba1997a2ced0b50cd6411d6098
2018-12-04 14:38:46 -05:00
Daniel Stenberg
704416cc5c
Bug 1503393 - adjust tests for localhost proxying r=mayhemer
...
--HG--
extra : rebase_source : 49fd0951c9bce6058a1a54a4772891aa28ebb354
extra : source : 52e8ef71af9b837be53b294d09381d70c5efceba
2018-12-03 16:28:14 +02:00
Daniel Stenberg
35c7b5ebae
Bug 1503393 - verify default localhost not-proxied with PAC r=mayhemer
...
--HG--
extra : rebase_source : 5420755b96982f87f1926ae8020b81fd69679a6d
extra : source : 02e383b73c971e656097b3040e9cc523039018d6
2018-12-03 16:27:29 +02:00
Daniel Stenberg
1b629d8b39
Bug 1503393 - never let "localhost" get sent to a proxy r=mayhemer
...
--HG--
extra : rebase_source : 9c662733daefd319e6d8effd599b1af5260ff266
extra : source : 49428012434e379316f2d831a088a27cf1b429ee
2018-12-03 16:27:11 +02:00
Bogdan Tara
4cbc39232e
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-12-14 00:52:36 +02:00
Jean-Yves Avenard
95d598e69b
Bug 1513677 - only initialize UserAgentOverrides.jsm once. r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D14305
--HG--
extra : moz-landing-system : lando
2018-12-13 15:19:33 +00:00
Jeff Walden
ad17bf59a4
Bug 1492938 - Attempt compiling PAC scripts as UTF-8 first if they're valid UTF-8, and only if that fails inflate to UTF-16 and compile that. r=bagder
...
--HG--
extra : rebase_source : a8933485f054292222bfbba4774e3fa41be1f8c3
2018-12-04 14:40:45 -05:00
Honza Bambas
7c45d38957
Bug 1513470 - Block redirect content from being shown when target data URL is broken, r=dragana
2018-12-12 11:10:00 +02:00
Jean-Yves Avenard
a73ddb5ad2
Bug 1512456 - P5. Refactor WaitForBgParent. r=gerald
...
Differential Revision: https://phabricator.services.mozilla.com/D14028
--HG--
extra : moz-landing-system : lando
2018-12-11 10:46:29 +00:00
Csoregi Natalia
9e970681f2
Backed out 2 changesets (bug 1415483) for multiple failures e.g. on test_message_manager_ipc.html. CLOSED TREE
...
Backed out changeset d00748de66fc (bug 1415483)
Backed out changeset 8dea94258f54 (bug 1415483)
2018-12-11 19:30:57 +02:00
Mark Banner
1abdc8687f
Bug 1415483 - Apply the new options to reject-importGlobalProperties across the codebase, remove unnecessary importGlobalProperties. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D13754
--HG--
extra : moz-landing-system : lando
2018-12-11 14:09:44 +00:00
Brindusan Cristian
989d78f3d0
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-12-11 00:10:08 +02:00
Jonathan Kew
1d355fa505
Bug 1512647 - Add mozTXTToHTMLConv testcases including supplementary-plane letters and combining marks. r=valentin
2018-12-10 14:41:28 +00:00
Jonathan Kew
db954198b4
Bug 1512647 - Use unicode::ClusterIterator and decode surrogates when scanning text for marked-up words. r=valentin
2018-12-10 14:41:00 +00:00
Andrea Marchesini
562202c9bd
Bug 1512485 - Introduce nsIClearDataService.deleteDataFromOriginAttributesPattern, r=johannh
2018-12-09 13:19:04 +01:00
Valentin Gosu
ec72bc563e
Bug 1380148 - Assert if securityInfo deserialization fails r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D14056
--HG--
extra : moz-landing-system : lando
2018-12-10 21:20:02 +00:00
Sylvestre Ledru
ad75e912fb
Bug 1512961 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D14060
--HG--
extra : moz-landing-system : lando
2018-12-10 19:23:16 +00:00
Valentin Gosu
4a2272c90f
Bug 1506965 - Add assertions that members in bitfields are only used on the main thread r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D13245
--HG--
extra : moz-landing-system : lando
2018-12-05 15:58:46 +00:00
Valentin Gosu
bf8dd3ab51
Bug 1506965 - Make variables atomic to avoid data race r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D13243
--HG--
extra : moz-landing-system : lando
2018-12-05 15:58:21 +00:00
Ehsan Akhgari
a9178e878d
Bug 1510911 - Part 3: Backout changeset d0997972e4d4 (bug 1493563 - Part 4) for regressing performance
2018-12-03 14:27:53 -05:00
Ehsan Akhgari
0dcf936804
Bug 1510911 - Part 2: Backout changeset f8849239da42 (bug 1493563 - Part 5) for regressing performance
2018-12-03 14:27:53 -05:00
Valentin Gosu
7439d2a7fe
Bug 1502025 - Add IPv6 support to httpd.js r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D13335
--HG--
extra : moz-landing-system : lando
2018-12-02 23:29:45 +00:00
Valentin Gosu
8064b923c9
Bug 1502025 - Use captive portal endpoints for connectivity checks r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D13334
--HG--
extra : moz-landing-system : lando
2018-12-02 23:29:27 +00:00
Valentin Gosu
ad0bfacd94
Bug 1502025 - Remove failure counters from nsSocketTransport2 r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D13333
--HG--
extra : moz-landing-system : lando
2018-12-02 23:29:10 +00:00
Valentin Gosu
e9a56d9090
Bug 1502025 - Add NS_HTTP_DISABLE_IPV4 and NS_HTTP_DISABLE_IPV6 flags r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D13332
--HG--
extra : moz-landing-system : lando
2018-12-02 23:28:52 +00:00
Fabian Henneke
082be04eec
Bug 1509493 - Fix markup generation for nested email addresses r=BenB
...
In mozTXTToHTMLConv, FindURL is not able to correctly calculate replaceBefore for nested email addresses/URLs such as john@doe.org}john@doe.org. As a workaround, we keep track of the end of the last URL HTML markup in the output string and skip any subsequent URLs whose replaceBefore would cut into this markup.
Depends on D13645
Differential Revision: https://phabricator.services.mozilla.com/D13646
--HG--
extra : moz-landing-system : lando
2018-12-02 16:18:29 +00:00
Fabian Henneke
5574403ce0
Bug 1509493 - Do not include unmatched ')' in email addresses r=BenB
...
Depends on D13644
Differential Revision: https://phabricator.services.mozilla.com/D13645
--HG--
extra : moz-landing-system : lando
2018-12-02 16:20:03 +00:00
Fabian Henneke
e00f50248b
Bug 1509493 - Provide basic test coverage for email address parsing r=BenB
...
Depends on D13511
Differential Revision: https://phabricator.services.mozilla.com/D13644
--HG--
extra : moz-landing-system : lando
2018-12-02 22:14:11 +00:00
Fabian Henneke
0d5da0fca2
Bug 1509493 - Always linkify common URL schemes in plain text r=BenB
...
Differential Revision: https://phabricator.services.mozilla.com/D13511
--HG--
extra : moz-landing-system : lando
2018-12-02 16:20:05 +00:00
Ciure Andrei
2edebf41a2
Merge inbound to mozilla-central. a=merge
2018-12-02 11:46:09 +02:00
Jorg K
3776a84fb4
Bug 1505911 - Follow-up: fix error in part 1. r=valentin
2018-12-02 07:13:50 +01:00
Valentin Gosu
f006cf8ce4
Bug 1511591 - Update rust-url to version 1.7.2 r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D13613
--HG--
extra : moz-landing-system : lando
2018-12-01 14:58:03 +00:00
Simon Montagu
daf683e0db
Bug 1505911 - Add struct testing to test_mozTXTToHTMLConv.js. r=valentin
...
--HG--
extra : rebase_source : a0477242e4f21c56c3523063d893dfa0a0c5fe18
2018-11-30 18:41:55 +01:00
Jorg K
2caa5fbda6
Bug 1505911 - Add glyph testing to test_mozTXTToHTMLConv.js. r=valentin
...
--HG--
extra : rebase_source : fb3c158cb5b047f3a16360379ee3a3071b0ae488
2018-11-30 18:41:45 +01:00
Andrea Marchesini
b9156a21d1
Bug 1505931 - Channel-Classifier should not skip annotation when TP is enabled, r=francois
2018-12-01 13:04:20 +01:00
Christoph Kerschbaumer
cb0d9e21a7
Bug 1528971: Move newChannel2 being the only implementation within nsIProtocolHandler.idl. r=valentin
2019-02-19 19:20:37 +01:00
Simon Montagu
38f9527fbd
Bug 1505911 - Use IsAlpha/IsDigit instead of IsAsciiAlpha/IsAsciiDigit for full Unicode support. r=valentin
...
--HG--
extra : rebase_source : bb3c6af51aa6f20b4ab4a3f8d538fd71b8f0b0bc
2013-09-01 12:23:43 +03:00
Valentin Gosu
cc7f59b418
Bug 1505911 - Change interfaces to use AString instead of wstring r=juhsu
...
--HG--
extra : rebase_source : ddca32a4dc8a37445110ce785c87f3d48c4775c3
2018-11-30 18:57:24 +01:00
Tooru Fujisawa
7983faeb5d
Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp
2018-12-01 04:52:05 +09:00
Benjamin Bouvier
a7f1d173a0
Bug 1511383: Update vim modelines after clang-format; r=sylvestre
...
- modify line wrap up to 80 chars; (tw=80)
- modify size of tab to 2 chars everywhere; (sts=2, sw=2)
--HG--
extra : rebase_source : 7eedce0311b340c9a5a1265dc42d3121cc0f32a0
extra : amend_source : 9cb4ffdd5005f5c4c14172390dd00b04b2066cd7
2018-11-30 16:39:55 +01:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Andreea Pavel
50096c9761
Backed out 3 changesets (bug 1509493) for failng win xpcshell at netwerk/test/unit/test_mozTXTToHTMLConv.js on a CLOSED TREE
...
Backed out changeset 05562b7d3eff (bug 1509493)
Backed out changeset 6498765e1d65 (bug 1509493)
Backed out changeset 5e4a5cf81c26 (bug 1509493)
2018-11-29 20:54:22 +02:00
Fabian Henneke
51d3d2f9c6
Bug 1509493 - Fix markup generation for nested email addresses r=BenB
...
In mozTXTToHTMLConv, FindURL is not able to correctly calculate replaceBefore for nested email addresses/URLs such as john@doe.org}john@doe.org. As a workaround, we keep track of the end of the last URL HTML markup in the output string and skip any subsequent URLs whose replaceBefore would cut into this markup.
Differential Revision: https://phabricator.services.mozilla.com/D13391
--HG--
extra : moz-landing-system : lando
2018-11-29 15:49:29 +00:00
Fabian Henneke
a898f276d0
Bug 1509493 - Do not include unmatched ')' in email addresses r=BenB
...
Differential Revision: https://phabricator.services.mozilla.com/D13390
--HG--
extra : moz-landing-system : lando
2018-11-29 14:04:57 +00:00
Fabian Henneke
bc7746f52d
Bug 1509493 - Provide basic test coverage for email address parsing r=BenB
...
Differential Revision: https://phabricator.services.mozilla.com/D13389
--HG--
extra : moz-landing-system : lando
2018-11-29 15:49:31 +00:00
Dragana Damjanovic
f4cda9e92e
Bug 1502462 - The altSrv checker does not build a uri correctly if origin is ipv6 address. r=valentin
...
AltSvcMapping::ProcessHeader should use GetAsciiHost instead of GetHost.
Differential Revision: https://phabricator.services.mozilla.com/D13066
--HG--
extra : moz-landing-system : lando
2018-11-29 10:15:13 +00:00
Ehsan Akhgari
490e611801
Bug 1508472 - Part 5: Fifth batch of comment fix-ups in preparation for the tree reformat r=sylvestre
...
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal. I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.
Differential Revision: https://phabricator.services.mozilla.com/D13371
--HG--
extra : moz-landing-system : lando
2018-11-29 10:30:46 +00:00
Coroiu Cristina
e92b0f1d7f
Merge inbound to mozilla-central a=merge
2018-11-29 06:27:40 +02:00
Gabriele Svelto
19e52bebd4
Bug 1510582 - Remove useless inclusions of Services.h r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D13240
--HG--
extra : moz-landing-system : lando
2018-11-28 17:25:23 +00:00
Siddhant085
87b814fa1e
Bug 1453264 - Dropping nsIBrowserSearchService::currentEngine in favour of defaultEngine. r=Standard8
...
All instances of nsIBrowserSearchService::currentEngine have been replaced by nsIBrowserSearchService::defaultEngine. Dropping this variable now.
Differential Revision: https://phabricator.services.mozilla.com/D12223
--HG--
extra : moz-landing-system : lando
2018-11-28 15:21:11 +00:00
Cosmin Sabou
e1e8f2ea69
Merge mozilla-inbound to mozilla-central. a=merge
2018-11-28 06:08:19 +02:00
Dragana Damjanovic
71d81618b1
Bug 1497868 - In nsFtp, close data pipe as well. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D12740
--HG--
extra : moz-landing-system : lando
2018-11-27 19:48:20 +00:00
arthur.iakab
af07f9b9d4
Backed out 13 changesets (bug 1500948, bug 1509362, bug 1509591, bug 1448426, bug 1500949, bug 1487249, bug 1509930, bug 1500950, bug 1500944) for causing crashes and assertion failures on PBackgroundParent.cpp:696 CLOSED TREE
...
Backed out changeset c3fe435e473a (bug 1509362)
Backed out changeset 6494840edc17 (bug 1509591)
Backed out changeset 123b5d5a3637 (bug 1509591)
Backed out changeset bce195f98895 (bug 1509930)
Backed out changeset 66db13126408 (bug 1500950)
Backed out changeset 3b5fffae2d2b (bug 1500949)
Backed out changeset 71c3b3677db8 (bug 1500948)
Backed out changeset 784b3b56e2ab (bug 1500944)
Backed out changeset 0bad27401ddb (bug 1500944)
Backed out changeset e0f95dd96d54 (bug 1448426)
Backed out changeset c60fa11538db (bug 1487249)
Backed out changeset 0190d4ffa54f (bug 1487249)
Backed out changeset 3cd10aba9130 (bug 1487249)
2018-11-28 02:57:32 +02:00
Nika Layzell
6bda5576a0
Bug 1509591 - Part 2: Remove now-unnecessary mIPCOpen variable, r=mccr8
...
This should eliminate most variables which can be replaced with IPCOpen().
Differential Revision: https://phabricator.services.mozilla.com/D12957
2018-11-27 18:09:51 -05:00
Ehsan Akhgari
691c192f43
Bug 1509047 - Part 1: Add a permission manager API for enumerating all permissions with a type prefix r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D12862
--HG--
extra : source : f8fc57f3ab6450a5f32e282c4f0d02cc8a9eb73e
2018-11-27 16:50:39 +00:00
Andreea Pavel
eb6a42f46f
Backed out changeset f8fc57f3ab64 (bug 1509047) for build bustages on a CLOSED TREE
2018-11-27 19:10:44 +02:00
Ehsan Akhgari
491663338c
Bug 1509047 - Part 1: Add a permission manager API for enumerating all permissions with a type prefix r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D12862
--HG--
extra : moz-landing-system : lando
2018-11-27 16:50:39 +00:00
Ehsan Akhgari
486b276941
Bug 1509555 - Part 4: Remove nsIWebProgressListener::STATE_BLOCKED_SLOW_TRACKING_CONTENT r=baku
...
Depends on D12830
Differential Revision: https://phabricator.services.mozilla.com/D12831
--HG--
extra : moz-landing-system : lando
2018-11-27 08:56:39 +00:00
Ehsan Akhgari
e8df714b7c
Bug 1509555 - Part 3: Remove reporting of tracker statistics to docshell which was added for fastblock r=valentin,baku
...
Depends on D12829
Differential Revision: https://phabricator.services.mozilla.com/D12830
--HG--
extra : moz-landing-system : lando
2018-11-27 08:55:36 +00:00
Ehsan Akhgari
b0af8bcf40
Bug 1509555 - Part 2: Remove the core fastblock code r=valentin
...
Depends on D12828
Differential Revision: https://phabricator.services.mozilla.com/D12829
--HG--
extra : moz-landing-system : lando
2018-11-26 11:37:01 +00:00
Ehsan Akhgari
15bf246249
Bug 1509555 - Part 1: Remove the telemetry probe for measuring the rate at which popular analytics providers get blocked by fastblock r=baku,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D12828
--HG--
extra : moz-landing-system : lando
2018-11-27 08:50:36 +00:00
Gabriele Svelto
566f669d07
Bug 1509450 - Remove unnecessary inclusions of ContentParent.h and ContentChild.h r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D12728
--HG--
extra : moz-landing-system : lando
2018-11-26 14:49:44 +00:00
Dragana Damjanovic
2e0854b645
Bug 1481947 - When getting eTLD+1 fails, check if uri is an ip literal or localhost. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D12739
--HG--
extra : moz-landing-system : lando
2018-11-26 19:43:57 +00:00
Ehsan Akhgari
2aea5bbb1a
Bug 1508044 - Part 4: Make nsChannelClassifier use nsContentUtils::IsThirdPartyWindowOrChannel() in order to avoid having duplicated logic r=francois
...
Depends on D12853
Differential Revision: https://phabricator.services.mozilla.com/D12854
--HG--
extra : moz-landing-system : lando
2018-11-27 00:46:50 +00:00
Valentin Gosu
a6efc6d0af
Bug 1260527 - Change HttpChannelChild to open IPDL earlier than AsyncOpen r=kershaw,dragana
...
Since we need the loadInfo to set up the IPDL connection, we move the logic to
do so from HttpChannelChild::AsyncOpen to HttpChannelChild::SetLoadInfo
via InitIPCChannel.
It would have been nicer to do so in HttpChannelChild::Init, but
I ran into issues with view-source channels, which required an ugly hack.
Also note that RemoteChannelExists() preserves the existing contract - it is
true between asyncOpen and onStopRequest - but the name is slightly off, as
the channel has already been open by the time we call asyncOpen. We will fix
this in a follow-up.
Differential Revision: https://phabricator.services.mozilla.com/D12419
--HG--
extra : moz-landing-system : lando
2018-11-26 17:38:42 +00:00
Valentin Gosu
66d5164c37
Bug 1502097 - (Part 2) Define IDN blocklist as ranges of characters [ {firstChar, lastChar}* ] r=jfkthame,dragana
...
* Changes the format of the blocklist from a list of characters to a list of
character ranges. Binary search still works, and it is easier to include
large ranges of characters in the blocklist.
* Moves logic for handling the blocklist to IDNBlocklistUtils.h/.cpp
* Changes NS_EscapeURL to take a function that determines if a character
is blocked. This way the type of the array doesn't matter.
Differential Revision: https://phabricator.services.mozilla.com/D12210
--HG--
extra : moz-landing-system : lando
2018-11-24 12:04:34 +00:00
Valentin Gosu
5f1a383a19
Bug 1502097 - (Part 1) Move pref network.IDN.blacklist_chars to separate hardcoded file IDNCharacterBlocklist.inc r=jfkthame,dragana
...
* Moves the value of the pref and also the fallback definition in nsTextToSubURI.cpp to a separate file.
* The file has better formatting, so we may follow its history more easily. Each range of consecutive values is defined on a separate line.
* Renames `blacklist` to `blocklist` for pref and variable names (for this individual pref. network.IDN.whitelist.* needs to be handled in a separate bug)
* Changes nsIDNService::mIDNBlocklist from being an nsString to sorted nsTArray<char16> and uses mozilla::BinarySearch() to check for characters.
Differential Revision: https://phabricator.services.mozilla.com/D12209
--HG--
extra : moz-landing-system : lando
2018-11-23 22:40:29 +00:00
Valentin Gosu
8e3e7b2a3e
Bug 1510715 - Backed out changeset d15f0ac561d9 (bug 1260527) a=backout
2018-11-28 21:40:35 +01:00
Andrea Marchesini
a91ebb7cd1
Bug 1510580 - Use nsIURIFixup in netwerk/protocol/http, r=valentin
2018-11-28 18:05:52 +01:00
Cosmin Sabou
1b7e778d69
Merge mozilla-central to mozilla-inbound.
2018-11-28 00:04:55 +02:00
Razvan Maries
a6f88b57a1
Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
2018-11-27 19:38:10 +02:00
Geoff Brown
172d5d491d
Bug 1507207 - Skip some tests on Android/e10s; r=snorp
...
When the Android harness e10s support was fixed, a few crashtests started failing.
2018-11-27 09:41:13 -07:00
Eric Rahm
78491d6518
Bug 1435899 - Use nsStringStream for the data channel buffer. r=bz
...
A pipe is no longer used for the input stream, instead we use a string stream
which in most cases will be able to share the string data buffer rather than
copying it.
--HG--
extra : rebase_source : 592af1d2f55b7964d2b84c8e6f3def310557a866
2018-02-02 12:42:55 -08:00
Ehsan Akhgari
c964f1264c
Bug 1508044 - Check the return values of mozIThirdPartyUtil::IsThirdPartyFoo() in IsThirdParty() inside nsChannelClassifier.cpp r=francois
...
Differential Revision: https://phabricator.services.mozilla.com/D12784
--HG--
extra : moz-landing-system : lando
2018-11-24 00:49:03 +00:00
Byron Campen [:bwc]
e6218aee8a
Bug 1494312 - Part 2: Make the internal PC stats API based on MozPromise. r=mjf,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D11776
--HG--
extra : moz-landing-system : lando
2018-11-23 16:46:52 +00:00
Byron Campen [:bwc]
69e7155b3a
Bug 1494312 - Part 1: Remove unused nsresult returns from MediaTransportHandler. r=mjf
...
Differential Revision: https://phabricator.services.mozilla.com/D11775
--HG--
extra : moz-landing-system : lando
2018-11-23 16:46:23 +00:00
Peter Van der Beken
025219f350
Bug 1507604 - Remove nsINetworkProperties. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D12135
--HG--
extra : moz-landing-system : lando
2018-11-23 15:53:01 +00:00
Nazım Can Altınova
5b5f30a1bb
Bug 1507043 - Add profiler labels to annotate some HttpChannelChild methods with profiler category NETWORK r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D12568
--HG--
extra : moz-landing-system : lando
2018-11-22 10:02:15 +00:00
Valentin Gosu
e823bab3cc
Bug 1487964 - Do not report resource-timing subdocument loads triggered by that subdocument r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D9503
--HG--
extra : moz-landing-system : lando
2018-11-21 16:28:20 +00:00
Cosmin Sabou
79b7d9fe91
Backed out changeset 395b95afd795 (bug 1487964) for mochitest failures on test_resource_timing_nocors.
2018-11-21 17:14:29 +02:00
Dragana Damjanovic
1687671372
Bug 1508288 - nsHostResolver::mOriginSuffix is not used, we should remove it. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D12301
--HG--
extra : moz-landing-system : lando
2018-11-20 21:58:17 +00:00
Valentin Gosu
a80d7bf63e
Bug 1487964 - Do not report resource-timing subdocument loads triggered by that subdocument r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D9503
--HG--
extra : moz-landing-system : lando
2018-11-17 19:30:36 +00:00
Ehsan Akhgari
9459a6554e
Bug 1506947 - Part 1: Add a pref for site-specific workarounds for blocking cookies from trackers; r=francois
...
Differential Revision: https://phabricator.services.mozilla.com/D11979
2018-11-20 23:00:30 -05:00
Ehsan Akhgari
5a990aab93
Bug 1504728 - Part 1: Add a content blocking notification for indicating when a top-level page is using cookies or site data r=baku,valentin,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D11122
--HG--
extra : moz-landing-system : lando
2018-11-20 14:34:49 +00:00
Boris Zbarsky
9691e7ba88
Bug 1507540 part 3. Use more notxpcom attributes in netwerk/. r=valentin
2018-11-19 20:17:53 -05:00
Razvan Maries
3b217cc771
Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
2018-11-20 00:36:35 +02:00
Tarek Ziadé
139a810511
Bug 1508257 - Remove io.activity.intervalMilliseconds - r=valentin
...
This preference is not used. Let's get rid of it.
Differential Revision: https://phabricator.services.mozilla.com/D12295
--HG--
extra : moz-landing-system : lando
2018-11-19 14:52:26 +00:00
Dorel Luca
3a97449464
Backed out changeset dfc775a144ad (bug 1504728) for Brwoser-chrome failure in browser/base/content/test/trackingUI/browser_trackingUI_trackers_subview.js. CLOSED TREE
2018-11-19 18:34:50 +02:00
Dragana Damjanovic
428228861f
Bug 1502641 - Change ref-counting for nsHostRecord, change nsCOMPtr<*HostRecord> into RefPtr<*HostRecord>, remove pure virtual functions from nsHostRecord. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D12121
--HG--
extra : moz-landing-system : lando
2018-11-19 15:23:39 +00:00
Ehsan Akhgari
abc8be6d57
Bug 1504728 - Part 1: Add a content blocking notification for indicating when a top-level page is using cookies or site data r=baku,valentin,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D11122
--HG--
extra : moz-landing-system : lando
2018-11-19 15:25:33 +00:00
Gurzau Raul
6d17917258
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-11-16 19:54:35 +02:00
Andrew Osmond
968f9abb55
Bug 1501482. r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D11897
2018-11-16 09:41:27 -05:00
Kershaw Chang
1d281934cf
Bug 1452535 - Move some logs to level 1 r=mayhemer
...
WPT parses HTTP log and create a HAR file. To reduce the overhead of logging, this patch moves some logs that are used by WPT parser to level 1.
Differential Revision: https://phabricator.services.mozilla.com/D8986
--HG--
extra : moz-landing-system : lando
2018-11-16 16:35:52 +00:00
Dragana Damjanovic
37b8159b48
Bug 1506612 - Check whether the tunnel connection is initiated. r=bagder
...
Differential Revision: https://phabricator.services.mozilla.com/D12003
--HG--
extra : moz-landing-system : lando
2018-11-16 10:42:56 +00:00
Narcis Beleuzu
c8215609ff
Backed out 2 changesets (bug 1504728, bug 1505198) for xpcshell failures on test_WebExtensionContentScript.js. CLOSED TREE
...
Backed out changeset 26318538f077 (bug 1505198)
Backed out changeset fc39602006be (bug 1504728)
2018-11-16 02:34:15 +02:00
Junior Hsu
f6d5762e57
Bug 1503736 - Origin header honors network.http.referer.hideOnionSource r=ckerschb,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D11265
--HG--
extra : moz-landing-system : lando
2018-11-14 21:39:13 +00:00
Csoregi Natalia
c9b70719c8
Merge mozilla-central to autoland. CLOSED TREE
2018-11-16 00:19:45 +02:00
Ehsan Akhgari
7f3a7b13de
Bug 1504728 - Part 1: Add a content blocking notification for indicating when a top-level page is using cookies or site data r=baku,valentin,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D11122
--HG--
extra : moz-landing-system : lando
2018-11-14 17:19:25 +00:00
Dragana Damjanovic
694ce65937
Bug 1507139
- Fix h2 push for esni r=bagder
...
Differential Revision: https://phabricator.services.mozilla.com/D11881
--HG--
extra : moz-landing-system : lando
2018-11-15 13:10:54 +00:00
arthur.iakab
c0b26c4076
Merge inbound to mozilla-central a=merge
2018-11-15 11:54:15 +02:00
Andreea Pavel
9cabbb0b47
Merge mozilla-central to autoland. a=merge on a CLOSED TREE
2018-11-15 00:35:07 +02:00
Magnus Melin
1fe4ae86be
Bug 1506390 - ensure the default permissions do not intefer with the permission tests that assume no defaults. r=johannh
2018-11-14 14:55:22 +02:00
Valentin Gosu
1c5f254e6b
Bug 1495313 - Allow password with empty username in URLs r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D11254
--HG--
extra : moz-landing-system : lando
2018-11-14 19:10:42 +00:00
Andreea Pavel
7c4a91dd37
Backed out changeset 9ad299b5161b (bug 1495313) for failing mochitest dom/security/test/cors/test_CrossSiteXHR.html on a CLOSED TREE
2018-11-14 20:55:00 +02:00
Valentin Gosu
3777cffb41
Bug 1495313 - Allow empty username in URLs r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D11254
--HG--
extra : moz-landing-system : lando
2018-11-14 15:24:21 +00:00
Sylvestre Ledru
2b4847d320
Bug 1506538 - Remove +x permissions on C++ source files r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D11609
--HG--
extra : moz-landing-system : lando
2018-11-13 15:32:08 +00:00
ffxbld
a8c4d8395e
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D11629
--HG--
extra : moz-landing-system : lando
2018-11-12 13:57:43 +00:00
Junior Hsu
1dbcaab155
Bug 1504323 - P2 Enable ESLint for netwerk/test/httpserver/ (manual changes) r=Standard8,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D10986
--HG--
extra : moz-landing-system : lando
2018-11-09 11:28:32 +00:00
Junior Hsu
964925b6fe
Bug 1504323 - P1 Enable ESLint for netwerk/test/httpserver/ (automatic changes) r=Standard8,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D10985
--HG--
extra : moz-landing-system : lando
2018-11-11 21:25:52 +00:00
Nicholas Hurley
a4d48c1eb9
Bug 1505867 - Add pref for hpack table dumps. r=bagder
...
Now that h2 is pretty well stable, and we're fairly confident in our hpack table implementation, it's worth hiding this logging without some extra hoops, as it's just a lot of noise in logs.
Differential Revision: https://phabricator.services.mozilla.com/D11406
--HG--
extra : moz-landing-system : lando
2018-11-09 07:23:17 +00:00
Dorel Luca
2f261feba3
Backed out changeset 365e0d2414bf (bug 1504728) for browser-chrome failures. CLOSED TREE
2018-11-09 18:48:39 +02:00
Mark Banner
d5550b277c
Bug 1501445 - Remove unused netwerk/wifi/tests/wifi_access_point_test.html. r=jdm
...
Differential Revision: https://phabricator.services.mozilla.com/D11443
--HG--
extra : moz-landing-system : lando
2018-11-09 15:29:43 +00:00
Ehsan Akhgari
b11a25f3c6
Bug 1504728 - Add a content blocking notification for indicating when a top-level page is using cookies or site data r=baku,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D11122
--HG--
extra : moz-landing-system : lando
2018-11-09 15:36:02 +00:00
Ciure Andrei
2b079b82ee
Backed out 2 changesets (bug 1506324) for bustages error: redefinition of 'DefaultGlobalClassOps' CLOSED TREE
...
Backed out changeset 412920e602fa (bug 1506324)
Backed out changeset f00f5277735f (bug 1506324)
2018-11-19 23:07:34 +02:00
Honza Bambas
a102a4969c
Bug 1358043 - Produce only warning when appcache/old cache backend I/O thread can't be created for lack of resources, r=michal
2018-11-15 08:44:00 +02:00
Philip Chimento
31c3522845
Bug 1506324 - Use DefaultGlobalClassOps in existing code. r=jorendorff
...
Summary: Depends on D11570
Reviewers: tcampbell, jorendorff
Reviewed By: tcampbell, jorendorff
Subscribers: jandem
Bug #: 1506324
Differential Revision: https://phabricator.services.mozilla.com/D11571
2018-11-19 09:05:07 -05:00
Kershaw Chang
f0bd5e236c
Bug 1504512 - Do not delete mTrailers explicitly, r=valentin
...
Since mTrailers is nsAutoPtr, there is no need to delete it explicitly.
--HG--
extra : rebase_source : 0928c18382ef4820ca7379810becacfd7e18eff0
2018-11-09 02:53:00 +02:00
Randell Jesup
8773e64196
Bug 1505948: Add cache info to network profiler markers r=mstange,nwgh
2018-11-14 15:54:22 -05:00
Ciure Andrei
92c9686945
Backed out changeset e157b95e9b5e (bug 1505948) for HttpChannelChild.cpp build bustages CLOSED TREE
2018-11-14 23:41:01 +02:00
Randell Jesup
286dfeada3
Bug 1505948: Add cache info to network profiler markers r=mstange,nwgh
2018-11-14 15:54:22 -05:00
ffxbld
3a972019e4
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D11314
--HG--
extra : moz-landing-system : lando
2018-11-08 13:54:03 +00:00
Daniel Stenberg
c76f47455a
bug 1505752 - fix whitespace trim of Timing-Allow-Origin header value r=dragana
...
StripWhitespace() is not suitable for HTTP whitespace trimming.
Differential Revision: https://phabricator.services.mozilla.com/D11317
--HG--
extra : moz-landing-system : lando
2018-11-08 13:14:43 +00:00
Daniel Stenberg
8da710e1bf
bug 1503517
- do not strip 0x0c from X-Content-Type-Options header fields r=dragana
...
The nsCSstring's StripWhitespace() method is not very HTTP "friendly".
Differential Revision: https://phabricator.services.mozilla.com/D11305
--HG--
extra : moz-landing-system : lando
2018-11-08 11:30:13 +00:00
Nicholas Hurley
bbe78e41bf
Bug 1505388 - fix crash introduced by bug Bug 1434137. r=kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D11184
--HG--
extra : moz-landing-system : lando
2018-11-07 16:52:57 +00:00
Nicholas Hurley
27190f4a59
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
--HG--
extra : moz-landing-system : lando
2018-11-06 19:29:57 +00:00
Gurzau Raul
1da9ef02c4
Merge inbound to mozilla-central. a=merge
...
--HG--
rename : testing/web-platform/tests/content-security-policy/navigate-to/form-action/form-action-blocks-navigate-to-allows.html => testing/web-platform/tests/content-security-policy/navigate-to/form-action/form-action-blocks-navigate-to-allows.sub.html
rename : testing/web-platform/tests/content-security-policy/navigate-to/spv-only-sent-to-initiator.html => testing/web-platform/tests/content-security-policy/navigate-to/spv-only-sent-to-initiator.sub.html
2018-11-06 11:57:49 +02:00
Junior Hsu
3986ef8afc
Bug 1277496 - use nsHttp::Origin instead of literal cstring r=francois
...
Differential Revision: https://phabricator.services.mozilla.com/D10752
--HG--
extra : moz-landing-system : lando
2018-11-05 21:40:36 +00:00
Narcis Beleuzu
9b3f73e696
Merge mozilla-central to inbound. CLOSED TREE
2018-11-05 23:54:03 +02:00
vinoth
e14aa2974e
Bug 1504605 - Add Prefs to xpcshell test files for allowing usage of eval. r=ckerschb
...
Reviewers: ckerschb
Reviewed By: ckerschb
Subscribers: ckerschb
Bug #: 1504605
Differential Revision: https://phabricator.services.mozilla.com/D10850
--HG--
extra : rebase_source : 9abb395224bdfa7795516295babfd847ea2553f4
2018-11-05 16:41:45 +02:00
ffxbld
de627b48fd
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D10879
--HG--
extra : moz-landing-system : lando
2018-11-05 13:27:19 +00:00
Gerald Squelart
69cacfa74d
Bug 1504347 - Add IDLE markers and AUTO_PROFILER_THREAD_SLEEP around Necko waits - r=mayhemer
...
IDLE markers help with categorizing threads in the profiler UI.
_SLEEP makes the profiler spend less time sampling threads that haven't changed.
Differential Revision: https://phabricator.services.mozilla.com/D10815
--HG--
extra : moz-landing-system : lando
2018-11-05 12:58:51 +00:00
Ciure Andrei
46f758b8b5
Backed out changeset cb84a3ed7bdd (bug 1504557) for nsErrorService leakcheck failures CLOSED TREE
2018-11-05 05:17:40 +02:00
Ehsan Akhgari
e95c3cca7d
Bug 1504557 - Remove the XPCOM registration for nsErrorService r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D10848
--HG--
extra : moz-landing-system : lando
2018-11-05 00:43:41 +00:00
Brindusan Cristian
350fbdf6f5
Backed out 2 changesets (bug 1501503) as requested by bradwerth on the ticket.
...
Backed out changeset 814414676c25 (bug 1501503)
Backed out changeset c2d9f82adf43 (bug 1501503)
2018-11-03 15:03:29 +02:00
Ehsan Akhgari
49523b05c4
Bug 1502240 - Ensure that Content Blocking allow list is applied to all cookie policies r=baku
...
Unfortunately we can't test BEHAVIOR_REJECT using the AntiTracking framework,
because the AntiTracking callbacks are incompatible with it. (The tracking
callbacks expect to be able to unblock themselves, but under BEHAVIOR_REJECT,
that can't happen.)
Differential Revision: https://phabricator.services.mozilla.com/D10664
--HG--
extra : moz-landing-system : lando
2018-11-02 20:14:57 +00:00
Daniel Stenberg
19f477f4ea
Bug 1449355 - Use the right free function in DecodeQOrBase64Str. r=valentin
...
Memory returned from PL_Base64Decode() is allocated with PR_MALLOC and
therefore needs to be freed with PR_FREE(), not free().
Differential Revision: https://phabricator.services.mozilla.com/D10745
--HG--
extra : amend_source : 820c1b987ed179e6f5ff51ec2ec91696588b6fa0
2018-11-02 14:21:28 -04:00
Ciure Andrei
e16ad7a8a8
Backed out changeset 462c7102e2db (bug 1502240) for failures related to nsICookieService CLOSED TREE
2018-11-02 19:24:40 +02:00
Ciure Andrei
26f3fc7fec
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-11-02 18:48:12 +02:00
Ciure Andrei
83010e5db0
Merge inbound to mozilla-central. a=merge
2018-11-02 18:44:43 +02:00
Ehsan Akhgari
795d456a70
Bug 1502240 - Ensure that Content Blocking allow list is applied to all cookie policies r=baku
...
Unfortunately we can't test BEHAVIOR_REJECT using the AntiTracking framework,
because the AntiTracking callbacks are incompatible with it. (The tracking
callbacks expect to be able to unblock themselves, but under BEHAVIOR_REJECT,
that can't happen.)
Differential Revision: https://phabricator.services.mozilla.com/D10664
--HG--
extra : moz-landing-system : lando
2018-11-02 12:55:01 +00:00
Andrea Marchesini
6a82516944
Bug 1502055 - test for Clear-Site-Data + 304 http status r=mayhemer
...
--HG--
extra : histedit_source : d0fece4fbb82cca9e70e851d18f40f6edb8cf868
2018-10-31 06:46:00 +02:00
Honza Bambas
f9a8f6aba1
Bug 1502055 - Make nsHttpChannel::ResumeInternal keep order of transaction pump OnStopRequest before cache pump OnStartRequest, r=dragana
...
--HG--
extra : histedit_source : a578146bb50df79f060e341fe9a2fa8be8224aa0
2018-10-31 05:36:00 +02:00
Ehsan Akhgari
abebd286d4
Bug 1503201 - Add a crash test for fetching a subresource served with an invalid authentication realm r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D10570
--HG--
extra : moz-landing-system : lando
2018-11-01 16:36:52 +00:00
Ehsan Akhgari
1f7708bb64
Bug 1502774 - Part 3: Remove nsAuthModule r=valentin
...
Depends on D10026
Differential Revision: https://phabricator.services.mozilla.com/D10027
--HG--
rename : extensions/auth/nsAuthFactory.cpp => extensions/auth/nsIAuthModule.cpp
extra : moz-landing-system : lando
2018-11-01 10:39:58 +00:00
Ehsan Akhgari
164805ba94
Bug 1502774 - Part 2: Remove XPCOM component registrations for auth module classes r=valentin
...
Depends on D10025
Differential Revision: https://phabricator.services.mozilla.com/D10026
--HG--
extra : moz-landing-system : lando
2018-11-01 10:39:58 +00:00