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

17218 Коммитов

Автор SHA1 Сообщение Дата
Dragana Damjanovic 05dfecef50 Bug 1516806 - Remove SPDY_VERSION2 telemetry probe. r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D19138

--HG--
extra : moz-landing-system : lando
2019-02-08 13:16:11 +00:00
Dragana Damjanovic d26590be47 Bug 1520642 - Cancel dns requests before cleaning up db. r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D18989

--HG--
extra : moz-landing-system : lando
2019-02-08 09:34:34 +00:00
Oana Pop Rus 1f2fab8f20 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-08 12:11:54 +02:00
Dragana Damjanovic bbcb8a93f2 Bug 1520483 - Return proper error if the nss layer encounters an error on the http tunnel. r=valentin,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D17952

--HG--
extra : moz-landing-system : lando
2019-02-08 09:13:21 +00:00
Chris Peterson 8e1848413c Bug 1507049 - Rename MOZ_CRASH_UNSAFE_OOL MOZ_CRASH_UNSAFE. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D18515

--HG--
extra : rebase_source : e8ef6eec0f7542bb381e2da81ae6431b2828aabc
extra : source : a8c262b4a2579e6def1b3a5a8220f5197b443e34
2019-02-03 00:09:37 -08:00
Dorel Luca 18685fb376 Backed out changeset 661ca61b9413 (bug 1520483) for Android build bustage 2019-02-07 16:54:13 +02:00
Dragana Damjanovic d86d9fb9b1 Bug 1520483 - Return proper error if the nss layer encounters an error on the http tunnel. r=valentin,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D17952

--HG--
extra : moz-landing-system : lando
2019-02-01 10:57:14 +00:00
ffxbld 60847f1c1f 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/D18967

--HG--
extra : moz-landing-system : lando
2019-02-07 13:54:00 +00:00
Chris Peterson 576887f4d2 Bug 1511763 - Part 2: Make GetSpoofedUserAgent() infallible. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D13658

--HG--
extra : rebase_source : 467a960f591f5e2043ca8fc504730ad38358dcde
extra : intermediate-source : 08d3f83d23c553e44ba7be1cbc3d93cd2b0b1216
extra : source : c20507956e062eecf23f0856c8b5c372621891cf
2018-12-02 21:24:16 -08:00
Kershaw Chang 3f9e7e57ed Bug 1522786 - Remove unused class member mHasQueryString r=mayhemer
Simply remove unused class member mHasQueryString and HasQueryString() method.

Differential Revision: https://phabricator.services.mozilla.com/D18694

--HG--
extra : moz-landing-system : lando
2019-02-06 18:16:59 +00:00
Alex Gaynor 0f01791ffc Bug 1512990 - Part 4 - remove declarations of Recv/Answer methods from IPDL protocol base class; r=froydnj
For cases where the class has direct calls (that is, we cast `this` to the
subclass before making the call) no longer declare Recv/Answer methods on the
base class at all. This should ensure that slots for them are not generated in
vtables, and also allow the derived class to choose the method signature (e.g.
whether it wants to take something by reference or by value).

Differential Revision: https://phabricator.services.mozilla.com/D18132

--HG--
extra : moz-landing-system : lando
2019-02-06 15:58:43 +00:00
Alex Gaynor 984f0333ea Bug 1512990 - Part 3 - remove declarations of Alloc/Dealloc methods from IPDL protocol base class; r=froydnj
For cases where the class has direct calls (that is, we cast `this` to the
subclass before making the call) no longer declare Alloc/Dealloc methods on the
base class at all. This should ensure that slots for them are not generated in
vtables, and also allow the derived class to choose the method signature (e.g.
whether it wants to take something by reference or by value).

Differential Revision: https://phabricator.services.mozilla.com/D18131

--HG--
extra : moz-landing-system : lando
2019-02-06 15:58:07 +00:00
Alex Gaynor 75c7d1fa76 Bug 1512990 - Part 2 - implement direct calls in the IPDL compiler; r=froydnj
When calling a Recv/Alloc/Dealloc method on most types, cast `this` to the
derived class.

There is a heuristic to figure out what the correct derived type is. There is a
blacklist of types which we can't do direct calls on for the moment, as well as
an override for types that do work with direct calls but which don't match the
heuristic.

Differential Revision: https://phabricator.services.mozilla.com/D16492

--HG--
extra : moz-landing-system : lando
2019-02-06 15:57:37 +00:00
Ehsan Akhgari 23415bc742 Bug 1525208 - Part 8: Avoid the overhead of calling NS_GetInnermostURI() in nsEffectiveTLDService; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D18650
2019-02-05 18:49:36 -05:00
Ehsan Akhgari bef922ae82 Bug 1525208 - Part 4: Devirtualize the call to nsEffectiveTLDService::GetBaseDomain() from ThirdPartyUtil::GetBaseDomain(); r=baku
Differential Revision: https://phabricator.services.mozilla.com/D18646
2019-02-05 18:49:36 -05:00
Ehsan Akhgari 3fdf1faccf Bug 1525208 - Part 3: Cache the result of calling PR_StringToNetAddr() since it may be expensive; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D18645
2019-02-05 18:49:36 -05:00
Cosmin Sabou 297a7340db Backed out 8 changesets (bug 1525208) for assertion mass failures on dom/base/ThirdPartyUtil. CLOSED TREE
Backed out changeset 7a679beef53e (bug 1525208)
Backed out changeset 4a97d6a5440f (bug 1525208)
Backed out changeset 40cdbb0f3e33 (bug 1525208)
Backed out changeset 461bf050580c (bug 1525208)
Backed out changeset 529fc4945c00 (bug 1525208)
Backed out changeset 80d33523be6e (bug 1525208)
Backed out changeset 6afabd86b213 (bug 1525208)
Backed out changeset bc4389577ba8 (bug 1525208)
2019-02-05 21:04:45 +02:00
Ehsan Akhgari 5693611ad4 Bug 1525208 - Part 8: Avoid the overhead of calling NS_GetInnermostURI() in nsEffectiveTLDService; r=baku
Depends on D18649

Differential Revision: https://phabricator.services.mozilla.com/D18650

--HG--
extra : moz-landing-system : lando
2019-02-05 18:12:03 +00:00
Ehsan Akhgari 4eb46262c5 Bug 1525208 - Part 4: Devirtualize the call to nsEffectiveTLDService::GetBaseDomain() from ThirdPartyUtil::GetBaseDomain(); r=baku
Depends on D18645

Differential Revision: https://phabricator.services.mozilla.com/D18646

--HG--
extra : moz-landing-system : lando
2019-02-05 18:11:50 +00:00
Ehsan Akhgari b613760796 Bug 1525208 - Part 3: Cache the result of calling PR_StringToNetAddr() since it may be expensive; r=baku
Depends on D18644

Differential Revision: https://phabricator.services.mozilla.com/D18645

--HG--
extra : moz-landing-system : lando
2019-02-05 18:11:48 +00:00
Jed Davis bcff2dd108 Bug 1487287 - Synchronize GeckoChildProcessHost destruction with launching. r=mccr8
In order to enable asynchronous launch, destruction of
GeckoChildProcessHost (and its subclasses) has to be delayed until after
launching (or anything else that might be made asynchronous in the
future) has completed, to prevent use-after-free.  However, there are
other dependencies on process hosts always being destroyed on the I/O
thread, so refcounting would be difficult to use.

Instead, GeckoChildProcessHost now may not be destroyed directly, but
must go through a method that handles the scheduling.

There are also some minor cleanups to the affected headers (removed
duplicate access modifiers, and made PluginProcessParent final).

Depends on D18010

Differential Revision: https://phabricator.services.mozilla.com/D18011

--HG--
extra : moz-landing-system : lando
2019-02-05 00:15:20 +00:00
Andrea Marchesini be2551ab2c Bug 1523702 - Max IPC message size for InputStream serialization, r=smaug
The total size of an IPC inputStream message must be less than 1mb. When we
compose the message for the multiplex stream, each sub stream collaborates with
its own size, deciding if it's better to be a pipe stream (IPCRemoteStream) or
a full serialized one.

Differential Revision: https://phabricator.services.mozilla.com/D18543

--HG--
extra : moz-landing-system : lando
2019-02-04 22:50:51 +00:00
Andrea Marchesini 7b5225038d Bug 1524864 - nsMIMEInputStream should expose nsISeekableStream only if the underlying stream is seekable, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D18528

--HG--
extra : moz-landing-system : lando
2019-02-04 21:50:47 +00:00
Sylvestre Ledru 14486004b6 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D18488

--HG--
extra : moz-landing-system : lando
2019-02-04 19:10:18 +00:00
Kershaw Chang 9c911c6c2f 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

--HG--
extra : moz-landing-system : lando
2019-02-04 08:42:11 +00:00
Kershaw Chang a9a7383ac8 Bug 1451293 - single thread access to ConnectionHandle::mConn r=mayhemer
The goal of this patch is to make sure single thread access to ConnectionHandle::mConn.
It contains:
- Remove nsHttpTransaction::GetConnectionReference()
- For the cases where we need the sticky connection, save the reference of the sticky connection's transaction instead. Then, the sticky connection will be extracted in socket thread and set it to the new transaction.

Differential Revision: https://phabricator.services.mozilla.com/D17221

--HG--
extra : moz-landing-system : lando
2019-02-04 08:42:09 +00:00
Mike de Boer 481ae95c00 Bug 1524593 - nsISearchService (aka nsIBrowserSearchService, previously) refactor to be mostly an asynchronous, in preparation of WebExtension engines. r=daleharvey
This is a rollup of all the patches that have landed on the cedar project branch:

891252fdd0
Bug 1492475 - Part 1: Migrate most, if not all nsSearchService consumers to use async APIs. r=florian

79b2eb2367
Bug 1492475 - Part 2: Move nsIBrowserSearchService.idl to toolkit/components/search/nsISearchService.idl and update references. r=florian

a947d3cdf0
Bug 1492475 - Part 3: The search service init() method should simply return a Promise. r=florian

c1e172dfac
Bug 1492475 - Part 4: Remove the synchronous initialization flow. r=florian

cd41189eac
Bug 1492475 - Part 5: Since async initialization of the search service now is implicit behavior, remove the distinctive verbiage used internally. r=florian

2ae7189dfa
Bug 1492475 - Part 6: Update the cache build task to work with an actual Promise and re-initialize only once at the same time - all to fix race conditions here. r=florian

c8ee92973f
Bug 1492475 - Part 7: Make the region fetch not block the init flow, to ensure it's as fast as possible. r=florian

c44e674e16
Bug 1492475 - Part 8: Introduce an init flag, which can only be used privately, that allows to explicitly skip waiting for the region check process to complete. r=florian

6c79eaf1d3
Bug 1492475 - Part 9: Update unit tests to stop using 'currentEngine', in favor of 'defaultEngine'. r=Standard8

21b3aa17ee
Bug 1492475 - Part 10: Update unit tests to be fully aware of the new, async signatures of the search service API and remove sync init flow tests. r=mkaply,florian

ce5ba69019
Bug 1492475 - Part 11: Repair incorrect usage of the `identifier` property of nsISearchEngine instances. r=florian

fd177a7994
Bug 1518543 - Fix up the Android (Fennec) nsISearchService shim to work with the new asynchronous API. r=florian

3653d8ee22
Bug 1523708 - Change the search service interaction in the show-heartbeat action to use the new async API. r=florian

Differential Revision: https://phabricator.services.mozilla.com/D18355

--HG--
rename : netwerk/base/nsIBrowserSearchService.idl => toolkit/components/search/nsISearchService.idl
extra : moz-landing-system : lando
2019-02-02 11:27:21 +00:00
Kershaw Chang 3f231d0bbe Bug 1500710 - Add default MIME type definition for .wasm as 'application/wasm' r=bzbarsky
Add {"application/wasm", "wasm"} mapping in extraMimeEntries

Differential Revision: https://phabricator.services.mozilla.com/D18189

--HG--
extra : moz-landing-system : lando
2019-02-01 22:16:17 +00:00
Andrea Marchesini 94c935a73f Bug 1524262 - URL-Classifier should not check all the blacklist tables always, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D18218

--HG--
extra : moz-landing-system : lando
2019-01-31 15:15:03 +00:00
Dragana Damjanovic 4aa2cbebc3 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

--HG--
extra : moz-landing-system : lando
2019-01-31 15:09:01 +00:00
ffxbld b0ca3a2b01 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/D18207

--HG--
extra : moz-landing-system : lando
2019-01-31 13:34:21 +00:00
Tom Schuster 93f896affe Bug 1514680 - Strictly enforce the MIME type of scripts loaded by importScripts(). r=dveditz
Differential Revision: https://phabricator.services.mozilla.com/D16730

--HG--
extra : moz-landing-system : lando
2019-01-30 22:21:26 +00:00
Andrea Marchesini 506304e224 Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 7 - cryptomining, r=ehsan,johannh
Differential Revision: https://phabricator.services.mozilla.com/D17641
2019-01-30 14:01:51 +01:00
Andrea Marchesini 5a909353eb Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 6 - fingerprinting, r=ehsan,johannh
Differential Revision: https://phabricator.services.mozilla.com/D17640
2019-01-30 14:01:05 +01:00
Andrea Marchesini e9ac7d9ef2 Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 5 - generalize content blocking notification, r=ehsan
Differential Revision: https://phabricator.services.mozilla.com/D17838
2019-01-28 16:44:38 +01:00
Andrea Marchesini bf8c0e40e2 Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 4 - abstract blocking state codes, r=ehsan
Differential Revision: https://phabricator.services.mozilla.com/D17639
2019-01-28 16:43:15 +01:00
Andrea Marchesini ef89767387 Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 3 - Canceling nsIChannel with error code, r=ehsan
Differential Revision: https://phabricator.services.mozilla.com/D17638
2019-01-25 14:50:26 +01:00
Andrea Marchesini 3386d20a2c Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 2 - rename variables in nsHttpChannel, r=ehsan
Differential Revision: https://phabricator.services.mozilla.com/D17664
2019-01-30 13:50:04 +01:00
Andrea Marchesini 43a5f36077 Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 1 - UrlClassifierFeatureFactory::IsClassifierBlockingErrorCode, r=ehsan
Differential Revision: https://phabricator.services.mozilla.com/D17637
2019-01-30 13:43:34 +01:00
Csoregi Natalia 026d525390 Backed out changeset a4247f89d070 (bug 1520483) for bustage on build/src/obj-firefox/dist/include/mozilla/Logging.h:257. CLOSED TREE 2019-02-08 05:45:37 +02:00
Dragana Damjanovic 073d9c1031 Bug 1520483 - Return proper error if the nss layer encounters an error on the http tunnel. r=valentin,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D17952

--HG--
extra : moz-landing-system : lando
2019-02-07 17:01:07 +00:00
Myk Melez 25349d2601 Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17526

--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +00:00
Gijs Kruitbosch ace4e930e1 Bug 1523249, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D17965

--HG--
extra : moz-landing-system : lando
2019-01-30 11:39:42 +00:00
shindli 011ea038cb Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-29 23:54:31 +02:00
shindli d5c5369355 Merge inbound to mozilla-central. a=merge 2019-01-29 23:37:33 +02:00
Andrea Marchesini 79ddbe6541 Bug 1522265 - Moving malware, phishing and blocked URIs to features - part 4 - Phishing Protection, r=dimi
--HG--
rename : netwerk/url-classifier/UrlClassifierFeatureNoChannel.cpp => netwerk/url-classifier/UrlClassifierFeaturePhishingProtection.cpp
rename : netwerk/url-classifier/UrlClassifierFeatureNoChannel.h => netwerk/url-classifier/UrlClassifierFeaturePhishingProtection.h
2019-01-29 10:11:34 +01:00
Andrea Marchesini c48bfd063c Bug 1522265 - Moving malware, phishing and blocked URIs to features - part 2 - factory updated, r=dimi 2019-01-29 10:11:33 +01:00
Andrea Marchesini 2e4e28b9e5 Bug 1522265 - Moving malware, phishing and blocked URIs to features - part 1 - feature no channel, r=dimi 2019-01-29 10:11:33 +01:00
arthur.iakab 652cde9859 Backed out 4 changesets (bug 1522265) for mochitest assertion failures on extensions/cookie/nsPermissionManager.cpp CLOSED TREE
Backed out changeset 38b4179568c7 (bug 1522265)
Backed out changeset 38b824df9d02 (bug 1522265)
Backed out changeset 6085d51681f8 (bug 1522265)
Backed out changeset e6a0832f3b11 (bug 1522265)
2019-01-29 14:25:00 +02:00
Andrea Marchesini 901d0ea1b6 Bug 1522265 - Moving malware, phishing and blocked URIs to features - part 4 - Phishing Protection, r=dimi
--HG--
rename : netwerk/url-classifier/UrlClassifierFeatureNoChannel.cpp => netwerk/url-classifier/UrlClassifierFeaturePhishingProtection.cpp
rename : netwerk/url-classifier/UrlClassifierFeatureNoChannel.h => netwerk/url-classifier/UrlClassifierFeaturePhishingProtection.h
2019-01-29 10:11:34 +01:00