Commit Graph

1966 Commits

Author SHA1 Message Date
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
Aaron Klotz
547732227b Bug 1236108: Modify sandbox initialization code to use directory service to obtain content process temp directory; r=bobowen,haik
The previous patch in this series creates a new directory service entry
specifically for obtaining the content process temp directory.

This patch converts everything else to reference that entry. It also sets
appropriate environment variables in the content processes so that system
APIs automatically pick up the directory. This is necessary for the crash
reporter to be able to call those APIs in exception handling contexts.

MozReview-Commit-ID: DF6aNKrWnWp

--HG--
extra : rebase_source : 3cc914f5d369dbc70f03fa4cb68a7eab0cc1be59
2016-03-08 11:02:27 -08:00
Aaron Klotz
7bd05e35b4 Bug 1236108: Add temp directory for sandboxed content processes to directory r=bsmedberg
service. This is needed so that chrome processes know where sandboxed content
processes will be writing their temp files, and so that content processes know
where to write; r?bsmedberg

MozReview-Commit-ID: BK9bTxFGvZO

--HG--
extra : rebase_source : dec290c82fb934ceadc0c9ce0cf87337aa1e8f47
2016-03-07 11:26:35 -08:00
Bob Owen
8021ceae37 Bug 1253850: On Windows change MOZ_DEBUG_CHILD_PROCESS back to JIT and add MOZ_DEBUG_CHILD_PAUSE for a 10 second pause. r=mchang 2016-03-07 17:08:15 +00:00
Aaron Klotz
183fd9cb81 Bug 1240315: Add startup crash report annotation for AppInit_DLLs; r=jimm
--HG--
extra : rebase_source : e96da444713515a12520969c34731db244d844e2
2016-01-16 14:09:28 -07:00
Bob Owen
3a8e10a239 Bug 1252889: On Windows use a 10 second pause instead of trying to invoke the JIT debugger with MOZ_DEBUG_CHILD_PROCESS. r=jimm 2016-03-03 11:09:25 +00:00
Haik Aftandilian
3cdbeb2bd6 Bug 1237847 - [e10s] Null deref crash when running test_pluginstream_newstream.html; r=bobowen
Modify the Mac sandbox to allow temporary files to be created in a
parent-specified subdirectory of NS_OS_TEMP_DIR. This is similar to the
Windows approach. The parent provides a UUID in a preference which is
used by the content process to form the subdirectory name.

MozReview-Commit-ID: 6BONpfZz8ZI

--HG--
extra : rebase_source : ad18e091918356a1a40c13f1453972b4512ad476
2016-02-25 15:26:13 -08:00
Felipe Gomes
72055b2f27 Bug 1251334 - Create a disposable pref to force-disable e10s in an emergency. r=jimm 2016-02-25 18:16:47 -03:00
Joel Maher
101eaf5c3d Bug 1250602 - remove ENABLE-TESTS from toolkit/xre/nsAppRunner.cpp. r=BenWa
MozReview-Commit-ID: 5vN0ZGXsn9f

--HG--
extra : rebase_source : cbaa47ff9419d108ce85d1d4e8f9fb3d301d3dcf
2016-02-23 11:15:08 -08:00
Felipe Gomes
2a82ecf425 Bug 1248796 - Store on Telemetry whether the e10s blocking code successfully ran. r=gftrizsche data-r=bsmedberg 2016-02-18 00:53:48 -02:00
Carsten "Tomcat" Book
b0531843fe merge mozilla-inbound to mozilla-central a=merge 2016-02-12 15:15:17 +01:00
Ryan VanderMeulen
d05085d0b5 Backed out changeset e135879cff29 (bug 1218473) to fix various Windows startup issues being experienced by some users. a=sledru
--HG--
extra : source : fd105431c25d9c6b4a265c80bfc1208ff468ea03
extra : intermediate-source : 02156c26b928dfdb8076fd09c32ba7ca311ff360
2016-02-11 13:35:48 -05:00
Carsten "Tomcat" Book
b1fb989ae0 Backed out changeset 6e4e5e584c32 (bug 1240848) for causing bug 1241921 to reappear 2016-02-11 15:12:51 +01:00
Mike Hommey
8d3026f484 Bug 1246871 - Generate platform.ini with the preprocessor instead of an ad-hoc script. r=mshal 2016-02-10 10:11:58 +09:00
Mike Hommey
5554e09add Bug 1246874 - Unify GRE_BUILDID and MOZ_APP_BUILDID at the build system level. r=mshal 2016-02-10 07:39:30 +09:00
Aaron Klotz
33ea2e8a9e Bug 1240848: Adds additional instructions to x64 detour patcher and prevents register clobbering in jmp from trampoline; r=ehsan
--HG--
extra : rebase_source : c9604e99a0741213676227cfc7f915236c6e67ee
extra : amend_source : 7f2bbe6e661ab4dffc045d24489bf40d0409b093
2016-02-03 16:21:17 -07:00
Mike Hommey
1d537257e2 Bug 1247162 - Generate a header defining MOZ_SOURCE_*. r=mshal
The behavior is not entirely idempotent (most notably for
buildconfig.html), but this can be improved later if necessary.
It is idempotent where it matters.

This allows to get rid of config/makefiles/rcs.mk and its uses.
2016-02-12 07:16:14 +09:00
Mike Hommey
520ccddd34 Bug 1241613 - Only pass MOZ_BUILDID to the one source that requires it in toolkit/xre. r=mshal
This has the side effect of hiding the define to the CompileDB backend, which
is actually wanted.
2016-02-12 07:16:05 +09:00
Mike Hommey
fd36539df9 Bug 1246881 - Generate a header defining MOZ_BUILDID. r=mshal 2016-02-12 07:15:55 +09:00
Felipe Gomes
5cae0e50dd Bug 1230196 - Allow release channel to run e10s. r=billm
--HG--
extra : commitid : 7rKp9YfaaUC
2016-02-05 13:27:12 -02:00
Mike Hommey
3b5a683483 Bug 1244997 - Remove TOOLKIT_EM_VERSION from toolkit/xre/Makefile.in. r=mshal
Bug 383167 made it obsolete 8.5 years ago, and while bug 543150 kind of
backed it out, it used GRE_MILESTONE instead of TOOLKIT_EM_VERSION.
2016-02-03 08:41:13 +09:00
Felipe Gomes
3ca7b9f357 Bug 1243882 - Block e10s for locales based on Firefox's locale, not the OS. r=ehsan 2016-02-02 21:13:26 -02:00
Phil Ringnalda
9f2e22e0ac Back out e8d8faa25955 (bug 1241111) for breaking platform.ini, a=bustage 2016-01-31 10:01:22 -08:00
Phil Ringnalda
a39d6e46e4 Merge m-c to m-i 2016-01-30 09:43:42 -08:00
Kyle Huey
91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Georg Fritzsche
23fb0b9b97 Bug 1241111 - Allow overriding SOURCE_REV_URL, SOURCE_REPO, SOURCE_CHANGESET. r=ted 2016-01-29 18:42:51 +01:00
Bob Owen
43abe7ef49 Bug 1165818: Remove temporary Nightly only MozTemp-* clean-up code. r=jimm 2016-01-27 11:00:09 +00:00
Phil Ringnalda
a747e7e178 Merge m-i to m-c, a=merge 2016-01-23 17:42:50 -08:00