Commit Graph

968 Commits

Author SHA1 Message Date
Tooru Fujisawa
c02226a3b8 Bug 1153978 - Part 0: Separate nsIPlatformInfo from nsIXULAppInfo. r=jst,gps 2016-02-04 06:12:45 +09:00
Bob Owen
60b9791993 Bug 1256992: Initialize Windows sandbox BrokerServices before any child processes are created. r=aklotz, r=bholley 2016-03-22 07:40:03 +00:00
Felipe Gomes
4c984a2949 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
c123a648b8 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
8bdab4404f Bug 1187270 - Add Telemetry session ID to crash annotations, r=gfritzsche
MozReview-Commit-ID: GwVI0dfsT4H
2016-03-14 09:31:19 -04:00
Daniel Holbert
ca38f91a55 backout d85b18faba72 (bug 1187270) for build bustage. 2016-03-15 15:51:56 -07:00
Benjamin Smedberg
b97feb5d63 Bug 1187270 - Add Telemetry session ID to crash annotations, r=gfritzsche
MozReview-Commit-ID: GwVI0dfsT4H
2016-03-14 09:31:19 -04:00
Jim Mathies
a6a7ee58cc 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
e64b5bda15 Bug 1254774 - error: member access into incomplete type 'nsIUUIDGenerator' after bug 1237847. r=aklotz 2016-03-09 08:46:03 -05:00
Aaron Klotz
af72ed4dc8 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
2016-03-08 11:02:27 -08:00
Aaron Klotz
21a7f4f6b7 Bug 1240315: Add startup crash report annotation for AppInit_DLLs; r=jimm 2016-01-16 14:09:28 -07:00
Haik Aftandilian
816f0a824e 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
2016-02-25 15:26:13 -08:00
Felipe Gomes
02ef522b38 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
2ecd0c10b2 Bug 1250602 - remove ENABLE-TESTS from toolkit/xre/nsAppRunner.cpp. r=BenWa
MozReview-Commit-ID: 5vN0ZGXsn9f
2016-02-23 11:15:08 -08:00
Felipe Gomes
017583915a 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
Mike Hommey
381c4a715f Bug 1246881 - Generate a header defining MOZ_BUILDID. r=mshal 2016-02-12 07:15:55 +09:00
Mike Hommey
b68e7fa556 Bug 1246874 - Unify GRE_BUILDID and MOZ_APP_BUILDID at the build system level. r=mshal 2016-02-10 07:39:30 +09:00
Felipe Gomes
9680c77bb5 Bug 1230196 - Allow release channel to run e10s. r=billm 2016-02-05 13:27:12 -02:00
Felipe Gomes
9c29fe6f12 Bug 1243882 - Block e10s for locales based on Firefox's locale, not the OS. r=ehsan 2016-02-02 21:13:26 -02:00
Kyle Huey
e95edb30a9 Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Bob Owen
d42d365f85 Bug 1165818: Remove temporary Nightly only MozTemp-* clean-up code. r=jimm 2016-01-27 11:00:09 +00:00
Felipe Gomes
b97108406a Bug 1241959 - Add a description of e10s blocked status to about:support. r=jimm 2016-01-22 14:42:30 -08:00
Wes Kocher
37a85dc6cb Backed out changeset e7cfbfa5847c (bug 1241959) for browser_Troubleshoot.js failures 2016-01-22 14:42:04 -08:00
Felipe Gomes
08a69320d1 Bug 1241959 - Add a description of e10s blocked status to about:support. r=jimm 2016-01-22 17:34:29 -02:00
Gabor Krizsanits
070bf504e5 Bug 1234675 - Ability to disable e10s for users with addons. r=Mossop 2016-01-22 10:10:17 +01:00
Felipe Gomes
cee46f51e6 Bug 1241294 - Update E10S_AUTOSTART_STATUS telemetry probe (and rename it to E10S_STATUS). r=vladan 2016-01-20 21:06:04 -02:00
Felipe Gomes
7e93154744 Bug 1234673 - Avoid users from locales ar, fa, he, ur for e10s rollout to beta. r=jimm 2016-01-20 21:04:57 -02:00
Felipe Gomes
9b71f81dc4 Bug 1239520 - Enabled e10s on all configurations except release. r=billm 2016-01-14 16:37:55 -02:00
brendan
e561385bd8 Bug 1111701 - Remove E10S_AUTOSTART histogram. r=dexter 2016-01-12 13:50:38 -05:00
Martin Stransky
09e645bd8a Bug 1215078 - [Wayland] Configure display for Wayland session. r=karlt 2016-01-08 01:25:00 -05:00
Arthur Edelstein
fb34d0ff99 Bug 867501 - Pref allows JS locale to be set to US English/C. r=khuey 2015-12-29 13:56:00 +01:00
Kearwood (Kip) Gilbert
79b10bf4fa Bug 1182048 - Part 1: Allow e10s to be enabled,r=vlad
- Removed code that disabled e10s when the dom.vr.enabled pref was
  set to true.
2015-09-17 14:23:07 -07:00
Nigel Babu
97d918dfb2 Backed out changeset b45ee8d3233f (bug 867501) for build bustage 2015-12-29 15:28:48 +05:30
Arthur Edelstein
9e6c3fe9f6 Bug 867501 - Pref allows JS locale to be set to US English/C. r=khuey 2015-12-17 16:15:00 +01:00
Shane Caraveo
f4668a079f Bug 1233837 support migration wizard override from distribution.ini, r=bsmedberg 2015-12-21 17:18:07 -08:00
Jed Davis
1f52735346 Bug 1222500 - Handle unexpected thread creation better on desktop Linux. r=gdestuynder 2015-11-30 18:21:00 +01:00
Jim Mathies
1532973977 Bug 1198459 - Update telemetry data based on the use of the forced enable pref. r=felipe 2015-12-10 17:11:03 -05:00
Jim Mathies
9e64b0a246 Bug 1198459 - Add support for disabling e10s if a11y was run in the previous session, or run in a session over the previous week. r=felipe 2015-12-10 14:28:33 -05:00
Jim Mathies
d9b6bae33b Bug 1198459 - Prevent accessibility from initializing in content processes when e10s is running. r=tbsaunde 2015-12-10 14:28:33 -05:00
Carsten "Tomcat" Book
b9567c23fe Backed out changeset bcb4ebf6ffac (bug 1198459) for bustage 2015-12-10 11:14:27 +01:00
Carsten "Tomcat" Book
341f72ed09 Backed out changeset 4b1d470d9f98 (bug 1198459) 2015-12-10 11:14:15 +01:00
Carsten "Tomcat" Book
5e762a8a9c Backed out changeset b3a52644af28 (bug 1198459) 2015-12-10 11:14:12 +01:00
Jim Mathies
8418bc0310 Bug 1198459 - Update telemetry data based on the use of the forced enable pref. r=felipe 2015-12-09 08:56:50 -05:00
Jim Mathies
3a7250f330 Bug 1198459 - Add support for disabling e10s if a11y was run in the previous session, or run in a session over the previous week. r=felipe 2015-12-09 08:35:06 -05:00
Jim Mathies
b090745bdb Bug 1198459 - Prevent accessibility from initializing in content processes when e10s is running. r=tbsaunde 2015-12-09 08:35:06 -05:00
Milan Sreckovic
2417fb9618 Bug 634063 - Use gfxPrefs for some layers acceleration prefs. r=nical 2015-11-24 09:35:00 +01:00
Felipe Gomes
ff172cc0a9 Bug 1226487 - Allow e10s to run on Beta. r=mconley 2015-11-23 23:59:47 -02:00
Birunthan Mohanathas
ac37dec517 Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Nathan Froyd
4e6d8f6705 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Bob Owen
6e8e363d86 Bug 1207972: Move to using USER_INTERACTIVE and JOB_INTERACTIVE by default for the Windows content sandbox. r=tabraldes 2015-10-05 11:10:46 +01:00