Commit Graph

1993 Commits

Author SHA1 Message Date
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
Tooru Fujisawa
fc9cc29e33 Bug 1153978 - Part 0: Separate nsIPlatformInfo from nsIXULAppInfo. r=jst,gps 2016-02-04 06:12:45 +09:00
Bob Owen
72e4566fa4 Bug 1256992: Initialize Windows sandbox BrokerServices before any child processes are created. r=aklotz, r=bholley 2016-03-22 07:40:03 +00:00
Dave Townsend
60ecd69bb8 Bug 1257246: Fix some failures in html tests. r=gijs
We aren't intending to write to window.status here.

MozReview-Commit-ID: 7BRfgsO9NDr

--HG--
extra : rebase_source : 80bab7028668edd2f699b7ebe5b1ca1f6fb5e0a8
2016-03-16 12:32:00 -07:00
Mike Hommey
0a771514a8 Bug 1256988 - Replace tests on MOZ_WIDGET_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester
But only do that for the AC_SUBST. The AC_DEFINE is still useful.
2016-03-17 06:49:44 +09:00
Mike Hommey
7f131dbc35 Bug 1256988 - Replace tests on MOZ_ENABLE_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester 2016-03-17 06:49:44 +09:00
Felipe Gomes
cfc7a4fb43 Bug 1257242 - Improve RTL checks to actually check for RTL instead of using a hardcoded list. r=jimm
This does the much more correct check instead of relying on the list proposed in bug 1234673.

MozReview-Commit-ID: 5yRd4NhwjSd
2016-03-16 17:31:31 -03:00
Felipe Gomes
7ff0e41628 Bug 1257242 - Split the ::BrowserTabsRemoteAutostart() function into two parts, to allow for the blocking policies to be checked independently from the prefs checks. r=jimm
The behavior of ::BrowserTabsRemoteAutostart() shouldn't change, meaning that every result remains the same. The new getter can be accessed by JS through Services.appinfo.multiprocessBlockPolicy

MozReview-Commit-ID: 62PpbeJcMCI
2016-03-16 17:31:14 -03:00
Benjamin Smedberg
702c087507 Bug 1187270 - Add Telemetry session ID to crash annotations, r=gfritzsche
MozReview-Commit-ID: GwVI0dfsT4H

--HG--
extra : rebase_source : 0ae9efbce919efcd0f20314bd89848da017b7e57
2016-03-14 09:31:19 -04:00
Daniel Holbert
58e5e16c44 backout d85b18faba72 (bug 1187270) for build bustage. 2016-03-15 15:51:56 -07:00
Nicholas Nethercote
70bf1444e7 Bug 1255655 - Heap-allocate _progname. r=froydnj.
This saves almost 1 KiB per process.

--HG--
extra : rebase_source : 56e7d9451b0c647b1672dc23e6bc1117c5a20388
2016-03-11 13:51:13 +11:00
Benjamin Smedberg
42e1362b4d Bug 1187270 - Add Telemetry session ID to crash annotations, r=gfritzsche
MozReview-Commit-ID: GwVI0dfsT4H

--HG--
extra : rebase_source : fae01778b3afbe6ca9dfcf774cead01eeac50445
extra : histedit_source : 98c0c070effca99711e35b4b4c3124a9fbdba089
2016-03-14 09:31:19 -04:00
Jim Mathies
ee3a95d698 Bug 1041599 - Maintain a single volume control session between browser, content, and plugins on Windows. r=aklotz
MozReview-Commit-ID: 2LuYciKfsWn
2016-03-13 08:25:23 -05:00
Patrick Cloke
0483614806 Bug 1254774 - error: member access into incomplete type 'nsIUUIDGenerator' after bug 1237847. r=aklotz 2016-03-09 08:46:03 -05:00