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

47850 Коммитов

Автор SHA1 Сообщение Дата
Alessio Placitelli 4121e64310 Bug 1452551 - Initialize the Telemetry core in GeckoView. r=esawin,gfritzsche,jchen
This additionally introduces a new pref (toolkit.telemetry.isGeckoViewMode)
to discriminate, at runtime, between Fennec and GV in JavaScript code.
Moreover, this disables TelemetryController initialization from content
processes, which was left enabled.

MozReview-Commit-ID: 7VoDorxAhvD

--HG--
extra : rebase_source : b16a5c870c073f62175a5f9c2bf8db30032c55bd
2018-04-11 13:11:27 +02:00
Jan-Erik Rediger b9e99a5b72 Bug 1448945 - Document support for adding events in artifact builds. r=chutten
MozReview-Commit-ID: 1e8hF3DyfDj

--HG--
extra : rebase_source : 958f044042aec5122e2fd87a23b5f048feff6d8d
2018-04-10 13:55:48 +02:00
Jan-Erik Rediger 751561f5e4 Bug 1448945 - Add test coverage for loading dynamic inbuilt events on startup. r=chutten
MozReview-Commit-ID: Dpl4GUSZePf

--HG--
extra : rebase_source : 1bb936317a7e4ae2e94b953ffd3f854ae93e89ad
2018-04-10 13:39:10 +02:00
Jan-Erik Rediger 632d73d2a9 Bug 1448945 - Allow underscore in category, method and extra keys of event. r=chutten
According to the documnetation[1] category and method are identifiers,
thus an underscore is allowed. It's less clear for extra keys, but
underscores are already used there.

The documentation is adjusted accordingly.

[1]: https://firefox-source-docs.mozilla.org/toolkit/components/telemetry/telemetry/collection/events.html#limits

MozReview-Commit-ID: 9pUsDNXCY8m

--HG--
extra : rebase_source : 5f3a3f1a9d8172cfb9695c17bd04e11836a65c93
2018-04-10 13:05:39 +02:00
Jan-Erik Rediger 8aee79fc46 Bug 1448945 - Load dynamic inbuilt event probes on startup. r=chutten
MozReview-Commit-ID: 3eyqkcV6LWM

--HG--
extra : rebase_source : 8d23c35ef6c63bda652f1100de4aa54b04cfdbe4
2018-04-09 15:26:09 +02:00
Jan-Erik Rediger 32b432e9fb Bug 1448945 - Add test coverage for dynamic builtin events. r=chutten
MozReview-Commit-ID: AFZPTBM7QqQ

--HG--
extra : rebase_source : a0052a271d66414fabd652ffb95a1be40ac472cd
2018-04-09 15:07:58 +02:00
Jan-Erik Rediger 11b35b780f Bug 1448945 - Generate JSON definitions for dynamic builtin events. r=chutten,froydnj
This patch enables the build system to generate the JSON definition
file that is loaded, on developer builds, when Firefox starts and
is built from artifact builds.

MozReview-Commit-ID: 1nSQi7exRtL

--HG--
extra : rebase_source : 666dbe99effb8ecc9e90a43241297c79c1a6c510
2018-04-09 15:07:14 +02:00
Jan-Erik Rediger efc236f670 Bug 1448945 - Enable snapshotting dynamic builtin events. r=chutten
This additionally adds the memory consumption of dynamic builtin events
to the memory reporting.

MozReview-Commit-ID: LopWWPnWkBc

--HG--
extra : rebase_source : 36468d02ccb19217b44e6c29e0df291fba4459d0
2018-04-09 15:06:30 +02:00
Jan-Erik Rediger c4ce7a9169 Bug 1448945 - Enable recording events in artifact builds without rebuilding Firefox. r=chutten
This patch enables the Firefox Telemetry core to register and record
to dynamic builtin scalars.

MozReview-Commit-ID: 8FeAgmmsQXw

--HG--
extra : rebase_source : f5eddb24bb8c16b75a49850568efd38141eb6a5a
2018-04-09 15:04:49 +02:00
Gijs Kruitbosch baf8e40f33 Bug 1453421 - stop findbar from looping over every single property, r=mikedeboer
MozReview-Commit-ID: KsrzhUZ167g

--HG--
extra : rebase_source : 564798860ce9df4cb1ab694e186f3f481edc6cd1
2018-04-18 12:02:35 +01:00
Gijs Kruitbosch 5037a2426e Bug 1447341 - make page-icon protocol handler support weak referencing, r=mak
MozReview-Commit-ID: EpPJl89Gi1v

--HG--
extra : rebase_source : 011d65bfe28514449fb279b1c50e69de3e109e61
2018-04-17 15:40:25 +01:00
Rob Wood 4af496d7f2 Bug 1454466 - Move raptor in-tree; r=ahal
MozReview-Commit-ID: AkqbROfvmbu

--HG--
extra : rebase_source : bf30030a333852d6d81c4278e91b1ac9fef237fe
2018-04-16 17:15:38 -04:00
Dorel Luca 0eedeeda32 Merge mozilla-central to autoland. CLOSED TREE 2018-04-18 14:07:45 +03:00
Dorel Luca c4fec6222b Backed out changeset 897bbf35e781 (bug 1453580) for XPCShell failure on services/sync/tests/unit/test_syncedtabs.js. CLOSED TREE 2018-04-18 14:06:34 +03:00
Coroiu Cristina 374b919ce6 Merge inbound to mozilla-central a=merge 2018-04-18 13:44:22 +03:00
Boris Zbarsky d49151ed50 Bug 1452183 part 1. Stop using nsIDOMDocumentFragment in IDL files. r=mccr8 2018-04-17 21:13:03 -04:00
Nika Layzell f5f86c989e Bug 1444745 - Part 1: Clear out xptinfo and typelib to make way for the this patch, r=mccr8
Unfortunately, I wasn't able to figure out a way to make firefox build & run in
the intermediate stages of these commits. Because of this, I am going to just
delete most of the code which I am deleting in the first patch, as I figure that
those are somewhat uninteresting changes, and then make the other changes in the
following patches.

In total, the following things are deleted:
1. All of xpcom/typelib, except for `xpt/tools` - this directory is being
subsumed entirely into xpcom/reflect/xptinfo.
2. Most of the code in xpcom/reflect/xptinfo, it is being rewritten to avoid
allocating and contain all of the necessary data structures.
3. idl-parser's typelib.py XPT generator, as it will be replaced.
4. Most includes of files which have been deleted.

NOTE: xpcom/typelib/xpt/tools/xpt.py was not removed, as it is used by bundling
code & bundling tests, which we don't want to remove yet.
2018-04-17 19:20:50 -04:00
Csoregi Natalia cc8f2c09f1 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-18 01:39:35 +03:00
Shane Caraveo da4c5b3b35 Bug 1450565 use GET for initial authorization request, r=mossop
MozReview-Commit-ID: 70PQSeoxvOF

--HG--
extra : rebase_source : e35e5f5d9e3cea22776078ffdb3085ffe61ba99e
2018-04-17 10:06:13 -05:00
Kris Maglione 0f40271841 Bug 1453881: Part 1a - Automatically write add_task(function*) to add_task(async function) r=ochameau
This was done using the script at:

bc5629735d/processors/add-task-async.jsm?at=default&fileviewer=file-view-default

MozReview-Commit-ID: KxuS9Cen87

--HG--
extra : rebase_source : c0028e0cd55ba1643610cd30c55c6f4bca7d6e58
extra : histedit_source : ebc84fdec9c2db6176632d62de4e7bdad2a7829d
2018-04-12 21:10:04 -07:00
Tom Prince c8c9d47e92 Bug 1436662: Package translated uninstaller; r=pike,mshal
The uninstaller was being built as a side-effect of building `setup.exe`. In
Bug 1385227, that was moved from "somewhere" to part of the windows installer
packaging, which happens after the zip and mar are generated. Since the
installer we ship is actually repackaged from the zip[1], we stopped shipping
translated uninstallers.

This changes things around so that the uninstaller gets translated:
- Explicitly build the uninstaller as part of the L10n repack step.
- Use the same logic to build the installer locally as we do to create the ones
  we ship.

[1] Except on Thunderbird

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

--HG--
extra : rebase_source : 05fe935c1d2a9fbfeef786819bfe5913ed8ef862
extra : source : d6bf22099e2195dcb64c3c3d7700d3edd0850a3a
2018-04-16 12:49:53 -06:00
Brindusan Cristian 34b33a520a Backed out 2 changesets (bug 1436662) for build bustages on /installer/windows. CLOSED TREE
Backed out changeset fcb756834abb (bug 1436662)
Backed out changeset d6bf22099e21 (bug 1436662)
2018-04-17 19:08:21 +03:00
Tom Prince cdf80aa336 Bug 1436662: Package translated uninstaller; r=pike,mshal
The uninstaller was being built as a side-effect of building `setup.exe`. In
Bug 1385227, that was moved from "somewhere" to part of the windows installer
packaging, which happens after the zip and mar are generated. Since the
installer we ship is actually repackaged from the zip[1], we stopped shipping
translated uninstallers.

This changes things around so that the uninstaller gets translated:
- Explicitly build the uninstaller as part of the L10n repack step.
- Use the same logic to build the installer locally as we do to create the ones
  we ship.

[1] Except on Thunderbird

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

--HG--
extra : rebase_source : 2b28b9ff7196d12f4a188c8dddf750b9a5efac5b
extra : histedit_source : 9bc28891950ae8c226cfdefef6f8121ce0b51f58
2018-04-16 12:49:53 -06:00
Gijs Kruitbosch 290fc5ad94 Bug 1454563 - actually add real fallback from profile to appdir blocklist if loading the profile one fails, r=kmag
MozReview-Commit-ID: AbRLwACqrzU

--HG--
extra : rebase_source : e466bcb7990ef0249354047e30b2a943f54df784
2018-04-17 23:56:45 +01:00
Marco Bonardo b00d20562d Bug 1453580 - Remove promiseFaviconLinkUrl and fix its consumers. r=Gijs
MozReview-Commit-ID: GrY8s3l71Mp

--HG--
extra : rebase_source : e8a1adb7c1004eaefddc42d12048d445eecd6530
2018-04-16 18:24:06 +02:00
David Keeler 70a3575ade bug 1454504 - use a more performant API to find a root certificate in CertUtils.checkCert r=kmag,mossop
nsIX509Cert.issuer performs synchronous certificate verification and isn't even
guaranteed to return a verified result. Luckily we can replace this with
nsISSLStatus.succeededCertChain, which contains the already-verified certificate
chain of the connection we're interested in.

MozReview-Commit-ID: I8jPDVlUOvf

--HG--
extra : rebase_source : cb426a250946aa92172a077dc9ccf708304af846
2018-04-16 15:19:51 -07:00
Julian Descottes bf5ac484c7 Bug 1454314 - fix notification email lists in Scalars.yaml;r=chutten
MozReview-Commit-ID: JEbV2CoK7X5

--HG--
extra : rebase_source : 4646e4eda37c07dc29c7cec038cfde434f9c5cfb
2018-04-17 12:08:32 +02:00
Jan Horak bda48ed89f Bug 1411589 - Export ShouldUseFlatpakPortal(); r=stransky
We need to detect the flatpak environment on multiple places.
Making the ShouldUseFlatpakPortal() exported to the nsIGIOService
allows us to reuse it.

MozReview-Commit-ID: 41NJyR3fqZQ

--HG--
extra : rebase_source : 4ebb9ba2ff98d3c6d924223485e028929eb801ed
2018-03-08 17:39:59 +01:00
Jason 085461bc6c Bug 1442441 - Removed the content notation from the MEMORY_DISTRIBUTION_AMONG_CONTENT prop's record_in_processes field; r=chutten
MozReview-Commit-ID: 9PWKG7svn72

--HG--
extra : rebase_source : 42ad5f0cf8477e44cc26ad195dfa944717815ea7
2018-04-16 22:12:23 -04:00
Michael Calabrese 6d9521886f Bug 1450098 - Rewrote part of TelemetryScalars' internal_LogScalarError to use nsPrintfCString and defined variables instead of constants; r=Dexter
MozReview-Commit-ID: 7UcLZEk0HCI

--HG--
extra : rebase_source : 6467ab4802b79cc1d2a551b3fee4c9f9b842169a
2018-04-16 17:17:53 -04:00
Brindusan Cristian 25a0c6dc80 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-17 13:09:40 +03:00
Brindusan Cristian 667fae7dc8 Merge inbound to mozilla-central. a=merge 2018-04-17 12:53:33 +03:00
Andrew Swan 68d8f5e967 Bug 1331521 Remove about:newaddon r=kmag
MozReview-Commit-ID: 6OFXGYEmSmy

--HG--
extra : rebase_source : 80ee72c190a2b2d06b895ad5bda22cc9b5849b01
2018-04-16 14:11:10 -07:00
Matthew Noorenberghe 8aaf8d951a Bug 1428472 - Default to the selected shipping address on the "add basic card" screen. r=jaws
MozReview-Commit-ID: Hx4AHqiTapn

--HG--
extra : rebase_source : a5ab0487d554ed906eb20e93a2d42de218a9293d
2018-04-13 17:25:13 -07:00
shindli 805cb19c1d Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-17 01:45:58 +03:00
shindli ef69fa90f1 Backed out changeset 4a72193c7fb1 (bug 1428472) for bc7 and TV failures on a CLOSED TREE 2018-04-17 00:37:45 +03:00
Jan-Erik Rediger 9c0b797add Bug 1443615 - Remove legacy Telemetry component `TelemetryLog`. r=chutten
--HG--
extra : source : ba89b2464447228f4f8c4679a78f23d84ebe1e2b
2018-04-09 01:46:00 -04:00
Narcis Beleuzu 72df6941d4 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-04-16 01:28:00 +03:00
Jim Chen 48885775a4 Bug 1452200 - 1b. Add template literal support to Log.jsm; r=markh
Make Log.jsm functions support tagged template literals. For example,
instead of |logger.debug("foo " + bar)| or |logger.debug(`foo ${bar}`)|,
you can now use |logger.debug `foo ${bar}`| (without parentheses).

Using tagged template literals has the benefit of less verbosity
compared to regular string concatenation, with the added benefit of
lazily-stringified parameters -- the parameters are only stringified
when logging is enabled, possibly saving from an expensive stringify
operation.

This patch also fixes a bug in BasicFormatter where consecutive tokens
are not formatted correctly (e.g. "${a}${b}").

MozReview-Commit-ID: 9kjLvpZF5ch

--HG--
extra : rebase_source : ccf4e9fae9fa9ea7581de82296035fcc736ca58e
2018-04-15 14:53:28 -04:00
Jim Chen 2eb44a3425 Bug 1452200 - 1a. Add AndroidAppender for Log.jsm; r=markh
Add an AndroidAppender that lets Log.jsm output to the Android logs,
using AndroidLog.jsm. Because the Android logging system keeps track of
the log metadata (time/level/name) separately from the log message, the
patch also adds a separate AndroidFormatter that does not prepend the
metadata to the log message itself.

MozReview-Commit-ID: C9oBbgVQOEc

--HG--
extra : rebase_source : eb1e8622b059ee45b574830426194ea35643b37c
2018-04-15 14:53:28 -04:00
Gurzau Raul 3cfe9af000 Backed out 2 changesets (bug 1452618) for frequently failing mochitest on Android on a CLOSED TREE
Backed out changeset 5bf3bfedd867 (bug 1452618)
Backed out changeset fdcb9f2ec9d9 (bug 1452618)
2018-04-15 13:12:56 +03:00
Gijs Kruitbosch 95b991b77b Bug 1452618 - make getAddonBlocklistEntry asynchronous, r=kmag
MozReview-Commit-ID: 4Kpx7M57404

--HG--
extra : rebase_source : 6c5a242b40288703fb424e81ea701eeba3c71a27
2018-04-09 16:00:38 +01:00
Gijs Kruitbosch a7f6ba42a1 Bug 1452618 - track force-disabling things so we don't accidentally re-enable them by using `isUsableAddon` later, r=kmag
MozReview-Commit-ID: B7ZAw04cVaZ

--HG--
extra : rebase_source : f5349905640c1c7403c11df9370f9a38c1d35584
2018-04-13 15:01:05 +01:00
Gurzau Raul bd326a2a6b Backed out 5 changesets (bug 1452200) for mochitest-chrome failures on Android on a CLOSED TREE
Backed out changeset ed07fb947b5e (bug 1452200)
Backed out changeset b03e9dc6ecd7 (bug 1452200)
Backed out changeset e4cdad2cd3d2 (bug 1452200)
Backed out changeset 8ac249bdc772 (bug 1452200)
Backed out changeset 225bb7ed5f71 (bug 1452200)
2018-04-15 09:19:04 +03:00
Kris Maglione 44ae2b5cde Bug 1420908: Remove telemetry experiments. r=gfritzsche
MozReview-Commit-ID: 6KEEZ6nKXrU

--HG--
extra : rebase_source : aeb2f66e7ffdba6ac438aaa3fee69b133d2fa2fd
extra : histedit_source : 15eaed2f9013357732660f8b63c28af13abbd870
2018-04-03 15:17:13 -07:00
Andrew Swan 9a813802d3 Bug 1450801 Part 2: Remove AddonManager support for telemetry experiments. r=kmag
MozReview-Commit-ID: FkQd7Ia5Tv4

--HG--
extra : rebase_source : 21ca3916b88492bc6d998673cdeaac4140cfb8f4
extra : histedit_source : c84a3ee00b4edf6c9b96fba8545f18ed12093222
2018-04-02 14:42:56 -07:00
Andrew Swan a46219a92b Bug 1450801 Part 1: Remove front-end (about:addons) support for telemetry experiments. r=kmag
MozReview-Commit-ID: 9J4cPZxG2z0

--HG--
extra : rebase_source : 94ea557ac66d0383421054d085c592acb7d46fec
extra : histedit_source : f8e35b9f477d046e4a1ccff8d16090f45b5d9e46
2018-04-02 14:37:55 -07:00
Kris Maglione 8d542eec0b Bug 1365021: Re-enable test_bootstrap.js. r=aswan
MozReview-Commit-ID: 3mVk24FQC2M
2018-04-14 12:11:31 -07:00
Noemi Erli 1b65998665 Merge inbound to mozilla-central. a=merge 2018-04-14 12:49:03 +03:00
Andreea Pavel bbd8c5be30 Merge mozilla-central to mozilla-inbound. a=backout 2018-04-14 04:10:28 +03:00