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

516 Коммитов

Автор SHA1 Сообщение Дата
André Reinald 436338cb49 Bug 1076385 - Sandbox the content process on Mac. r=smichaud 2014-10-30 13:33:17 -05:00
Kershaw Chang 4009e7ff79 Bug 1020172 - Patch 2: Manage TabParent in chrome process - v14. r=khuey 2014-10-29 19:11:00 +01:00
Kershaw Chang e94eff7080 Bug 1020172 - Patch 1: Replace process id with ContentParentId type - v3. r=khuey 2014-10-24 02:28:00 +02:00
Bill McCloskey 69446aded5 Bug 641685 - Start plugins from the chrome process in e10s (r=bsmedberg)
This patch has a few side effects:
1. Plugins in the chrome process are "mirrored" to all content processes,
although this mirroring is currently imperfect (bug 1090576)
2. Plugins are no longer sorted by modification date in nsPluginHost.
3. Plugin exceptions are no longer propagated to JS code. They are ignored.
2014-10-29 08:05:36 -07:00
Mike Conley 5368b2ecee Bug 1082579 - Introduce PPrinting.ipdl and proxies for opening printing UI. r=blassey.
--HG--
extra : rebase_source : 69ac7840ef72055911daa0ff482236b57f563aba
2014-10-28 11:59:08 -04:00
Wes Kocher f24485360f Backed out 4 changesets (bug 1020172) for causing bug 1089542 a=backout
Backed out changeset 176ca4363517 (bug 1020172)
Backed out changeset 90714be8e689 (bug 1020172)
Backed out changeset 9d8c09e711f5 (bug 1020172)
Backed out changeset f895938013ff (bug 1020172)
2014-10-27 16:56:45 -07:00
Kershaw Chang b57883c25f Bug 1020172 - Part 2: Manage TabParent in chrome process. r=khuey 2014-10-24 02:29:00 -04:00
Kershaw Chang 040b0d19e2 Bug 1020172 - Part 1: Replace process id with ContentParentId type. r=khuey 2014-10-24 02:28:00 -04:00
Blake Kaplan 32d34b8eb5 Bug 1068811 - Make middle-mouse-click paste work in X11. r=billm/jimm 2014-10-22 11:50:00 +02:00
Trevor Saunders 97a4468c62 bug 982842 - initial a11y ipc impl r=davidb, bent 2014-03-07 16:35:19 -05:00
David Major 93d0d9b7f2 Backed out changeset 6c4291086b00 for B2G desktop linux bustage on a CLOSED TREE 2014-10-21 17:56:07 +13:00
Blake Kaplan c35784ec13 Bug 1068811 - Make middle-mouse-click paste work in X11. r=billm 2014-10-20 18:42:40 -07:00
Felipe César bfa3ebfcfc Bug 1080017 - Don't send Geolocation messages during shutdown. r=jdm 2014-10-13 17:28:00 -04:00
Shelly Lin ext:(%2CCervantes%20Yu%20%3Ccyu%40mozilla.com%3E) 89b484cd7a Bug 992454 - Part 1: Log TaskTracer data into string buffers and bug fixes. r=khuey. 2014-10-14 10:47:59 +08:00
Andrea Marchesini 8f8ec51372 Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-08 17:15:23 +01:00
Dave Townsend c0153fffad Bug 1068412: Forward dynamically registered resource URI mappings to content processes. r=billm 2014-10-07 10:29:40 -07:00
Andrew McCreight 9d6136ff7b Bug 1073597, part 3 - Lazify creation of the CPOW manager in CpowIdHolder. r=billm 2014-10-06 15:45:42 -07:00
Andrew McCreight 6ca7943f17 Bug 1073597, part 2 - Factor out common base class for GetCPOWManager. r=smaug 2014-10-06 15:45:42 -07:00
Blake Kaplan f809f5b13f Bug 1026099 - Rework the spellchecker context menu to not use CPOWs. r=ehsan/billm/felipe
This patch fixes a few nits and typos in the C++ spellchecking code as well as
fixing the Finnish dictionary and multiple installed dictionaries in general (r=ehsan).

It reworks the spellchecking context menu to use async message passing (in JS)
and reduces, by a little, the CPOW use in the context menu code (r=felipe).

Finally, the spellcheck IPDL no longer needs to be 'rpc' since we no longer
nest spellchecking calls, so it can go back to being 'sync' (r=billm).
2014-10-03 10:52:37 -04:00
Carsten "Tomcat" Book a521762182 Backed out changeset a11adf1705ec (bug 982842) for causing bug 1075387 2014-10-01 14:41:56 +02:00
Ryan VanderMeulen 58b9e4c88e Merge m-c to inbound. a=merge 2014-09-29 16:00:57 -04:00
Ryan VanderMeulen ade52f2a46 Merge m-c to b2g-inbound. a=merge
CLOSED TREE
2014-09-29 10:46:00 -04:00
Ben Turner d081140cb0 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey. 2014-09-26 16:21:57 -07:00
Vicamo Yang 240bed674a Bug 833229 - 3.b/4: IPDL implementation. r=echen, r=smaug 2014-09-26 13:00:24 +08:00
Mark Hammond 65936180b9 Bug 1067229 - allow nsIXULAppInfo::ID and ::Vendor to work in a content process. r=jdm 2014-09-24 16:14:55 +10:00
Alphan Chen 42bec8ff4d Bug 1060196 - Mark the volume as if we've started unmounting. r=dhylands 2014-09-22 11:42:33 +08:00
Carsten "Tomcat" Book 79a0a7362d merge b2g-inbound to mozilla-central a=merge 2014-09-22 13:06:09 +02:00
Vicamo Yang b53afc7e49 Bug 1063304 - 2/3: export header files in right namespace. r=echen 2014-09-21 15:24:42 +08:00
Jed Davis f545276ac5 Bug 1064529 - Don't misuse invalid ipc::FileDescriptor in memory report requests. r=njn 2014-09-18 17:59:00 +02:00
Cervantes Yu 791956bb3f Bug 1064890: Initialze the date cache cleaner for content processes forked from b2g. r=khuey 2014-09-15 19:10:21 +08:00
Ben Turner 46d101f40c Backout bug 994190 and merge over some stuff that landed afterwards on a CLOSED TREE. 2014-09-17 19:36:01 -04:00
Bevis Tseng a1fb9ea770 Bug 864484 - Part 4: Add IPDL Protocol Implementation for CellBroadcast. r=vyang
--HG--
extra : rebase_source : 2493220fabd331274df8d91d2bc4480baf9cf8ed
2014-08-18 17:06:11 +08:00
Trevor Saunders eee03eff66 bug 982842 - initial a11y ipc impl r=davidb, bent 2014-03-07 16:35:19 -05:00
Carsten "Tomcat" Book 9f96577d55 Backed out changeset eed2f616bc3e (bug 1063304) 2014-09-17 13:13:13 +02:00
Vicamo Yang f3f158671e Bug 1063304 - 2/3: export header files in right namespace. r=echen 2014-09-16 21:20:17 +08:00
Mark Hammond 3cd7c18fda Bug 1058433 - nsPermissionManager now records the mod-time of a permission and allows removal of ones modified since a specified time. r=ehsan 2014-09-15 11:33:12 +10:00
Ben Turner 1a91d40956 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
--HG--
rename : dom/indexedDB/ipc/SerializationHelpers.h => dom/indexedDB/SerializationHelpers.h
rename : dom/indexedDB/ipc/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-child-process.js
rename : dom/indexedDB/test/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-parent-process.js
rename : dom/ipc/Blob.h => dom/ipc/BlobParent.h
rename : dom/ipc/FileDescriptorSetChild.cpp => ipc/glue/FileDescriptorSetChild.cpp
rename : dom/ipc/FileDescriptorSetChild.h => ipc/glue/FileDescriptorSetChild.h
rename : dom/ipc/FileDescriptorSetParent.cpp => ipc/glue/FileDescriptorSetParent.cpp
rename : dom/ipc/FileDescriptorSetParent.h => ipc/glue/FileDescriptorSetParent.h
rename : dom/ipc/PFileDescriptorSet.ipdl => ipc/glue/PFileDescriptorSet.ipdl
2014-09-13 12:12:19 -04:00
Bob Owen 61056aa4db Bug 1018988 - Set up a low integrity temp directory when using the Windows content sandbox. r=mrbkap r=tabraldes r=froydnj 2014-09-10 12:36:17 +01:00
Bob Owen f19448274c Bug 1018966 - Part 1: Add the main warn only sandbox machinery - with no Chromium code changes. r=bsmedberg
This change also includes the content sandboxing code on Windows Nightly by defining MOZ_CONTENT_SANDBOX=1.
Whether the content sandbox is disabled, in warn only mode, or enabled is controlled by a new pref: browser.tabs.remote.sandbox=(off/warn/on)
2014-06-11 15:32:37 +01:00
Carsten "Tomcat" Book d578571a85 Backed out changeset 5adabc2818b2 (bug 1018966) for b2g bustage 2014-09-04 15:14:41 +02:00
Bob Owen 0fdb849687 Bug 1018966 - Part 1: Add the main warn only sandbox machinery - with no Chromium code changes. r=bsmedberg r=tabraldes
This change also includes the content sandboxing code on Windows Nightly by defining MOZ_CONTENT_SANDBOX=1.
Whether the content sandbox is disabled, in warn only mode, or enabled is controlled by a new pref: browser.tabs.remote.sandbox=(off/warn/on)
2014-06-11 15:32:37 +01:00
Edgar Chen 88d3252f85 Bug 843452 - Part 3-2: IPDL implementation for MobileConnection. r=smaug 2014-07-01 18:28:18 +08:00
Ehsan Akhgari 0653303071 Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
--HG--
extra : rebase_source : 01709017e97fdc96d1d53eb881efc1792118edc4
2014-09-01 20:49:25 -04:00
Phil Ringnalda 117bb1a341 Backed out 6 changesets (bug 1060982, bug 1061058, bug 1060987, bug 1061060, bug 1060930) for build bustage
CLOSED TREE

Backed out changeset c23b8418e6be (bug 1060987)
Backed out changeset a8cddc6bdffc (bug 1061060)
Backed out changeset b5af5cbdac3f (bug 1060982)
Backed out changeset 4912d451011a (bug 1060930)
Backed out changeset bdacbf453238 (bug 1061058)
Backed out changeset da6c71a8f5ae (bug 1060987)
2014-09-01 16:48:51 -07:00
Ehsan Akhgari 6c932dea6c Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 18:00:53 -04:00
Fabrice Desré 4533961b74 Bug 1011738 - Theme support for b2g/gaia, Part 4 : security checks r=bent,bz 2014-08-28 17:20:27 -07:00
Wes Kocher d544bf248c Backed out 17 changesets (bug 843452)
Backed out changeset e72a0297d488 (bug 843452)
Backed out changeset 73f62ce4190f (bug 843452)
Backed out changeset 6d4a49ebd9fc (bug 843452)
Backed out changeset ac93e396669f (bug 843452)
Backed out changeset cf4fc721821e (bug 843452)
Backed out changeset 9a94ea71d232 (bug 843452)
Backed out changeset b95ff097374d (bug 843452)
Backed out changeset 8d6428a93500 (bug 843452)
Backed out changeset e31b86ef0e80 (bug 843452)
Backed out changeset bd4efde535cd (bug 843452)
Backed out changeset 02bbcd8ac571 (bug 843452)
Backed out changeset f7f41bf82b22 (bug 843452)
Backed out changeset 20f42764cd38 (bug 843452)
Backed out changeset 82f8670f5c17 (bug 843452)
Backed out changeset 52f25f1278e3 (bug 843452)
Backed out changeset 181337820a7c (bug 843452)
Backed out changeset 9bd12641af03 (bug 843452)

--HG--
rename : dom/mobileconnection/interfaces/nsIMobileConnectionService.idl => dom/mobileconnection/interfaces/nsIMobileConnectionProvider.idl
2014-08-28 16:51:41 -07:00
Edgar Chen 809e5bc448 Bug 843452 - Part 3-2: IPDL implementation for MobileConnection. r=smaug 2014-07-01 18:28:18 +08:00
Josh Aas 8185a36bb0 Bug 1011225: Improve e10s process naming on OS X. Patch started by Benoit Girard, completed by Josh Aas. r=njn,benwa 2014-08-26 12:03:09 -05:00
Randy Lin dc0928b9d6 Bug 1054219 - [B2G][SpeakerManager] Avoid to create unnecessary speakerManager instance on child process. r=baku 2014-08-20 10:25:55 +08:00
Jed Davis 9668366e41 Bug 1009995 - Require seccomp-bpf on B2G devices based on Android >= KitKat. r=mwu r=kang 2014-08-15 11:56:28 -07:00
Jed Davis 033a6785eb Bug 1043733 - Require sandboxing to load Gecko Media Plugins on Linux. r=jesup r=kang
Also refactors how sandbox support and disabling are handled, and allows
simulating a lack of sandbox support with an env var (for testing
without rebuilding a kernel).
2014-08-12 21:28:27 -07:00
Debkanya Mazumder 75b60c6a05 Bug 738221 - Part 2: Replace uses of nsCOMPtr<nsIAccessibilityService> accService = do_GetService(@mozilla.org/accessibilityService;1). r=tbsaunde 2014-07-28 11:43:00 -04:00
Bill McCloskey 62917d6717 Bug 1042587 - Block scripts when using CPOWs (r=bent) 2014-08-05 21:44:42 -07:00
Jed Davis 9d31844f0c Bug 1012951 - Add Linux sandboxing for GeckoMediaPlugin processes. r=kang r=ted
--HG--
extra : rebase_source : 1b890000d5b8d2a8954cdd1118a1023eba829c29
2014-08-04 15:11:18 -07:00
Ed Morley dcbfd040d1 Backed out changeset d50d7e88f35e (bug 1012951) for LSan failures 2014-07-30 16:49:43 +01:00
Jed Davis 8cff1bfff8 Bug 1012951 - Sandbox GMP plugins on Linux using seccomp-bpf. r=kang r=ted 2014-07-29 15:31:12 -07:00
Blake Kaplan c27da1c709 Bug 687194 - Update content processes when dynamic chrome registration occurs. r=mossop 2014-07-25 16:17:36 -04:00
Wes Kocher 364928bcf4 Backed out changeset 51ff7710ccbc (bug 966395) for assertion errors during the build 2014-07-24 14:07:53 -07:00
Alexandru Tifrea 3389fe5c01 Bug 966395 - Use a puppet bidi keyboard in child processes. r=mrbkap/masayuki
--HG--
extra : rebase_source : c6a1c731d8a2c8c3964e59582dfd8e8e59e1b79f
2014-07-11 12:10:52 -07:00
Carsten "Tomcat" Book 9e0a923f6f merge fx-team to mozilla-central a=merge 2014-07-15 16:08:30 +02:00
Allison Naaktgeboren cd7511f5cf Bug 693555 - Update inline spellchecker underlining for multiprocess(e10s).r=ehsan, mrbkap 2014-07-01 15:24:27 -07:00
Mike Conley 5f892c8286 Bug 1002354 - Proxy nsIScreenManager and nsIScreen's from the child process to the parent process, with caching. r=roc,jimm,smichaud,snorp.
Changes to nsIScreen and nsIScreenManager were reviewed by roc.
Changes to dom/ipc were reviewed by jimm.
Changes to gfx/src/nsDeviceContext.cpp were reviewed by roc.
Changes to widget/android were reviewed by snorp.
Changes to widget/cocoa were reviewed by smichaud.
Changes to widget/gtk were reviewed by roc.
Changes to widget/windows were reviewed by jimm.
Changes to widget/xpwidgets were reviewed by roc.

--HG--
extra : rebase_source : 3ebb5763d75d16f73b3cb5e4fc5621188b6c9622
2014-07-14 13:22:26 -04:00
Mike Conley 64b781e2f3 Backed out bdf72cebcd85 to fix a CLOSED TREE.
--HG--
extra : histedit_source : 0a3977407abecc55d5564a69531d5d6ca804cd86
2014-07-14 12:20:16 -04:00
Mike Conley 78e56ed33a Bug 1002354 - Proxy nsIScreenManager and nsIScreen's from the child process to the parent process, with caching. r=roc,jimm,smichaud,snorp.
Changes to nsIScreen and nsIScreenManager were reviewed by roc.
Changes to dom/ipc were reviewed by jimm.
Changes to gfx/src/nsDeviceContext.cpp were reviewed by roc.
Changes to widget/android were reviewed by snorp.
Changes to widget/cocoa were reviewed by smichaud.
Changes to widget/gtk were reviewed by roc.
Changes to widget/windows were reviewed by jimm.
Changes to widget/xpwidgets were reviewed by roc.

--HG--
extra : rebase_source : 90d263235b40f6f6937d361705a4dfa44253318e
extra : histedit_source : bab4e689269c67fe3eb65033b6987b93caf9a482%2C86645be32f82f0d80724532e528e597db165b1d1
2014-07-14 11:57:06 -04:00
Jed Davis 1e4a828cc8 Bug 956961 - Open content processes' DMD log files in the parent process. r=njn
--HG--
extra : rebase_source : 2958f582f43bfac86ec29d784b4fb8825ca17257
extra : histedit_source : 96e39e36cbe506332d761c375b902284a695901a%2C245fc9ec3c6a3bbf4e5e5ce7b0da63f4477f36b9
2014-07-02 15:59:02 -07:00
Wes Kocher 03cdc19fec Backed out 3 changesets (bug 956961) for non-unified build bustage
Backed out changeset f1be89cb58b9 (bug 956961)
Backed out changeset 272b01e4f856 (bug 956961)
Backed out changeset 56907af18c66 (bug 956961)
2014-07-02 15:03:29 -07:00
Jed Davis adc6a05bd1 Bug 956961 - Open content processes' DMD log files in the parent process. r=njn 2014-07-02 11:27:48 -07:00
Jed Davis 12f969befb Bug 965724 - Use IPC for NS_OpenAnonymousTemporaryFile if in content process. r=roc 2014-06-24 10:11:36 -07:00
Benoit Jacob ec742680c8 Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
"Kan-Ru Chen (陳侃如)" 093e2092b9 Bug 1024470 - Make sure we run InitOnContentProcessCreated in all cases. r=khuey 2014-06-19 01:22:05 +08:00
Nicholas Nethercote aaf6fb2124 Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
"Kan-Ru Chen (陳侃如)" 9ed870c153 Bug 879475 - Part 005. Implement ContentBridge r=jlebar
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:13 +08:00
"Kan-Ru Chen (陳侃如)" 89a2857a90 Bug 879475 - Part 002. Add an nsIContentChild api r=jlebar
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:06 +08:00
Boris Zbarsky a0760577c7 Bug 1016560. Remove the footgun of rejecting promises with arbitrary objects. r=khuey 2014-06-03 11:38:38 -04:00
Olli Pettay 8413246b5f Bug 1003046 - ContentChild::RecvPBrowserConstructor should not call SendGetProcessAttributes(), r=fabrice,khuey 2014-06-04 00:15:27 +03:00
Ryan VanderMeulen 24cbfd735d Backed out changesets 6d1c36585219 and bd403a727849 (bug 1016560) for mochitest-other failures.
CLOSED TREE
2014-06-03 13:48:49 -04:00
Boris Zbarsky 0a69a27027 Bug 1016560. Remove the footgun of rejecting promises with arbitrary objects. r=khuey 2014-06-03 11:38:38 -04:00
Andrea Marchesini ce2ea0ca27 Bug 957086 - patch 3 - DataStoreService in C++ OOP, r=janv 2014-06-03 15:36:46 +01:00
Ehsan Akhgari 4b8e9c1f5c Backed out 3 changesets (bug 957086) for causing bug 1018406
Backed out changeset f8b6dab2f985 (bug 957086)
Backed out changeset b69bcaa24ab5 (bug 957086)
Backed out changeset 3b45335d4694 (bug 957086)

--HG--
rename : dom/datastore/DataStoreImpl.js => dom/datastore/DataStoreImpl.jsm
2014-06-02 10:19:19 -04:00
Andrea Marchesini b15607ce18 Bug 957086 - patch 3 - DataStoreService in C++ for OOP, r=janv 2014-05-30 07:59:51 +01:00
Ryan VanderMeulen f97a6f77b4 Backed out changesets 083b9fb75e9a, 4cbc8cf0b619, and ef379607cff7 (bug 957086) for Win7/Win8 debug mochitest crashes.
--HG--
rename : dom/datastore/DataStoreImpl.js => dom/datastore/DataStoreImpl.jsm
2014-05-29 13:22:57 -04:00
Andrea Marchesini cc10beffc2 Bug 957086 - patch 3 - DataStoreService in C++ OOP, r=janv 2014-05-29 16:35:03 +01:00
Alphan Chen 9df78f190a Bug 996996 - Correct indention in ContentChild.cpp and ContenParent.cpp. r=mrbkap 2014-05-28 11:04:23 +08:00
Birunthan Mohanathas 0e6f3a6562 Bug 869836 - Part 3: Use `Append('c')` instead of `AppendLiteral("c")`. r=ehsan 2014-05-22 06:48:51 +03:00
Alphan Chen 3682d6b662 Bug 996996 - Move fopen into non-sanboxed process. r=mrbkap 2014-05-21 13:49:36 +08:00
Bill McCloskey b4170c4e66 Bug 996785 - Bidirectional CPOWs (r=mrbkap) 2014-05-16 16:40:37 -07:00
Benoit Girard e263b0e91e backout 9ebe70d8a9b2 (Bug 1011225) for mochitest failures on a CLOSED TREE 2014-05-16 00:52:55 -04:00
Benoit Girard c71d9a9403 Bug 1011225 - [e10s] Name mac content process. r=mstange
--HG--
extra : rebase_source : 0b1e31e9fed6ec6227c101c3ccd6b5401822778c
2014-05-15 16:52:30 -04:00
Dave Hylands 4d43b53eee Bug 1007053 - Pt1 - Fix shadowing of IsFake attribute in the Child Volume cache. r=qDot 2014-05-13 15:48:04 -07:00
Jed Davis e4ced412bb Bug 973090 - IPC remoting for child GC/CC logging. r=mccr8, r=bent
This has a few semi-interdependent pieces:

* Factoring out the file opening/closing/renaming from the GC/CC logging.

* Using IPC to have the child log to files that the parent opened.

* Changing nsIMemoryInfoDumper.dumpGCAndCCLogsToFile to report completion
  of child process logging (which was impossible before this, and which is
  needed to have a meaningful test case).

* Changing about:memory to dump logs for child processes, matching the
  behavior of the "Measure" button, because it can tell the user where
  they are now.

* Add a test for multiprocess GC/CC log dumping (only of the XPCOM
  interface, not by clicking buttons and scraping the about:memory page,
  but done as a chrome mochitest to start remote browsers); based on
  test_memoryReporters2.xul in the same directory.
2014-05-13 13:13:00 -04:00
Bill McCloskey f048271843 Bug 978892 - [e10s] Avoid racing when creating PJavaScript object (r=mrbkap) 2014-05-08 15:43:53 -07:00
Ben Turner ee54000826 Bug 982779 - Ensure that child->parent IPC blobs are never mysterious, r=baku. 2014-04-29 13:02:41 -07:00
Wes Kocher 9830484b06 Backed out changeset 8f05bc23b391 (bug 982779) for b2g mochitest-1 failures 2014-05-05 19:28:37 -07:00
Ben Turner e7d0d6522b Bug 982779 - Ensure that child->parent IPC blobs are never mysterious, r=baku. 2014-04-29 13:02:41 -07:00
chiajung hung 098a829ab1 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-30 21:52:00 -04:00
Nathan Froyd 84041459a1 Bug 1003306 - part 2 - use services::GetPermissionManager everywhere that's appropriate; r=ehsan 2014-04-29 13:27:26 -04:00
Birunthan Mohanathas 5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Ed Morley 1ce229a50b Backed out changeset d58403b60c77 (bug 959089) 2014-04-25 17:51:11 +01:00
chiajung hung 59edff0d8f Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-25 02:29:00 -04:00
Reuben Morais c5ec0c3e51 Bug 992313 - Keep track of registered idle observers so we don't call into a freed pointer. r=roc 2014-04-21 14:18:53 -03:00
Ryan VanderMeulen a14baa39be Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Fabrice Desré 874f87e5ff Bug 982491 - Group apps in activities chains in the same process r=cervantes,gene 2014-03-25 21:56:35 -07:00
Andrea Marchesini fdcbca4082 Bug 910010 - Implementation of PFileDescriptorSet - part 1, r=khuey 2014-03-25 18:37:13 +00:00
Cervantes Yu da57d4296a Bug 968604 Part 1: Fork the browser process from Nuwa. r=khuey
--HG--
extra : rebase_source : db94e3799dc8800b45e554fa07ef3f84a5cd5d78
2014-02-13 18:42:41 +08:00
Kyle Huey fe6c4e28d6 Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Yuan Xulei 9d543fd864 Bug 910412 - Implement |getRoot|, |createDirectory| and |get| for Directory. r=dhylands, r=smaug 2014-03-05 11:25:40 +08:00
Jed Davis 154d9c5e2a Bug 977859 - Drop uid 0 in all content processes immediately after fork. r=bent r=kang
Now all regular child processes, including preallocated, are deprivileged.
Only Nuwa needs uid 0, because each of its children has a different uid/gid.
2014-03-12 15:48:15 -07:00
Ryan VanderMeulen a154cec3e0 Backed out 5 changesets (bug 910412) for intermittent crash whack-a-mole.
Backed out changeset e3eb9463b3e1 (bug 910412)
Backed out changeset d5863d302bde (bug 910412)
Backed out changeset 422b66d4b1ca (bug 910412)
Backed out changeset 3431d59d752e (bug 910412)
Backed out changeset b1c0310cdac1 (bug 910412)
2014-03-11 12:17:03 -04:00
Yuan Xulei d0efc292f4 Bug 910412 - Implement |getRoot|, |createDirectory| and |get| for Directory. r=dhylands, r=smaug 2014-03-05 11:25:40 +08:00
L. David Baron 449dc2dfe0 Bug 976777: Truncate long source lines in script errors before sending them to the parent process. r=bent
This fixes an out-of-memory foreground-tab crash that I could reliably
reproduce on a 256MB Firefox OS phone, and I think also significantly
reduces the number of background tabs I'm seeing killed due to low
memory.
2014-03-04 20:13:19 -08:00
Jed Davis 76ab6d796b Bug 946407 - Reimplement DumpMemoryInfoToTempDir in terms of GetReports. r=njn
This winds up exposing things in the nsIMemoryReporterManager interface
that arguably don't belong at that level of abstraction -- "minimize
memory usage first" and DMD -- in order to take advantage of the
infrastructure that GetReports already has for managing the child
processes.
2014-03-04 18:27:13 -08:00
Jed Davis 789c3d2ddb Bug 970676 - Turn on sandboxing on all relevant threads. r=dhylands r=bent f=kang 2014-02-27 13:18:01 -08:00
Gabriele Svelto 11bc10edd4 Bug 975434 - Remove the ability to cancel memory minimizations. r=njn 2014-02-25 16:37:30 +01:00
Ben Turner a7ea91ce2d Bug 956218 - Fix build bustage for B2G-JB on a CLOSED TREE 2014-02-24 20:16:01 -08:00
Ben Turner a80f9315df Bug 956218 - '(PBackground) Add a mechanism for communicating with
a non-main I/O thread via thread and process links'. r=mrbkap+khuey+bsmedberg.
2013-11-26 23:59:41 -08:00
Cervantes Yu 9801876ee5 Bug 965912 - Initialize DateCacheCleaner (which registers an observer to the chrome process) after forking from the Nuwa process. r=khuey 2014-02-14 16:43:51 +08:00
Brian R. Bondy 88633c121b Bug 969559 - Set delayed restricted integrity in child process to block off pipe and file access after LowerToken call. r=aklotz 2014-02-14 11:07:16 -05:00
Ghislain 'Aus' Lacroix 1fa90496e3 Bug 945323 - [Download API] Downloaded path isn't honoring download attribute. r=bz 2014-02-13 14:43:58 -08:00
Ben Turner 3bcfec25c8 Backout bug 956218 for build error 2014-02-06 15:19:08 +01:00
Ben Turner d251cb806b Bug 956218 - '(PBackground) Add a mechanism for communicating with a non-main I/O thread via thread and process links'. r=mrbkap. 2013-11-26 23:59:41 -08:00
Ben Turner 10cf13f470 Backout bug 956218 for link error. 2014-02-06 11:50:43 +01:00
Ben Turner 4944532d70 Bug 956218 - '(PBackground) Add a mechanism for communicating with a non-main I/O thread via thread and process links'. r=mrbkap. 2013-11-26 23:59:41 -08:00
Bill McCloskey a81cf35609 Bug 947045 - dup() child's X file descriptor in parent process (r=karl) 2014-02-05 08:37:26 -08:00
Nicholas Nethercote 9c25748c63 Bug 903131 - Add save GC/CC logs buttons to about:memory. r=njn,mccr8.
--HG--
extra : rebase_source : 56af9b89675394b5a219f699b96c1d26c00adc38
2014-01-31 14:43:08 -08:00
Phil Ringnalda 63ca0614b6 Back out ea871fc76f16 (bug 903131) for test_aboutmemory6.xul crashes 2014-02-01 01:43:38 -08:00
Eric Rahm d7d546ac18 Bug 903131 - Add save GC/CC logs buttons to about:memory. r=njn,mccr8.
- Added buttons, JS to trigger logs to be generated.
- Added out params to return log paths.
- Added attributes to cycle collector interface to export log paths.

--HG--
extra : rebase_source : cbce2c62b577c820fd099706d72ab7b20992a00a
2014-01-31 14:43:08 -08:00
Blake Kaplan f97e8a437f Bug 966102 - Squelch a bunch of warnings starting child processes. r=bsmedberg
--HG--
extra : rebase_source : 82a0f7349df90a36dc4580fcaa121d80d0aa94a1
2014-01-31 15:02:30 -08:00
Luke Wagner e99d6d95da Bug 944821 - Support more than 1 cached asm.js module per origin (r=janv)
--HG--
rename : js/xpconnect/tests/mochitest/file_asmjs.js => dom/asmjscache/test/file_slow.js
rename : js/xpconnect/tests/mochitest/test_asmjs2.html => dom/asmjscache/test/test_cachingBasic.html
rename : js/xpconnect/tests/mochitest/test_asmjs.html => dom/asmjscache/test/test_slow.html
rename : js/xpconnect/tests/mochitest/test_asmjs3.html => dom/asmjscache/test/test_workers.html
extra : rebase_source : 14efc458193762f5be99dfff78d353a63f3fc45a
2013-12-04 22:32:52 -06:00
Ehsan Akhgari 1b83407ce9 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Reuben Morais 6556a5fbd3 Bug 938889 - Remote IdleService and disable idle-daily notifications in content processes. r=roc 2013-12-13 14:28:46 -02:00
Nicholas Nethercote 8450156576 Bug 947802 (part 2) - Replace enumerateReporters() with getReportsForThisProcess(). r=mccr8.
--HG--
extra : rebase_source : 1c70e838e3600745f69c5772a084398f78d4c477
2013-12-01 16:29:37 -08:00
Patrick Wang b8a63f9739 Bug 944665: Part 2: Call PreloadSlowThings after Nuwa fork. r=khuey 2013-11-29 17:28:54 +08:00
Phil Ringnalda f72fddae43 Backed out 5 changesets (bug 944665, bug 922465, bug 930282) for b2g xpcshell crashes
CLOSED TREE

Backed out changeset c4f970dd2a4f (bug 930282)
Backed out changeset 625f5303fc68 (bug 930282)
Backed out changeset bf8e90edd152 (bug 922465)
Backed out changeset a21b57c78253 (bug 944665)
Backed out changeset 9275a2efc9e3 (bug 944665)

--HG--
extra : rebase_source : bfbe3786e0db2073e26dc383b89525d22be0b3bd
2013-12-08 15:32:15 -08:00
Patrick Wang f61cdb52d9 Bug 944665: Part 2: Call PreloadSlowThings after Nuwa fork. r=khuey 2013-12-07 10:32:41 +08:00
Ryan VanderMeulen 5d77e7eab0 Merge b2g-inbound to m-c on a CLOSED TREE. 2013-12-04 17:34:18 -05:00
Alan Huang d72d438775 Bug 841660 - Part 2: Implement format interface for volume-based device storage, r=dhylands 2013-12-03 17:32:56 +08:00
Nicholas Nethercote c20ea4de69 Bug 927740 (part 1) - Fix observation of GC and CC requests by child processes. r=khuey.
--HG--
extra : rebase_source : 97e44a40d98ad71152dd24a8ea6ff0098aab1df4
2013-12-02 20:07:02 -08:00
Luke Wagner 5ed834b091 Bug 929236 - Cache asm.js compiled code in Gecko (r=janv)
--HG--
extra : rebase_source : 1c97962da0044858c583fc45e69dd22e519b8066
2013-11-18 15:49:53 -06:00
Randy Lin 2392de7e85 Bug 854753 - [B2G][Audio] Implement SpeakerManager API. r=amarchesini, sr=jonas 2013-11-25 12:50:03 +13:00
Cervantes Yu 82360aea08 Bug 890870 - Start freezing the Nuwa process after PreloadSlowThings(). r=khuey 2013-10-01 19:28:44 +08:00
Andrea Marchesini b331fe6f43 Bug 916091 - patch 1 - nsIMessageSender should send the nsIPrincipal with the messages, r=smaug 2013-11-06 17:21:15 +00:00
Nicholas Nethercote 8aa18001f7 Bug 929797 - Implement proper memory reporting for child processes. r=khuey.
--HG--
extra : rebase_source : f0788757afc2097830295170120e1e2094993cc7
2013-10-22 22:26:24 -07:00
Nathan Froyd 05e020c835 Bug 918651 - part 7a - fix source files bootlegging things from IPDL headers; rs=ehsan 2013-10-18 16:57:55 -04:00
Brian R. Bondy ed3814e084 Bug 933894 - Don't try to build Unix Sandbox on OSX. r=aklotz 2013-11-01 16:34:21 -07:00
Nicholas Nethercote 5da5c4cd53 Bug 930851 (part 1) - Make child process naming consistent in both memory reporting paths. r=khuey.
--HG--
extra : rebase_source : 6c212dd1ddc701af8297a6de373c8650b18a1b56
2013-10-24 20:47:48 -07:00
Brian R. Bondy 4d95d9a603 Bug 931998 - Enable MOZ_CONTENT_SANDBOX for XP_UNIX instead of XP_LINUX so it gets included in B2G. r=bsmedberg 2013-10-28 20:28:21 -07:00
Brian R. Bondy de45bd4422 Bug 922756 - Build config for Chromium sandbox. r=bsmedberg
--HG--
rename : security/sandbox/LICENSE => security/sandbox/linux/LICENSE
rename : security/sandbox/Makefile.in => security/sandbox/linux/Makefile.in
rename : security/sandbox/Sandbox.cpp => security/sandbox/linux/Sandbox.cpp
rename : security/sandbox/Sandbox.h => security/sandbox/linux/Sandbox.h
rename : security/sandbox/android_arm_ucontext.h => security/sandbox/linux/android_arm_ucontext.h
rename : security/sandbox/android_i386_ucontext.h => security/sandbox/linux/android_i386_ucontext.h
rename : security/sandbox/android_ucontext.h => security/sandbox/linux/android_ucontext.h
rename : security/sandbox/arm_linux_syscalls.h => security/sandbox/linux/arm_linux_syscalls.h
rename : security/sandbox/linux_seccomp.h => security/sandbox/linux/linux_seccomp.h
rename : security/sandbox/linux_syscalls.h => security/sandbox/linux/linux_syscalls.h
rename : security/sandbox/moz.build => security/sandbox/linux/moz.build
rename : security/sandbox/seccomp_filter.h => security/sandbox/linux/seccomp_filter.h
rename : security/sandbox/x86_32_linux_syscalls.h => security/sandbox/linux/x86_32_linux_syscalls.h
rename : security/sandbox/x86_64_linux_syscalls.h => security/sandbox/linux/x86_64_linux_syscalls.h
2013-10-28 14:54:36 -07:00
Birunthan Mohanathas 98f3b9652a Bug 784739 - Switch from NULL to nullptr in dom/ (1/2); r=ehsan 2013-10-28 10:04:12 -04:00
Phil Ringnalda 780e2a2c5f Back out f872d288480b:9b86b4e60b29 (bug 929513) for failing to build on Windows
CLOSED TREE
2013-10-27 15:38:40 -07:00