Commit Graph

2006 Commits

Author SHA1 Message Date
Karl Tomlinson
39cdd7f4f6 bug 1276086 set GLib prgname in child process r=glandium
MozReview-Commit-ID: 4Neb36zGScf

--HG--
extra : rebase_source : e9abe5b1fe76997efa5f0308cb53e22acdf33f9f
2016-05-27 11:50:26 +12:00
Thomas Zimmermann
f8cbb19d49 Bug 1276185: Don't invoke |SandboxInfo::SubmitTelemetry| on Android, r=gfritzsche
The header file "mozilla/SandboxInfo.h" isn't included on Android
devices, so use its interfaces.

MozReview-Commit-ID: DJRMNsqsjLZ
2016-05-27 12:17:02 +02:00
Ryan VanderMeulen
50b634625f Merge m-c to inbound. a=merge 2016-05-26 11:22:27 -04:00
Felipe Gomes
cbfaaa6b4b Bug 1275040 - Block e10s from being activated in OS X 10.6 - 10.8 in all channels. r=jimm
MozReview-Commit-ID: HOXJgZ4b10x
2016-05-25 18:51:51 -03:00
Felipe Gomes
5dea447448 Bug 1275039 - Block e10s from being activated for release users on Windows XP. r=jimm
There's some reorganization of the code in aboutSupport to support displaying Windows XP as a string without needing to be localized, as this will require an uplift to Aurora.

MozReview-Commit-ID: IqLjEIKq0VI
2016-05-25 18:51:48 -03:00
Stephen A Pohl
a3e38b0550 Bug 1274319: Allow elevated updater and Firefox on OSX to make 10 IPC connection attempts to the unelevated updater. r=mstange 2016-05-24 22:26:15 -04:00
Stephen A Pohl
b1f4c6df2a Bug 394984: Enable any admin user on OSX to update Firefox, build config changes. r=mshal 2016-05-24 22:25:23 -04:00
Stephen A Pohl
27d8421979 Bug 394984: Enable any admin user on OSX to update Firefox, native OSX changes. r=mstange 2016-05-24 22:25:16 -04:00
Stephen A Pohl
f38b8146dd Bug 394984: Enable any admin user on OSX to update Firefox, front-end and updater changes. r=rstrong 2016-05-24 22:25:11 -04:00
Nathan Froyd
d1136fd7a9 Bug 1275548 - move OS X SharedMemoryBasic shutdown; r=billm
OS X shared memory is currently set up in XRE_InitChildProcess and torn
down in XRE_ShutdownChildProcess.  The current location of shared memory
shutdown is vulnerable to races from outstanding shared memory requests
from ImageBridge threads; if we request a new shared memory segment from
an image bridge thread after shared memory has been shutdown, we will
crash.

Despite its name, XRE_ShutdownChildProcess doesn't actually perform all
shutdown steps; it merely notifies the main run loop that it's OK to
exit, which eventually returns control to XRE_InitChildProcess.  Inside
XRE_InitChildProcess, then, is where cleanup of the content process
actually happens, and where shared memory shutdown needs to be.
2016-05-26 18:07:24 -04:00
Gian-Carlo Pascutto
e8fd20fdcf Bug 1098428 - Add Linux sandboxing information to Telemetry. r=gfritzsche
MozReview-Commit-ID: 6Un4yNzxGgg

--HG--
extra : rebase_source : fc8762b9802fab071cb194513a5ad390ae7984f3
2016-05-18 18:37:44 +02:00
Carsten "Tomcat" Book
be11014a2b Backed out changeset 767f65379fdf (bug 1098428) for causing linux crashes on a CLOSED TREE 2016-05-24 13:03:00 +02:00
Gian-Carlo Pascutto
42b1907a65 Bug 1098428 - Add Linux sandboxing information to Telemetry. r=gfritzsche
MozReview-Commit-ID: GtIPsRqq5hr

--HG--
extra : rebase_source : 6b918e5119f15536c9437c27cfee413577268b78
2016-05-18 18:37:44 +02:00
L. David Baron
d44da6b7d4 Bug 1274041 - Initialize jprof in child process. r=jesup
This makes a function call in XRE_InitChildProcess for the child process that
currently exists in XREMain::XRE_mainStartup for the parent process.

This allows signals that jprof uses to be sent to a child process to
profile that child process.

MozReview-Commit-ID: CeWnYl4LJyA
2016-05-20 19:57:31 -07:00
Felipe Gomes
21e5a502a9 Bug 1272751 - Remove block of GTK+ 3.20+ from e10s on release builds. r=jimm
MozReview-Commit-ID: FAeUxCKKmfQ

--HG--
extra : rebase_source : 5e519cf22f4607af8b3a0066c25f3097c4ea8e26
2016-05-16 14:53:44 -03:00
Bob Owen
e809e9f918 Bug 1035125 Part 9: Link Chromium sandbox into firefox.exe instead of having a separate DLL. r=aklotz,glandium
MozReview-Commit-ID: 1vgDPjpcwz3

--HG--
extra : rebase_source : 40966d98ca6c37f30884639d648907b4760ae240
2016-05-15 16:41:40 +01:00
Bob Owen
c43bf02cda Bug 1035125 Part 8: Pass sandboxing pointers through XRE_InitChildProcess instead of linking to more functions in xul. r=aklotz,glandium
MozReview-Commit-ID: 5AiktOArpfU

--HG--
extra : rebase_source : 1ba3be949e2bfeb3b67687ab05d43342852ab764
2016-05-15 16:35:22 +01:00
Bob Owen
2447fbb7fa Bug 1035125 Part 1: Back out changeset 1910714b56c6 and associated subsequent changes. r=bsmedberg
The original changeset that is being backed out had comment:
Bug 1023941 - Part 5: Loader hook to redirect the missing import.

The changes made in bug 1023941 were to work around the fact that with VS2013, msvcr120.dll imports kernel32!GetLogicalProcessorInformation, which is not available on Windows XP SP2.
In VS2015, the GetLogicalProcessorInformation requirement has moved into concrt140.dll (concurrency runtime), which we don't use.
So, now that our build infra is building with VS2015, we can remove the hooking and static runtime linking required to get the VS2013 fix to work.

In addition we need to do that to be able us to link the Chromium sandbox code into firefox.exe and get it to build and run with both VS2015 and VS2013.

MozReview-Commit-ID: 1tlXaYJ8dHH

--HG--
extra : rebase_source : 49b216e34fc5c77af96df1f67ee44c46d5368bfe
2016-05-15 16:23:56 +01:00
Chris Peterson
353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Felipe Gomes
918237b0ca Bug 1227230 - Remove all of the e10s prompting code. r=jimm
This removes all of the e10s-related prompting code, including:
- doorhanger offering to opt-in into e10s
- pref and telemetry probe used to measure the number of users who remained opted-in
- dialog that shows up when unchecking the e10s checkbox saying that a tab will open, requesting feedback
- tab opening requesting feedback
- all related strings

The checkbox in the preferences window remains (nightly/aurora only), as well as the message saying that e10s requires a restart.

The e10s accessibility doorhanger remains. and chrome://browser/skin/e10s-64@2x.png remains too because it's also used in the a11y doorhanger.

MozReview-Commit-ID: aOdvnbeHOa

--HG--
extra : rebase_source : e89cc42dddcb376bece435138611b364d3477fa8
2016-05-12 20:31:52 -03:00
Gijs Kruitbosch
88ffc8d332 Bug 1265368 - enable refresh to be used with the -p switch, r=MattN
MozReview-Commit-ID: 7LAkVljrlAS

--HG--
extra : rebase_source : d2c8e237de0809d571d83cf6658fda150863b0b3
extra : histedit_source : 5289b6c7fa764443f4c3a139cce4e4c1e7d1bc78
2016-04-18 13:46:47 +01:00
Gijs Kruitbosch
939515d3cc Bug 1265368 - enable resetting non-default profiles, r=MattN
MozReview-Commit-ID: KpW9JgghFkn

--HG--
extra : rebase_source : e1a6ce0a05ccd6ef94026c6fdeaf6421d5cffe03
extra : histedit_source : ca0ed957aa68ed495cc2d8897aae3e553dd2ebff%2C8ce1e45de095401a6cc85f912cfebacd384eb989
2016-05-05 21:38:49 +01:00
Kyle Huey
941ab1f522 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Kyle Huey
7311b10562 Bug 1268313: Part 2 - Replace some NewRunnableMethods with NS_NewNonOwningRunnableMethod. r=froydnj 2016-05-05 01:44:59 -07:00
Carsten "Tomcat" Book
dfff02b90d Backed out changeset fd833da413ad (bug 1268313)
--HG--
extra : rebase_source : f857127091900871034f44d89095895abe9932dc
2016-04-29 14:21:25 +02:00
Carsten "Tomcat" Book
ba3fe0975c Backed out changeset 85ce8cb0639a (bug 1268313)
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Kyle Huey
48a594a09e Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
Kyle Huey
72c9966484 Bug 1268313: Part 2 - Replace some NewRunnableMethods with NS_NewNonOwningRunnableMethod. r=froydnj 2016-04-28 14:08:24 -07:00
Kyle Huey
7579799b01 Bug 1266595: Replace Chromium Task with Runnable. r=froydnj 2016-04-27 17:06:05 -07:00
Gregor Wagner
acecad8f82 Bug 1267577 - Move nsRunnable to mozilla::Runnable. r=gsvelto 2016-04-27 12:05:40 +02:00
Kyle Huey
c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Felipe Gomes
ecb4d04f74 Bug 1266213 - Temporarily block users of GTK+ 3.20+ from e10s on Beta. r=jimm
MozReview-Commit-ID: 56UiL3MiiUy
2016-04-22 13:42:57 -03:00
Stephen A Pohl
1a3d3bc4a3 Bug 711670: Setup the Mac Application Delegate earlier to respond to URLs clicked in external applications when updates are pending. r=mstange 2016-04-21 16:04:59 -04:00
Stephen A Pohl
e71b7d7836 Bug 828704: Avoid duplicate -foreground argument when launching Firefox on OSX. r=mstange 2016-04-21 15:53:32 -04:00
Andrea Marchesini
909571c54d Bug 1264469 - reset the string gAbsoluteArgv0Path when the main-loop is completed, CLOSED TREE, r=me 2016-04-19 14:26:31 +02:00
Andrea Marchesini
9f18f1f8d1 Bug 1264469 - Would be nice to be able to open 2 firefox sessions with a different profiles from about:profiles, r=smaug 2016-04-19 12:00:59 +02:00
Carsten "Tomcat" Book
eae4a312af Bug 1261751 - Problems with OS X Sandboxed TempDir and Rules. r=bobowen r=gcp
--HG--
extra : amend_source : 2011128c7e5406d7865da2b24f81facf7889cb0e
2016-04-16 09:00:29 +02:00
Bob Owen
907939a278 Bug 1256992 Part 2: Move SandboxBroker Initialization earlier and add telemetry and extra null checks. r=aklotz
MozReview-Commit-ID: Fu05wLn27UG
2016-04-07 08:28:14 +01:00
George Wright
5d010a6843 Bug 1237769 - Disable e10s on Windows XP if layers acceleration is requested r=milan 2016-04-06 13:30:46 -04:00
Felipe Gomes
6fae6b4557 Bug 1260190 - Disable e10s for accessibility users on OS X. r=jimm
MozReview-Commit-ID: 35KZiKcSFqL

--HG--
extra : rebase_source : 090237eb0d6e6c6912b39ba71e8b3f6ffe31f56c
2016-04-01 15:54:33 -03:00
Ryan VanderMeulen
3cc4f321b2 Bug 1259809 - Make CrashReporter::InitChildProcessTmpDir conditional on MOZ_CRASHREPORTER. r=aklotz
--HG--
extra : rebase_source : 16866485fcef6522175c0dbee87055fb5ef1f5cc
2016-03-25 12:51:00 -04:00
Aaron Klotz
0367a22494 Bug 1256541: Fix incorrect generation of path for child process .extra files when content sandboxing is disabled; r=bsmedberg
MozReview-Commit-ID: JQgqlntQ6cu

--HG--
extra : rebase_source : a1538a2430ff1960cd2a10d646b37cfdd56986df
2016-03-16 12:35:50 -06:00
Wes Kocher
6eae4e772d Backed out changeset 0827e0e5d9d4 (bug 1256541) for timeouts and crashes in browser_CTP_crashreporting.js
MozReview-Commit-ID: 704JC6wknXc
2016-03-24 13:04:48 -07:00
Gregory Szorc
5323488dde Bug 1256027 - Coerce VS2015 into compiling without warnings; r=froydnj
End state is Waldo's original patch, which so far has been the only
version that compiles on VS2015.

MozReview-Commit-ID: FCOaEvMqYB4

--HG--
extra : rebase_source : 2ee6e5ec7578b2dedb2f57a0f6df4ce50e191d98
2016-03-24 08:53:30 -07:00
Aaron Klotz
e84e757350 Bug 1256541: Fix incorrect generation of path for child process .extra files when content sandboxing is disabled; r=bsmedberg
Since the minidump path can be overridden programmatically in the chrome
process, using that path as the base for .extra files won't work since content
is unaware of it.

This patch changes everything to use the temp path when MOZ_CONTENT_SANDBOX is
not defined or when sandboxing is disabled via pref. It also moves the derivation
of the content temp path out of exception context on Windows and Mac, as I
found out that those functions touch the heap.

I also noticed that xpcshell is not sandbox-aware when utilized as a parent
process. I've filed bug 1257098 to take care of that, but this patch includes a
hack for the immediate term.

MozReview-Commit-ID: 3SIB5Nihqxh

--HG--
extra : rebase_source : f4f83c4474f12ececa34e9dda68fc19abc56a899
2016-03-16 12:35:50 -06:00
Jeff Walden
7192c2be5a Bug 1256027 - Windows, why you gotta hate. r=scumbag-windows in a CLOSED TREE 2016-03-23 18:40:01 -07:00
Jeff Walden
3b8b70a765 Bug 1256027 - Cast a few things in varargs to the expected types for MSVC 2015 warning-compatibility. r=froydnj
--HG--
extra : rebase_source : 5caa63bb236b4840fda4f2c6bf91e987c7905195
2016-03-23 13:21:02 -07:00
Bob Owen
db4259c176 Bug 1256992: Initialize Windows sandbox BrokerServices before any child processes are created. r=aklotz, r=bholley 2016-03-23 08:10:43 +00:00
Markus Stange
8a772acd42 Bug 1068674 - Don't turn off e10s if hardware acceleration is disabled. r=jimm
MozReview-Commit-ID: 8NIUSSHy2dt

--HG--
extra : rebase_source : d34c4721af319e6f8632940a4105534f8c8c4a01
2016-03-22 15:09:24 -04:00
Carsten "Tomcat" Book
417d5d9533 Backed out changeset 0fedfd441a06 (bug 1256992) for gtest failures 2016-03-22 09:54:55 +01:00