Commit Graph

1769 Commits

Author SHA1 Message Date
Jed Davis
eb69e55005 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
Drew Willcoxon
97246d948a Bug 983313 - Write crash events for plugin crashes and hangs (part 1: main changes). r=bsmedberg 2014-05-12 11:58:18 -07:00
Neil Rashbrook
0b29793db8 Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-05-11 10:47:11 +01:00
Olli Pettay
4c3debd8b0 Bug 1003041 - Merge PRenderFrame() and InitRenderFrame() to avoid extra sync child->parent messaging. r=billm 2014-05-08 16:04:00 +02:00
Benoit Jacob
2e1ef0025a Bug 1004098 - Make nsTArray use size_t in its interface (32bitness is fine as an internal detail) - r=froydnj, sr=bsmedberg 2014-05-08 21:03:35 -04:00
Bill McCloskey
a57b24343c Bug 978892 - [e10s] Avoid racing when creating PJavaScript object (r=mrbkap) 2014-05-08 15:43:53 -07:00
Neil Rashbrook
a998ae77f6 Backout of bug 514280 changeset c738f7348dea for build failure on a CLOSED TREE 2014-05-08 20:35:09 +01:00
Neil Rashbrook
f9520ae677 Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-05-08 20:08:38 +01:00
Ben Turner
cbfda3bd61 Bug 1007320 - Release canceled fd callbacks earlier, r=jduell. 2014-05-07 16:09:37 -07:00
Ben Turner
85f9068257 Bug 918595 - Close all cached file descriptors on TabChild shutdown, r=jduell. 2014-05-07 12:03:48 -07:00
Ben Kelly
a48cbf390d Bug 1004630: Make TabChild inherit mRefCnt from TabChildBase to fix CC leak. r=smaug 2014-05-06 20:11:20 -04:00
Ryan VanderMeulen
45503e160d Merge b2g-inbound to m-c. 2014-05-06 16:31:58 -04:00
Botond Ballo
98bebf3b13 Bug 1005378 - Have TabChild create a view ID for the document element if one doesn't already exist. r=kats 2014-05-05 15:06:28 -04:00
Ben Turner
d43c965184 Bug 982779 - Ensure that child->parent IPC blobs are never mysterious, r=baku. 2014-04-29 13:02:41 -07:00
Bill McCloskey
921c69a653 Bug 990598 - [e10s] Disable CPOW timeouts (r=jimm) 2014-05-05 13:12:46 -07:00
Olli Pettay
a51cf37454 Bug 1005089, let touch.target be null, r=bz 2014-05-05 13:48:50 +03:00
Josh Aas
f00583cc36 Bug 960774: Add ActorDestroy impl for all parent-side actors that don't have one. It will be required soon. r=bent 2014-05-02 13:44:13 -05:00
Gabriele Svelto
fc6736d66f Bug 999327 - Consider the wake-locks held by the main process when computing priorities. r=fabrice 2014-05-01 15:47:26 +02:00
Benoit Girard
b1c12cd1d5 Bug 986160 - Add MozGtestFriend.h to deal with gtest in non test builds. r=glandium 2014-04-07 15:23:03 -04:00
chiajung hung
e92efaa365 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-30 21:52:00 -04:00
Ting-Yu Chou
c4938d1cf0 Bug 1002527 - Fix not to initialize remote browser's ContentParent twice. r=bent
ContentParent::GetNewOrUsed() initialize the ContentParent always, even it is an
initialized one from PreallocatedProcessManager::Take(). Initialize twice makes
ContentParent to receive two the same observed event, and creates leak in both
observer list and itself.
2014-04-30 02:00:00 -04:00
Nathan Froyd
4c20a67b0d Bug 1003306 - part 2 - use services::GetPermissionManager everywhere that's appropriate; r=ehsan 2014-04-29 13:27:26 -04:00
Botond Ballo
f322624106 Bug 993930 - Do not assume TabChild::mInnerSize being (0, 0) means it's never been initialized. r=kats 2014-04-25 11:40:23 -04:00
Birunthan Mohanathas
ff8ce9bd42 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
Birunthan Mohanathas
4de1915f30 Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug 2014-04-25 12:49:00 -04:00
Ed Morley
43f0aad8bb Backed out changeset d58403b60c77 (bug 959089) 2014-04-25 17:51:11 +01:00
chiajung hung
ddbdc88968 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-25 02:29:00 -04:00
Kartikaya Gupta
e7ad81b42f Bug 999162 - Don't set the first-paint flag on a location change on the same document. r=drs 2014-04-24 11:40:00 +02:00
Ben Turner
e0a0c602bd Bug 999742, Split Blob<> into BlobParent/BlobChild. rs=sicking.
--HG--
extra : transplant_source : %F6%EF%8D%0C%0E%0B7%EFm%7F%15%83%D5%82%19T%BF-%3C%98
2014-04-23 21:43:57 -07:00
Bobby Holley
6111dfc390 Bug 999213 - Remove now-unnecessary cleanup logic in ~TabChild. r=smaug 2014-04-22 14:26:45 -07:00
Bobby Holley
d9a150c304 Bug 999213 - Make TabChildGlobal::mTabChild a strong reference and cycle-collect it. r=smaug 2014-04-22 14:26:45 -07:00
Bobby Holley
568bd8f32d Bug 999213 - Make TabChildBase implement nsISupports and cycle-collect it. r=smaug 2014-04-22 14:26:45 -07:00
Tom Schuster
fa1e0e25e8 Bug 992415 - Fix null checks in FilePickerParent::Done. r=jdm 2014-04-22 22:00:03 +02:00
Bill McCloskey
ef7676b117 Bug 993714 - [e10s] Cache native key bindings in tests (r=masayuki,sr=roc) 2014-04-21 13:40:09 -07:00
Ryan VanderMeulen
d6bd3751e7 Merge b2g-inbound to m-c. 2014-04-21 16:16:55 -04:00
Reuben Morais
202914c96c 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
Patrick Wang (Chih-Kai Wang)
993ce3c11a Bug 994560: Compute CPU priority based on priority that is going to be set r=gsvelto 2014-04-18 14:28:14 +08:00
Cervantes Yu
ca6d341171 Bug 977359 Part 3: Remove runtime checks for Nuwa deadlock in debug build. r=khuey 2014-04-15 21:27:56 +08:00
Cervantes Yu
4488387023 Bug 977359 Part 2: Test case for the deadlock in the Nuwa process. r=gal 2014-04-15 21:26:30 +08:00
Kartikaya Gupta
e7e7d59c58 Bug 995411 - Move various pieces of APZ code into gfx/layers/apz. r=jrmuizel,botond
--HG--
rename : gfx/layers/ipc/GeckoContentController.h => gfx/layers/apz/public/GeckoContentController.h
rename : gfx/layers/composite/APZCTreeManager.cpp => gfx/layers/apz/src/APZCTreeManager.cpp
rename : gfx/layers/composite/APZCTreeManager.h => gfx/layers/apz/src/APZCTreeManager.h
rename : gfx/layers/ipc/AsyncPanZoomController.cpp => gfx/layers/apz/src/AsyncPanZoomController.cpp
rename : gfx/layers/ipc/AsyncPanZoomController.h => gfx/layers/apz/src/AsyncPanZoomController.h
rename : gfx/layers/ipc/Axis.cpp => gfx/layers/apz/src/Axis.cpp
rename : gfx/layers/ipc/Axis.h => gfx/layers/apz/src/Axis.h
rename : gfx/layers/ipc/GestureEventListener.cpp => gfx/layers/apz/src/GestureEventListener.cpp
rename : gfx/layers/ipc/GestureEventListener.h => gfx/layers/apz/src/GestureEventListener.h
rename : gfx/layers/ipc/TaskThrottler.cpp => gfx/layers/apz/src/TaskThrottler.cpp
rename : gfx/layers/ipc/TaskThrottler.h => gfx/layers/apz/src/TaskThrottler.h
rename : widget/xpwidgets/APZCCallbackHelper.cpp => gfx/layers/apz/util/APZCCallbackHelper.cpp
rename : widget/xpwidgets/APZCCallbackHelper.h => gfx/layers/apz/util/APZCCallbackHelper.h
rename : widget/xpwidgets/ActiveElementManager.cpp => gfx/layers/apz/util/ActiveElementManager.cpp
rename : widget/xpwidgets/ActiveElementManager.h => gfx/layers/apz/util/ActiveElementManager.h
2014-04-17 07:54:25 -04:00
Yuan Xulei
a35bd620dd Bug 934367 - Implement createFile for Directory. r=dhylands 2014-03-05 16:40:48 +08:00
Botond Ballo
f3ea1a207f Bug 976605 - Hook up TabChild to the ActiveElementManager. r=kats
--HG--
extra : source : 857c93cae53b3900015a402a1f246dd1355b8cee
2014-04-09 15:16:16 -04:00
Botond Ballo
e235befc24 Bug 976605 - Turn GeckoCC::NotifyTransform[Begin|End] into an extensible APZ state change notification mechanism. r=kats
--HG--
extra : source : 5353e86dcfe8b2ff6f02e577a4c69a1de6808d9b
2014-04-15 13:39:20 -04:00
Ed Morley
6a0c514644 Backed out changeset d5c38470ac06 (bug 976605) 2014-04-15 17:45:48 +01:00
Ed Morley
1bf4d81799 Backed out changeset 5fb0bcdb92d5 (bug 976605) 2014-04-15 17:45:17 +01:00
Botond Ballo
a5c2c5711b Bug 976605 - Hook up TabChild to the ActiveElementManager. r=kats
--HG--
extra : source : 3589bda462816f0d40a7e77bc9060a9d3124d3bb
2014-04-09 15:16:16 -04:00
Botond Ballo
87beae3674 Bug 976605 - Turn GeckoCC::NotifyTransform[Begin|End] into an extensible APZ state change notification mechanism. r=kats
--HG--
extra : source : bfb4af538271dc2e3148caa461f594715529021a
2014-04-11 20:27:57 -04:00
Alexandre Poirot
21d280d8e3 Bug 992778 - Set docshell.chromeEventHandler in child processes. r=bz 2014-04-09 07:15:00 +02:00
Matt Woodrow
cde7f29c88 Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc 2014-03-07 16:24:32 +13:00
Cervantes Yu
c07c02b0f5 Bug 992752: Don't wait for the delayed prellocated process when launching an app. r=khuey 2014-04-07 17:48:52 +08:00