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

2788 Коммитов

Автор SHA1 Сообщение Дата
Dave Townsend c92f258326 Bug 1518639: Move profile locking outside of SelectProfile. r=froydnj
So the remoting clients can know what the selected profile is before an attempt
to lock it is made we move the locking code to after the call to SelectProfile.

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

--HG--
extra : moz-landing-system : lando
2019-02-12 20:14:54 +00:00
Dave Townsend 85249bde88 Bug 1518639: Always use the same locking code when locking the profile. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D19419

--HG--
extra : moz-landing-system : lando
2019-02-12 20:14:52 +00:00
Dave Townsend bd1192ad4d Bug 1518639: Split out the profile locking attempt into its own function. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D19418

--HG--
extra : moz-landing-system : lando
2019-02-12 20:14:45 +00:00
Dave Townsend f381b7e980 Bug 1518639: Move offline command line argument handling alongside the other command line argument handling. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D19417

--HG--
extra : moz-landing-system : lando
2019-02-12 20:14:43 +00:00
Dave Townsend beb79714a9 Bug 1518639: Remove unused arguments for CheckDowngrade. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D19415

--HG--
extra : moz-landing-system : lando
2019-02-12 20:14:41 +00:00
Dave Townsend 014a32958e Bug 1518639: Hold the profile service as its concrete type. r=froydnj
We cast the nsIToolkitProfileService to nsToolkitProfileService in a bunch of
places, might as well just hold that instead.

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

--HG--
extra : moz-landing-system : lando
2019-02-12 20:14:33 +00:00
Coroiu Cristina 315837ca18 Backed out 6 changesets (bug 1518639) for build bustages at builds/worker/workspace/build/src/toolkit/xre/nsAppRunner.cpp on a CLOSED TREE
Backed out changeset 9f51da716b8a (bug 1518639)
Backed out changeset e2a0ca34bab9 (bug 1518639)
Backed out changeset 0780bd0ba2e1 (bug 1518639)
Backed out changeset 14c454f88604 (bug 1518639)
Backed out changeset 51becd44a8cb (bug 1518639)
Backed out changeset e8f1e89edf7f (bug 1518639)
2019-02-12 19:51:52 +02:00
Dave Townsend 6acd055f80 Bug 1518639: Always use the same locking code when locking the profile. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D19419

--HG--
extra : moz-landing-system : lando
2019-02-12 17:36:34 +00:00
Dave Townsend cecc89a1de Bug 1518639: Split out the profile locking attempt into its own function. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D19418

--HG--
extra : moz-landing-system : lando
2019-02-12 17:36:32 +00:00
Dave Townsend 8dd2cb39f4 Bug 1518639: Move offline command line argument handling alongside the other command line argument handling. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D19417

--HG--
extra : moz-landing-system : lando
2019-02-12 17:36:30 +00:00
Dave Townsend 2921fd9063 Bug 1518639: Remote unused mProfileName member. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D19416

--HG--
extra : moz-landing-system : lando
2019-02-12 17:36:22 +00:00
Dave Townsend cd905ce67b Bug 1518639: Remove unused arguments for CheckDowngrade. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D19415

--HG--
extra : moz-landing-system : lando
2019-02-12 17:36:20 +00:00
Dave Townsend eb44cb01c4 Bug 1518639: Hold the profile service as its concrete type. r=froydnj
We cast the nsIToolkitProfileService to nsToolkitProfileService in a bunch of
places, might as well just hold that instead.

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

--HG--
extra : moz-landing-system : lando
2019-02-12 17:36:13 +00:00
Dave Townsend f01445a07c Bug 1525262: Always show the profile missing dialog if the selected profile does not exist. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D19231

--HG--
extra : moz-landing-system : lando
2019-02-11 15:31:17 +00:00
Narcis Beleuzu b4342f1667 Backed out changeset 442a1725c992 (bug 1526328) for build bustages on Telemetry.cpp. CLOSED TREE 2019-02-11 16:27:39 +02:00
Christian Holler 67dd5df98e Bug 1526328 - Disable Telemetry recording in FUZZING builds. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D19359

--HG--
extra : moz-landing-system : lando
2019-02-11 13:54:28 +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
Chris Peterson c032c54b84 Bug 1507049 - Rename GeckoCrashOOL GeckoCrash. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D18514

--HG--
extra : rebase_source : 914b4be6452a4a9a70b41281c0c5b0da7ee03921
extra : source : 7f11397ea19118d872f1f793f3d70985af994876
2019-02-03 00:02:30 -08:00
Chris Peterson cedea8a566 Bug 1507049 - Rename MOZ_CrashOOL MOZ_Crash. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D18513

--HG--
extra : rebase_source : 00910ccc380f24a12181fef2a72d84c1170cb9fe
extra : source : d39e75533e61b315c9ee0000ea74eca3bf474f58
2019-02-03 00:00:12 -08:00
Dave Townsend 49c86a9c8b Bug 1525119: Check if this is the default install and if so lock the profile. r=froydnj
Previously we attempted to do this when XPCOM wasn't available so it always
failed to get the shell service. Instead set a flag telling us to do it later
when we choose the old default profile.

Also includes a block of code to attempt to fix the issue for existing nightly
users, this can be removed before betas.

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

--HG--
extra : moz-landing-system : lando
2019-02-05 23:14:08 +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
Robert Strong 5710e8d965 Backed out changeset 2fc5715105a2 due to bug 1524496. r=me 2019-02-02 23:01:23 -08:00
Robert Strong a13e0d21bd Bug 1524407 - Cleanup of unused and unnecessary code in nsUpdateDriver.cpp. r=mhowell 2019-01-31 22:28:50 -08:00
Robert Strong ee3e46ee12 Bug 1524366 - Revert the Linux staging code changed in bug 1524366 to fix crash [@ mozilla::ipc::MessageChannel::Close()]. r=mhowell 2019-01-31 14:42:38 -08:00
Daniel Varga 325e31df1d Merge mozilla-central to mozilla-inbound. a=merge 2019-01-31 06:30:06 +02:00
Robert Strong 12805e6a76 Bug 1168010 - Fix leaks in updater.cpp and nsUpdateDriver.cpp. r=spohl
Fixes leak where the return value of GetManifestContents in updater.cpp is not freed
Fixes leak where the return value of get_quoted_path in updater.cpp is not freed
Fixes leak in nsUpdateDriver.cpp ApplyUpdate
With these leaks fixed the UI tests that stage updates can run on Linux asan

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

--HG--
extra : moz-landing-system : lando
2019-01-30 22:39:35 +00:00
Mike Hommey e47fd6d97d Bug 1523874 - Restore the use of sqlite memory hooks. r=mak
Bug 730495 broke them by moving the code to another directory without
moving the corresponding #define, but it also fixed why this was
disabled in some configurations so we can now just enable when
MOZ_MEMORY is defined (jemalloc used).

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

--HG--
extra : moz-landing-system : lando
2019-01-30 13:00:21 +00:00
Dave Townsend 4c20bd5f4e Bug 1520530: Remove the usage of deprecated OSX APIs in nsCommandLineService. r=spohl
The addition of the Carbon.h include to CreateAppData.cpp is to ensure that
The OSX API headers are used before conflicting symbols are declared in the
mozilla namespace.

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

--HG--
rename : toolkit/xre/nsCommandLineServiceMac.cpp => toolkit/xre/nsCommandLineServiceMac.mm
extra : moz-landing-system : lando
2019-01-30 22:28:56 +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
Bob Owen c10c92ae4e Bug 1511438 Part 2: Enable win32k lockdown on RDD process. r=jimm
This stops the use of some win32k calls during start-up that will fail and in
some cases cause a crash.

It also moves the MITIGATION_DYNAMIC_CODE_DISABLE to be enabled after start-up.
This is required because the hooks to fake the user32 and gdi32 initialization
are applied as the DLLs load and the dynamic code disable blocks that.
2019-01-29 08:49:13 +00:00
Bob Owen 2f9e2d054c Bug 1511438 Part 1: Replace ProcessTypeRequiresWinEventHook with XRE_Win32kCallsAllowed. r=froydnj
ProcessTypeRequiresWinEventHook was added when attempting to turn on win32k
lockdown for GMP processes. Having a less specific, but globally accessible,
function will make it more useful while applying win32k lockdown to other
process types.
2019-01-29 08:49:13 +00:00
arthur.iakab c1fae83952 Backed out 16 changesets (bug 1478124) for failing android geckoview-junit CLOSED TREE
Backed out changeset fce62c77a56b (bug 1478124)
Backed out changeset eb2fa3b5edf7 (bug 1478124)
Backed out changeset 8dacce59fcc0 (bug 1478124)
Backed out changeset 012fd0107204 (bug 1478124)
Backed out changeset 496aaf774697 (bug 1478124)
Backed out changeset 21f4fda03159 (bug 1478124)
Backed out changeset b0444e0bc801 (bug 1478124)
Backed out changeset d94039b19943 (bug 1478124)
Backed out changeset 5d85deac61c2 (bug 1478124)
Backed out changeset 929fd654c9df (bug 1478124)
Backed out changeset 1ddd80d9e91a (bug 1478124)
Backed out changeset b8d2dfdfc324 (bug 1478124)
Backed out changeset f500020a273a (bug 1478124)
Backed out changeset dd00365ebb55 (bug 1478124)
Backed out changeset 538e40c5ee13 (bug 1478124)
Backed out changeset bedaa9c437ad (bug 1478124)
2019-01-29 10:03:06 +02:00
Martin Stransky 7c1ff93ef0 Bug 1522780 - [Wayland] Use MOZ_ENABLE_WAYLAND to enable wayland backend, r=glandium
Recently we use GDK_BACKEND to enable/disable Wayland backend. That's good for testing but bad for distro deployment.

When GDK_BACKEND is set it's propagated to child processes which may not support wayland thus they fail to run. Also when GDK_BACKEND=wayland is set Firefox fails to start when Wayland backend is not available.

To allow easy deployment let's use a specific MOZ_ENABLE_WAYLAND env which means to use a default available GTK backend (x11 or wayland) and don't fail when Wayland is missing.

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

--HG--
extra : moz-landing-system : lando
2019-01-29 09:27:05 +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
Aaron Klotz 8c0ca384fa Bug 1517637: Add launcher process state to crash report annotations; r=mhowell
Depends on D15759

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

--HG--
extra : moz-landing-system : lando
2019-01-09 23:36:38 +00:00
Nathan Froyd a9fb00a2f6 Bug 1485216 - remove Scheduler and related code from xpcom/threads; r=mccr8
Quantum DOM is no longer a priority, and the extra code it introduces to
several places block useful refactorings.
2019-01-22 20:16:56 -05: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
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
Cosmin Sabou 7ccc9d8b0b Merge mozilla-inbound to mozilla-central. a=merge 2019-01-19 11:57:49 +02:00
Greg Tatum 7042c8f1c3 Bug 1520526 - Add categories to all profiler markers; r=mstange
This commit adds categories to all markers. This way the profiler's
marker categories and frame label categories agree. There are a few
duplicate category properties on some of the marker payloads, but
this could be cleaned up in a follow-up if needed.

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

--HG--
extra : moz-landing-system : lando
2019-01-18 15:40:15 +00:00
Aaron Klotz ce3866a774 Bug 1520537: Clean up use of LauncherRegistryInfo when MOZ_LAUNCHER_PROCESS is not defined; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D16914

--HG--
extra : moz-landing-system : lando
2019-01-17 23:45:37 +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
Aaron Klotz 30c3846994 Bug 1520617: LauncherRegistryInfo - when the image timestamp changes, only avoid clearing start timestamps when force disabled; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D16752

--HG--
extra : moz-landing-system : lando
2019-01-16 22:05:54 +00:00
Aaron Klotz 651a455c89 Bug 1520537: Always export LauncherResult.h in Windows builds; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D16731

--HG--
extra : moz-landing-system : lando
2019-01-16 21:00:12 +00:00
Carl Corcoran 19fbaf478f Bug 1518798: Treat SysWOW64 the same as the system directory in the untrusted modules ping r=aklotz
Under WOW64, the SysWOW64 directory is the effective system directory. A flag
has been added (ModuleTrustFlags::SysWOW64Directory) representing this
directory, and we now grant this the same trustworthiness as
ModuleTrustFlags::SystemDirectory.

Depends on D16013

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

--HG--
extra : moz-landing-system : lando
2019-01-14 23:53:13 +00:00
Carl Corcoran 9315656cb2 Bug 1518490 Part 2/3: Measure xul.dll load duration r=aklotz
In order to help unify DLL timings across machines with different performance
characteristics, this change collects the load duration of xul.dll.

Because xul.dll is always loaded, it can serve as a control value for DLL load
times.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 22:29:28 +00:00
Carl Corcoran 63ba2c68d7 Bug 1518490 Part 1/3: Measure DLL load timings and pass into UntrustedModulesManager r=aklotz
This patch measures the duration of module loads and passes it up to
UntrustedModulesManager where, in later patches, it will be consumed by
telemetry.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 10:49:36 +00:00
Aaron Klotz 15a43729b0 Bug 1517636: Add launcher process state to about:support; r=Felipe,flod
Differential Revision: https://phabricator.services.mozilla.com/D15759

--HG--
extra : moz-landing-system : lando
2019-01-16 00:22:19 +00:00