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

2922 Коммитов

Автор SHA1 Сообщение Дата
Gabriele Svelto f7b311b4a9 Bug 1547698 - Remove unused IPC methods for taking minidumps r=froydnj
This removes the XRE_TakeMinidumpForChild() which does not need to be
exposed anymore in the XUL API as well as
IToplevelProtocol::TakeMinidump() which was simply unused.

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

--HG--
extra : moz-landing-system : lando
2019-05-14 14:06:19 +00:00
Aaron Klotz 5e07872f52 Bug 1550544: Clean up untrusted module evaluator; r=agashlin
This patch takes care of two things:

1) It changes the module evaluator such that, if a binary is signed but the
   cert is neither Microsoft's nor ours, the binary is automatically
   disqualified.

2) General cleanup. Use nsIFile::Contains instead of StringBeginsWith for
   checking path containment. Better OO.

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

--HG--
extra : moz-landing-system : lando
2019-05-15 19:38:34 +00:00
Martin Stransky 72f8b4fbe9 Bug 1550658 - [Linux/Gtk] Don't use Wayland display in content process when it's disabled in chrome, r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D30724

--HG--
extra : moz-landing-system : lando
2019-05-13 11:19:41 +00:00
Gijs Kruitbosch c14acdeadd Bug 1548941 - remove e10s force-enable and force-disable prefs, and on desktop restrict 'normal' e10s pref to automation and unofficial builds, r=bholley,ahal
Differential Revision: https://phabricator.services.mozilla.com/D29892

--HG--
extra : moz-landing-system : lando
2019-05-09 21:55:46 +00:00
Andreea Pavel 0a95eec6ae Backed out changeset 4e2250bbaed3 (bug 1548941) for failing test_gpuprocess.js on a CLOSED TREE 2019-05-08 22:55:45 +03:00
Gijs Kruitbosch 65eb7a47aa Bug 1548941 - remove e10s force-enable and force-disable prefs, and on desktop restrict 'normal' e10s pref to automation and unofficial builds, r=bholley,ahal
Differential Revision: https://phabricator.services.mozilla.com/D29892

--HG--
extra : moz-landing-system : lando
2019-05-08 15:56:53 +00:00
Haik Aftandilian 45bb7b8823 Bug 1546544 - Enable TCSM r=asuth,spohl,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D29046

--HG--
extra : moz-landing-system : lando
2019-05-07 22:16:14 +00:00
arthur.iakab 62df572c1c Backed out 2 changesets (bug 1546544) for causing mochitest-chrome test failures on automation.py CLOSED TREE
Backed out changeset d4b67960c0f9 (bug 1546544)
Backed out changeset fda45db5f8e9 (bug 1546544)
2019-05-07 05:38:37 +03:00
Dorel Luca e477770b22 Backed out changeset 5d97da3c65b5 (bug 1548941) for Valgrind failure 2019-05-07 02:36:13 +03:00
Gijs Kruitbosch 17fc92a0ff Bug 1548941 - remove e10s force-enable and force-disable prefs, and on desktop restrict 'normal' e10s pref to automation and unofficial builds, r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D29892

--HG--
extra : moz-landing-system : lando
2019-05-03 23:07:01 +00:00
Haik Aftandilian cd1c25bb79 Bug 1546544 - Enable TCSM r=asuth,spohl,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D29046

--HG--
extra : moz-landing-system : lando
2019-05-06 06:09:10 +00:00
Gurzau Raul 0068b9927d Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-03 01:17:27 +03:00
Aaron Klotz 0684e256c4 Bug 1548324: Improve implementation of force-launcher in the launcher process; r=mhowell
This patch replaces the quick-n-dirty implementation of -force-launcher with
one that makes LauncherRegistryInfo aware of that state, thus correctly setting
the affected registry values.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 20:56:43 +00:00
Aaron Klotz 0e9bf00f2f Bug 1543807 - Part 1: Modify launcher process telemetry to be gated on datareporting.healthreport.uploadEnabled; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D29543

--HG--
extra : moz-landing-system : lando
2019-05-01 20:58:55 +00:00
Sylvestre Ledru e226046cb8 Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
# ignore-this-changeset

Depends on D28954

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

--HG--
extra : moz-landing-system : lando
2019-05-01 08:47:10 +00:00
Geoff Lankow db8a35c1de Bug 1482809 - Move non-browser-specific parts of browser/components/enterprisepolicies to toolkit r=mkaply,Felipe
Differential Revision: https://phabricator.services.mozilla.com/D28309

--HG--
rename : browser/components/enterprisepolicies/EnterprisePolicies.js => toolkit/components/enterprisepolicies/EnterprisePolicies.js
rename : browser/components/enterprisepolicies/EnterprisePolicies.manifest => toolkit/components/enterprisepolicies/EnterprisePolicies.manifest
rename : browser/components/enterprisepolicies/EnterprisePoliciesContent.js => toolkit/components/enterprisepolicies/EnterprisePoliciesContent.js
rename : browser/components/enterprisepolicies/WindowsGPOParser.jsm => toolkit/components/enterprisepolicies/WindowsGPOParser.jsm
rename : browser/components/enterprisepolicies/macOSPoliciesParser.jsm => toolkit/components/enterprisepolicies/macOSPoliciesParser.jsm
rename : browser/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm => toolkit/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js
rename : browser/components/enterprisepolicies/tests/browser/config_broken_json.json => toolkit/components/enterprisepolicies/tests/browser/config_broken_json.json
extra : moz-landing-system : lando
2019-04-30 16:01:06 +00:00
Gurzau Raul f1e0f0ddf1 Backed out changeset 28b3bd8e5018 (bug 1482809) for using the wrong author.
--HG--
rename : toolkit/components/enterprisepolicies/EnterprisePolicies.js => browser/components/enterprisepolicies/EnterprisePolicies.js
rename : toolkit/components/enterprisepolicies/EnterprisePolicies.manifest => browser/components/enterprisepolicies/EnterprisePolicies.manifest
rename : toolkit/components/enterprisepolicies/EnterprisePoliciesContent.js => browser/components/enterprisepolicies/EnterprisePoliciesContent.js
rename : toolkit/components/enterprisepolicies/WindowsGPOParser.jsm => browser/components/enterprisepolicies/WindowsGPOParser.jsm
rename : toolkit/components/enterprisepolicies/macOSPoliciesParser.jsm => browser/components/enterprisepolicies/macOSPoliciesParser.jsm
rename : toolkit/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm => browser/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm
rename : toolkit/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js => browser/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js
rename : toolkit/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js => browser/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js
rename : toolkit/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js => browser/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js
rename : toolkit/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js => browser/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js
rename : toolkit/components/enterprisepolicies/tests/browser/config_broken_json.json => browser/components/enterprisepolicies/tests/browser/config_broken_json.json
2019-04-30 18:54:43 +03:00
Magnus Melin a032a45a18 Bug 1482809 - Move non-browser-specific parts of browser/components/enterprisepolicies to toolkit r=mkaply,Felipe
Differential Revision: https://phabricator.services.mozilla.com/D28309

--HG--
rename : browser/components/enterprisepolicies/EnterprisePolicies.js => toolkit/components/enterprisepolicies/EnterprisePolicies.js
rename : browser/components/enterprisepolicies/EnterprisePolicies.manifest => toolkit/components/enterprisepolicies/EnterprisePolicies.manifest
rename : browser/components/enterprisepolicies/EnterprisePoliciesContent.js => toolkit/components/enterprisepolicies/EnterprisePoliciesContent.js
rename : browser/components/enterprisepolicies/WindowsGPOParser.jsm => toolkit/components/enterprisepolicies/WindowsGPOParser.jsm
rename : browser/components/enterprisepolicies/macOSPoliciesParser.jsm => toolkit/components/enterprisepolicies/macOSPoliciesParser.jsm
rename : browser/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm => toolkit/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js
rename : browser/components/enterprisepolicies/tests/browser/config_broken_json.json => toolkit/components/enterprisepolicies/tests/browser/config_broken_json.json
extra : moz-landing-system : lando
2019-04-30 15:38:22 +00:00
Gijs Kruitbosch 0094c57bf2 Bug 1547756 - remove support for -register commandline flag because it's bogus in 2019, r=froydnj
Apparently introduced by bryner back in 2002, and refactored numerous times without too much scrutiny, this:
- presumably was there for binary components (which are no longer supported)
- or external (add-on) restart-required components (ditto)
- or really any non-builtin components (ditto)
- and would presumably at one point store data somewhere... except that's kinda hard without a profile.
- seems to have never been documented, as far as I can tell.

So let's remove it.

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

--HG--
extra : moz-landing-system : lando
2019-04-29 18:24:32 +00:00
Sylvestre Ledru 96da5036ad Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-04-28 09:30:05 +00:00
Julien Cristau b0b0ebea7e Bug 1531789 - skip browser_checkdllblockliststate.js on win-ccov. r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D28803

--HG--
extra : moz-landing-system : lando
2019-04-26 16:27:48 +00:00
Oana Pop Rus c39500b97e Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-04-26 01:20:21 +03:00
Emilio Cobos Álvarez 2b46634961 Bug 1546329 - Remove dead skins code. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com//D28459
2019-04-25 14:00:06 +02:00
Sylvestre Ledru a1dce6440a Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-04-22 16:35:03 +00:00
Yuri b1876ebe35 Bug 1542316: Allow new instances to be launched if the path to the application bundle is different than currently running instances on macOS. r=spohl 2019-04-25 11:46:31 -04:00
Dave Townsend 2f0f64f3fb Bug 1529879: Block changing the profile list when another process has changed it. r=froydnj,Gijs,flod
On startup we record the size and modified time of the profile lists. If
changed we refuse to flush any new changes to disk. Also adds a getter to check
if they've changed so the UI can do something sensible.

All attempts to flush are now checked for success. In some cases in early
startup the failure mode isn't great, we just quit startup. The assumption
though is that it's extremely unlikely that the files will have changed on disk
in the time between when they are read and when profile selection occurs, likely
less than a second later.

The profile reset flow is changed to only delete the old profile and flush once
all the migration has completed, so if something fails the user gets back to
their old profile.

In testing I ended up having to fix bug 1522584 so background file deletions on
a background thread are safer.

I haven't implemented any UI tests right now since making modifications to the
profiles means modifying the actual user's profiles which I'm not keen to do.
See bug 1539868.

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

--HG--
extra : rebase_source : b9fb01c5f2faaf7d534800b700bb02b8c88af023
extra : source : ad5ac4d5c8f7240809a205be2960924813f1e705
2019-03-05 12:51:44 -08:00
Brian Grinstead ede8c44ef2 Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky
This excludes dom/, otherwise the file size is too large for phabricator to handle.

This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 2` argument.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 03:50:44 +00:00
Aaron Klotz 1a74deabad Bug 1503538: Part 3 - Changes to NativeNt and ImportDir to allow for blocking injected static DLL dependencies; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D27145

--HG--
extra : moz-landing-system : lando
2019-04-12 19:58:01 +00:00
Doug Thayer 2d3776cd66 Bug 1538279 - Only readahead DLLs in parent process r=glandium
There shouldn't be any need to do this for content processes as
the DLL should already be in the system file cache.

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

--HG--
extra : moz-landing-system : lando
2019-04-13 18:46:13 +00:00
Sylvestre Ledru 7f60810d86 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-04-12 13:14:25 +00:00
Cosmin Sabou c64f16b342 Backed out 3 changesets (bug 1538279) for mass test failures. CLOSED TREE
Backed out changeset af07f58d18cc (bug 1538279)
Backed out changeset 508ee4cf9ea2 (bug 1538279)
Backed out changeset 6f2e7c819c11 (bug 1538279)
2019-04-12 07:47:53 +03:00
Doug Thayer 13a4a8518f Bug 1538279 - Only readahead DLLs in parent process r=glandium
There shouldn't be any need to do this for content processes as
the DLL should already be in the system file cache.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 02:17:48 +00:00
Mike Hommey d452755d02 Bug 1542996 - Remove duplicate component registration. r=kmag
Bug 1478124 and bug 1524687 converted many things to static xpcom
component registration, but somehow left the corresponding C++
initialization.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 18:58:49 +00:00
Mike Hommey 071a2fe984 Bug 1541792 - Replace linker magic with manual component registration. r=froydnj
Before bug 938437, we had a rather large and error-prone
nsStaticXULComponents.cpp used to register all modules. That was
replaced with clever use of the linker, which allowed to avoid the mess
that maintaining that file was.

Fast forward to now, where after bug 1524687 and other work that
preceded it, we have a much smaller number of remaining static xpcom
components, registered via this linker hack, and don't expect to add
any new ones. The list should eventually go down to zero.

Within that context, it seems to be the right time to get rid of the
magic, and with it the problems it causes on its own.

Some of those components could probably be trivially be converted to
static registration via .conf files, but I didn't want to deal with the
possible need to increase the number of dummy modules in XPCOMInit.cpp.
They can still be converted as a followup.

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

--HG--
extra : moz-landing-system : lando
2019-04-05 02:30:56 +00:00
Aaron Klotz 7dc9ef4c4d Bug 1541130: Add XRE_GetChildProcBinPathType to nsXULAppAPI.h; r=froydnj,jld
The binary path type of a particular content process is useful information
outside of IPC. Given that `XRE_EnableSameExecutableForContentProc` already
exists, and given that the binary path type is closely related to
`GeckoProcessType`, I've added a new function, `XRE_GetContentProcBinPathType`.

The mapping of process type to binary type has been moved to the
`GeckoProcessTypes` definitions.

This patch also modifies `ipc::GeckoChildProcessHost` to call into the new
function.

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

--HG--
extra : moz-landing-system : lando
2019-04-08 20:19:51 +00:00
Andreas Tolfsen 32c351567c bug 1542836: toolkit/xre: format --MOZ_LOG and --MOZ_LOG_FILE help text; r=erahm
Produces a help text that conforms to the line width recommendations
of nsICommandLine.

On the other hand, the formatting of the source code itself is
rendered rather ugly by clang-format.

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

--HG--
extra : moz-landing-system : lando
2019-04-08 19:30:44 +00:00
Ciure Andrei dc0b2df589 Backed out 3 changesets (bug 1541130) for causing GeckoChildProcessHost.cpp build bustages CLOSED TREE
Backed out changeset 656108173cde (bug 1541130)
Backed out changeset 5914a425bc67 (bug 1541130)
Backed out changeset 8ef30ebad16c (bug 1541130)
2019-04-08 22:54:57 +03:00
Aaron Klotz dd69e6bdd5 Bug 1541130: Follow-up: Add missing parts that had been stripped out during rebase; r=froydnj, jld on a CLOSED TREE
--HG--
extra : histedit_source : 2849ecff69e5b362ac2565552e101c542b47f696
2019-04-08 12:55:55 -06:00
Ludovic Hirlimann c6e921c5bf Bug 1539768 - remove unecessary check for crashreporter-ovevrride.ini during startup r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D25210

--HG--
extra : moz-landing-system : lando
2019-04-05 10:41:56 +00:00
Ciure Andrei 58c8915ecd Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-04-04 00:57:38 +03:00
Dave Townsend 4ab7a3401f Bug 1533077: Remove nsIAppStartup.eRestartNotSameProfile r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D22345

--HG--
extra : moz-landing-system : lando
2019-04-03 15:24:59 +00:00
Yuri 855391b12d Bug 1540821: Accept `--no-remote` as equivalent of `-no-remote` and `--headless` as equivalent of `-headless` command line arguments on macOS. r=spohl 2019-04-03 10:19:59 -04:00
Jed Davis 65bfb7a861 Bug 1516325. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D22638

--HG--
extra : moz-landing-system : lando
2019-03-23 10:25:18 +00:00
Jim Mathies ad9b0890dd Bug 1539577 - Avoid calling InitUIThread when native event processing is turned off. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D25233

--HG--
extra : moz-landing-system : lando
2019-04-01 08:13:11 +00:00
shindli 0205efa9c3 Backed out changeset 3719f1901ffe (bug 1529125) for mda assertion failures CLOSED TREE 2019-04-01 14:37:07 +03:00
Greg Tatum e4b47b7906 Bug 1529125 - Add IOInterposerInit to the initialization of content processes; r=froydnj
Add an RAII guarded initialization for the IO interposer to the
initialization process for content processes. This ensures that whenever
a content process uses the IOInterposer, that it will correctly catch
all registered threads, and will not miss any.

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

--HG--
extra : moz-landing-system : lando
2019-03-01 22:18:14 +00:00
Sylvestre Ledru ef0bfc3822 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-03-31 15:12:55 +00:00
Masatoshi Kimura 26437cdd14 Bug 1528963 - Attach console before launching child. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D23807

--HG--
rename : toolkit/xre/nsNativeAppSupportWin.cpp => widget/windows/WindowsConsole.cpp
extra : moz-landing-system : lando
2019-03-29 18:05:03 +00:00
Yuri c56af5ef69 Bug 469990: Allow command line arguments to be handed off from a new Firefox/Thunderbird process to an existing one when necessary. r=spohl 2019-03-28 15:00:17 -04:00
Haik Aftandilian ae8b138790 Bug 1525086 - Part 3a - Move sandbox param logic to GeckoChildProcessHost and MacSandboxInfo to be more reusable r=Alex_Gaynor
Move sandbox early start logic to GeckoChildProcessHost.

Move sandbox CLI param logic into MacSandboxInfo.

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

--HG--
extra : moz-landing-system : lando
2019-03-28 02:25:52 +00:00