Commit Graph

1900 Commits

Author SHA1 Message Date
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
Ting-Yu Chou
17921a9d2c 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
84041459a1 Bug 1003306 - part 2 - use services::GetPermissionManager everywhere that's appropriate; r=ehsan 2014-04-29 13:27:26 -04:00
Botond Ballo
fe94a83a74 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
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
Birunthan Mohanathas
7ac92ae5ea 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
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
Kartikaya Gupta
715b91be72 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
812e72e3e9 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
3ef3111967 Bug 999213 - Remove now-unnecessary cleanup logic in ~TabChild. r=smaug 2014-04-22 14:26:45 -07:00
Bobby Holley
d9d1ffd373 Bug 999213 - Make TabChildGlobal::mTabChild a strong reference and cycle-collect it. r=smaug 2014-04-22 14:26:45 -07:00
Bobby Holley
ef61921fa4 Bug 999213 - Make TabChildBase implement nsISupports and cycle-collect it. r=smaug 2014-04-22 14:26:45 -07:00
Tom Schuster
05d9a550f4 Bug 992415 - Fix null checks in FilePickerParent::Done. r=jdm 2014-04-22 22:00:03 +02:00
Bill McCloskey
204c0f3633 Bug 993714 - [e10s] Cache native key bindings in tests (r=masayuki,sr=roc) 2014-04-21 13:40:09 -07:00
Ryan VanderMeulen
22b3e73265 Merge b2g-inbound to m-c. 2014-04-21 16:16:55 -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
Patrick Wang (Chih-Kai Wang)
47db9c30ce 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
08f2bbefda 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
878e346c04 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
c1a7eb8c17 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
1e81d62a84 Bug 934367 - Implement createFile for Directory. r=dhylands 2014-03-05 16:40:48 +08:00
Botond Ballo
b2abe2af76 Bug 976605 - Hook up TabChild to the ActiveElementManager. r=kats
--HG--
extra : source : 857c93cae53b3900015a402a1f246dd1355b8cee
2014-04-09 15:16:16 -04:00
Botond Ballo
3391efa3ea 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
c46be2513f Backed out changeset d5c38470ac06 (bug 976605) 2014-04-15 17:45:48 +01:00
Ed Morley
3d8bb54f6d Backed out changeset 5fb0bcdb92d5 (bug 976605) 2014-04-15 17:45:17 +01:00
Botond Ballo
a4fbe2f20e Bug 976605 - Hook up TabChild to the ActiveElementManager. r=kats
--HG--
extra : source : 3589bda462816f0d40a7e77bc9060a9d3124d3bb
2014-04-09 15:16:16 -04:00
Botond Ballo
e3a2f642c6 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
1ca515a794 Bug 992778 - Set docshell.chromeEventHandler in child processes. r=bz 2014-04-09 07:15:00 +02:00
Matt Woodrow
b4d6205572 Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc 2014-03-07 16:24:32 +13:00
Cervantes Yu
e32c6af9ec Bug 992752: Don't wait for the delayed prellocated process when launching an app. r=khuey 2014-04-07 17:48:52 +08:00
Benoit Jacob
e8b418c5f5 Bug 987305 - Refactor EnumSerializer - r=nfroyd 2014-04-14 10:17:40 -04:00
Andrea Marchesini
4266c27429 Bug 987064 - Remove AudioChannelType. r=roc, r=mchen, r=bent 2014-04-10 18:39:20 +01:00
Alessio Placitelli
dfbb9f005d Bug 529877 - Remove stray printfs in e10s dom/ipc code. r=cjones 2014-04-13 14:18:02 -04:00
Ms2ger
0524b56789 Backed out changeset ec23d10b47eb for build failures on B2G. 2014-04-12 12:09:37 +02:00
Alessio Placitelli
fb9000fe8b Bug 529877 - Remove stray printfs in e10s dom/ipc code; r=cjones 2014-04-12 10:55:49 +02:00
Carsten "Tomcat" Book
ae409227bd Backed out changeset ac06eacc2206 (bug 987064) for B2G ICS Emulator Debug Bustage on a CLOSED TREE 2014-04-10 13:18:18 +02:00
Andrea Marchesini
190cf6a2a2 Bug 987064 - Remove AudioChannelType, r=roc, r=mchen, r=bent 2014-04-10 11:49:23 +01:00
Boris Zbarsky
a0bb95a823 Bug 993889 part 1. Remove "scope" argument from nsContentUtils::WrapNative. r=bholley 2014-04-10 00:58:41 -04:00
Ryan VanderMeulen
c59c631795 Backed out changeset c81707878977 (bug 974197) for Gaia integration test failures on a CLOSED TREE. 2014-04-09 22:14:13 -04:00
Matt Woodrow
8e7006914b Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc 2014-03-07 16:24:32 +13:00
Steve Fink
12001268c0 Bug 912456 - transferable MessagePorts, r=jorendorff
--HG--
extra : rebase_source : 5b8a2a9b261c53f0ff5a860e1dc2e7ede711105f
2013-11-14 20:42:34 -08:00
Blake Kaplan
3a3257f6a8 Bug 899648 - Initial patch to make tab-modal prompts work. Original patch from Tom Schuster <evilpies@gmail.com>. r=dolske 2014-04-04 14:50:42 -07:00
Jed Davis
c3cf6886c9 Bug 989042 - Use waitid() only on Gonk; unbreak BSD build. r=bsmedberg 2014-04-03 16:19:00 -04:00
Ryan VanderMeulen
d474c0c60f Backed out changeset 234d50648ad1 (bug 983022) for non-Linux build bustage.
CLOSED TREE
2014-04-03 11:38:27 -04:00
Vincent Liu
988d69265c Bug 983022 - [tarako] Need minidump screen shot. r=ted, r=gal 2014-04-03 10:28:07 +08:00
Masayuki Nakano
d42c98a423 Bug 990855 part.2 Remove dom/events from local includes of moz.build files r=smaug 2014-04-03 13:18:38 +09:00
snigdha
9cc482da68 Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey 2014-04-01 08:29:25 -04:00
Masayuki Nakano
930436ef24 Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug
--HG--
rename : dom/events/nsDOMEventTargetHelper.cpp => dom/events/DOMEventTargetHelper.cpp
rename : dom/events/nsDOMEventTargetHelper.h => dom/events/DOMEventTargetHelper.h
2014-04-01 15:13:50 +09:00
Masayuki Nakano
f6885469a0 Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug
--HG--
rename : dom/events/nsEventStateManager.cpp => dom/events/EventStateManager.cpp
rename : dom/events/nsEventStateManager.h => dom/events/EventStateManager.h
2014-04-01 13:09:23 +09:00
Ben Turner
9394b6fd31 Bug 977819 - 'Allow PBackgroundChild implementors to hook into the threadlocal space'. r=mrbkap. 2014-03-31 19:55:36 -07:00
Kartikaya Gupta
98665d1e19 Bug 948377 - Remove unwanted rounding in CalculateCompositedRectInCssPixels; add a CalculateCompositedSizeInCssPixels also. r=botond 2014-03-28 10:36:47 -04:00
Neil Rashbrook
757dacf9be Bug 514280 Remove concrete classes from interface maps r=bsmedberg 2014-03-28 08:40:13 +00:00
Gabriele Svelto
6b12580552 Bug 873284 - When a content process is running at high priority do not send memory-pressure events. r=khuey 2014-02-17 17:45:29 +01:00
Ryan VanderMeulen
c5fd173c74 Merge m-c to inbound. 2014-03-26 23:09:54 -04: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
ebeddf1969 Bug 910010 - Implementation of PFileDescriptorSet - part 2, r=bent 2014-03-25 18:37:28 +00:00
Andrea Marchesini
fdcbca4082 Bug 910010 - Implementation of PFileDescriptorSet - part 1, r=khuey 2014-03-25 18:37:13 +00:00
Birunthan Mohanathas
bc35004647 Bug 987320 - Remove unnecessary null checks for do_QueryFrame arguments. r=bz 2014-03-25 11:36:49 -04:00
Tatiana Meshkova
b05be4f889 Bug 985817 - Move some TabChild functionality into base class to be reusable in Embedlite implementation. r=kats 2014-03-24 19:28:46 -07:00
Chadd Williams
29c628c5eb Bug 980493 - Transition FrameMetrics::mScrollId to use a getter/setter. r=botond
--HG--
extra : histedit_source : 1c84496d4b61f019e6e6cc24591ee3a10434e4cc
2014-03-21 17:48:08 -04:00
Botond Ballo
8f05eedcd6 Bug 984673 - Do not compress PBrowser::UpdateFrame. r=kats 2014-03-20 17:34:41 -04:00
Jed Davis
ae7a935120 Bug 943174 - Avoid waitpid on already-reaped content processes. r=bsmedberg 2014-03-21 08:50:07 -04:00
Timothy Nikkel
1e93340ce7 Bug 957668. Calculate and set display ports as margins in layer pixels. r=kats 2014-03-26 21:46:24 -04:00
Timothy Nikkel
c8ea0bb2cd Bug 986413. Limit composition bounds used for display port calculation to root composition bounds. r=kats 2014-03-26 19:24:25 -04: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
Ryan VanderMeulen
3b9993637f Merge inbound to m-c. 2014-03-20 17:03:59 -04:00
Carsten "Tomcat" Book
a04233feb4 Merge mozilla-central to b2g-inbound 2014-03-20 14:21:13 +01:00
Carsten "Tomcat" Book
e9c7dd6611 merge b2g-inbound to mozilla-central 2014-03-20 14:07:58 +01:00
Kyle Huey
839c762332 Bug 968031: Remove threadsafe refcounting from ContentParent and add it to the cycle collector graph. r=bent,mccr8 2014-03-19 17:22:25 -07:00
Tom Schuster
4731546af6 Bug 977904 - [e10s] Get native key bindings working. r=masayuki 2014-03-20 16:46:29 +01:00
Carsten "Tomcat" Book
173ff6dc38 Merge mozilla-central to b2g-inbound 2014-03-19 16:30:49 +01:00
Cervantes Yu
53aa9fe207 Bug 959966: prevent the preallocated process from being killed by the lowmem killer by rasing its priority. r=khuey,gsvelto 2014-03-13 15:24:42 +08:00
Ryan VanderMeulen
3cc6fed3ff Backed out changeset 9c3f1b715943 (bug 862519) for multiple mochitest failures.
CLOSED TREE
2014-03-18 13:00:32 -04:00
Bill McCloskey
e6388b7f5b Bug 862519 - [e10s] Better handling of key commands also handled by content (r=smaug) 2014-03-18 08:16:47 -07:00
Bill McCloskey
2c4583124c Back out bug 862519 on a CLOSED TREE 2014-03-18 08:14:47 -07:00
Felipe Gomes
359cc5f512 Bug 862519 - [e10s] Better handling of key commands also handled by content (r=smaug) 2014-03-18 08:00:28 -07:00
Masayuki Nakano
3234ceea19 Bug 983049 part.5 Rename nsEventDispatcher to mozilla::EventDispatcher r=smaug
--HG--
rename : dom/events/nsEventDispatcher.cpp => dom/events/EventDispatcher.cpp
rename : dom/events/nsEventDispatcher.h => dom/events/EventDispatcher.h
2014-03-18 13:48:21 +09:00
Masayuki Nakano
a8aba2b26c Bug 983049 part.2 Rename nsEventChainPreVisitor to mozilla::EventChainPreVisitor r=smaug 2014-03-18 13:48:19 +09:00
Yuan Xulei
3727a70039 Bug 934368 - Implement |remove| and |removeDeep| for Directory. r=dhylands 2014-03-12 14:30:21 +08:00
Neil Rashbrook
604d9a5302 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher
c879b47079 Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook
3e8915c4b8 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Masayuki Nakano
fbf7cdeb19 Bug 981261 part.5 Rename nsEventListenerManager to mozilla::EventListenerManager r=smaug
--HG--
rename : dom/events/nsEventListenerManager.cpp => dom/events/EventListenerManager.cpp
rename : dom/events/nsEventListenerManager.h => dom/events/EventListenerManager.h
2014-03-17 15:56:53 +09:00
Kyle Huey
817b5ccbd9 Bug 345123: Remove nsGetterAddRefs<T>'s operator nsISupports**. r=bsmedberg 2014-03-15 12:00:17 -07: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
Carsten "Tomcat" Book
404c566097 merge b2g-inbound to mozilla-central 2014-03-13 12:54:33 +01:00
Botond Ballo
6ddcfa998d Bug 980493 - Transition FrameMetrics::mZoom to use a getter/setter. r=kats 2014-03-12 12:46:57 -04:00
Botond Ballo
fb8f0cf40a Bug 980493 - Transition FrameMetrics::mScrollOffset to use a getter/setter. r=kats 2014-03-13 02:34:34 -04:00
Wes Kocher
e0a2166785 Merge m-c to b-i 2014-03-12 21:22:36 -07: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
Jed Davis
220bf0148e Bug 976398 - Check camera permissions directly instead of using Unix groups. r=mwu r=bent
Loosely based on the code used to check PRemoteOpenFile.
2014-03-12 15:48:15 -07:00
Carsten "Tomcat" Book
72f33bb3e4 merge b2g-inbound to mozilla-central 2014-03-12 12:23:01 +01:00
Wes Kocher
fe7f61db41 Merge m-c to b-i 2014-03-11 18:39:35 -07:00
Reuben Morais
86adb61852 Bug 946239 - Divert download channels to the parent process. r=bz 2014-03-11 19:41:48 -03:00
Bill McCloskey
28f31675e3 Bug 972420 - [e10s] Don't send keypress if keydown was prevented (r=smaug) 2014-03-11 20:13:38 -07:00
Kartikaya Gupta
970dd88d16 Bug 981029 - Save and apply an input transform to input events from the APZ. r=botond
This accounts for the fact that in some cases we may not apply all of the
requested paint metrics from the APZ, leaving the two sides of the
GeckoContentController interface out of sync (on purpose).
2014-03-12 15:27:45 -04:00
Kartikaya Gupta
f53f829010 Bug 981029 - Change the GeckoContentController interface to take CSSPoint instead of CSSIntPoint. r=botond 2014-03-12 15:27:45 -04:00
Kartikaya Gupta
eefe857895 Bug 981029 - Make ProcessUpdateFrame behave in less magical ways. r=botond
Replace the always-true return value, with a FrameMetrics object that
reflects the final metrics put in place. Also remove the side-effect of
assigning mLastRootMetrics and put that in the call sites instead.
2014-03-12 15:27:44 -04:00
Bob Owen
4d2566c440 Bug 982555 - Correct message in TabChild::DestroyBrowserWindow. r=smaug 2014-03-12 08:36:04 +00: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
Kartikaya Gupta
7580a2719b Bug 981800 - Kill the three-parameter version of ReceiveInputEvent since it is redundant. r=botond 2014-03-10 17:59:46 -04:00
Botond Ballo
ecc98dfd21 Bug 935219 - Fix composition bounds calculation and APZC hit testing (again). r=kats,tn
--HG--
extra : amend_source : 06c6bb658dfead6907250831bbe73fae6c20b45c
2014-03-10 17:56:59 -04:00
Ryan VanderMeulen
1adee1da91 Merge m-c to inbound. 2014-03-10 11:29:15 -04:00
Cervantes Yu
365d3ab03a Bug 977539 - Add initialization of date cache cleaner to the chrome process. r=khuey 2014-03-10 08:36:12 -04:00
Blake Kaplan
849fa92484 Bug 980586 - Remove old e10s prompt code. r=smaug 2014-03-10 08:57:07 -04:00
Robert O'Callahan
c7726a24e4 Bug 975931. Part 5: Propagate scrolling behavior for non-app non-browser remote <iframe>s. r=khuey
--HG--
extra : rebase_source : 22af85668d4e1f286c0887dd31842cd67f29f3f2
2014-02-24 18:45:14 +13:00
Ed Morley
f60c92c019 Backed out changeset f94ee00aa4d6 (bug 974197) for causing gaia-ui-test failures 2014-03-07 15:45:59 +00:00
Matt Woodrow
abce112be1 Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc 2014-03-07 16:24:32 +13:00
Jed Davis
48811df64e Bug 968002 - Reject AddNewProcess from non-Nuwa children. r=bent 2014-03-06 08:52:52 -05:00
Ryan VanderMeulen
9ded68150d Merge m-c to inbound on a CLOSED TREE. 2014-03-05 16:08:02 -05:00
Botond Ballo
f3ffb400d5 Bug 978840 - Calculate displayport based on up-to-date scrollable rect on first paint. r=tn
--HG--
extra : rebase_source : b370dd7d139f41d6da41c464fa700c9ecfd212c4
2014-03-04 19:02:37 -05: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
Carsten "Tomcat" Book
9e48d03b18 merge mozilla-inbound to mozilla-central 2014-03-05 13:04:39 +01: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
Ryan VanderMeulen
ef8c288996 Merge inbound to m-c. 2014-03-04 17:12:58 -05:00
Alan Huang
4ec2e0e0ce Bug 971612 - Implement "mount" and "unmount" API for device storage. r=dhylands 2014-03-04 19:24:19 +08:00
Jed Davis
900543cc8b Bug 974540 - Fix nsMemoryReporterManager child count for Nuwa. r=khuey 2014-03-03 17:27:03 -05:00
Masayuki Nakano
576bee785c Bug 974318 part.10 Remove WidgetTextEvent::rangeCount and WidgetTextEvent::rangeArray r=smaug 2014-03-04 22:48:28 +09:00
Ben Turner
9f9c744107 Bug 934142, remove faulty assertion. r=khuey. 2014-03-04 15:10:44 -08:00
Tim Taubert
bfc61b1fc7 Bug 978540 - Follow-up to explicitly discard unused return value r=bustage 2014-03-03 10:05:13 +01:00
Tim Taubert
1c7f552f2e Bug 978540 - [e10s] Correctly maintain active state for remote docShells r=smaug 2014-02-20 12:26:13 +01: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
Ryan VanderMeulen
0d7b59001e Backed out changeset 6f05267b4afc (bug 798033) for Android bustage. 2014-03-05 09:55:52 -05:00
snigdha
a441998156 Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey 2014-03-05 08:47:45 -05:00
Bill McCloskey
c9167b34e7 Bug 862519 - [e10s] Better handling of key commands also handled by content (r=smaug) 2014-03-18 08:16:47 -07:00
Milan Sreckovic
3dfa3dead4 Bug 971942: 1. layers.async-video.enabled moved to gfxPrefs and only evaluated at startup. r=nsilva 2014-02-26 21:52:54 -05:00
Masayuki Nakano
4fac2c03ae Bug 961704 part.2 Add an option to nsIMEUpdatePreference which prevents to be notified selection/text changes caused by composition r=smaug 2014-02-26 09:48:02 +09:00
Matt Woodrow
8e879058a1 Bug 975592 - Make sure we find the correct composition manager when updating child process layer trees. r=nical
--HG--
extra : rebase_source : 5e1457117293c74a362a0570aca2673c90038334
2014-02-25 11:45:40 +13:00
Gabriele Svelto
11bc10edd4 Bug 975434 - Remove the ability to cancel memory minimizations. r=njn 2014-02-25 16:37:30 +01:00
Carsten "Tomcat" Book
b890bb080b merge b2g-inbound to mozilla-central 2014-02-25 14:30:13 +01:00
Phil Ringnalda
478c62f613 Back out b157f5d0c235 (bug 974197) for b2g reftest-4 and reftest-6 failures
CLOSED TREE
2014-02-24 21:06:18 -08: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
Shih-Chiang Chien
0cf3dd66b5 Bug 898949 - Part 1, add optios in permission prompt for Video/Audio device selection. r=fabrice,khuey 2013-09-10 17:41:59 +02:00
Tom Schuster
807457ab88 Bug 963294 - [e10s] Implement a proxy for the color picker. r=jdm 2014-02-23 21:19:43 +01:00
Phil Ringnalda
39a0501f12 Back out 5e4cee2fcbc6 (bug 963294) for build bustage
CLOSED TREE
2014-02-23 12:59:52 -08:00
Tom Schuster
1a72f691ab Bug 963294 - [e10s] Implement a proxy for the color picker. r=jdm 2014-02-23 21:19:43 +01:00
Wes Kocher
0b325e0d38 Merge m-c to inbound 2014-02-21 18:55:53 -08:00
Kartikaya Gupta
1ac3aca311 Bug 968991 - Only initialize the root metrics after getting both before-first-paint and the mInnerSize dimensions. r=botond 2014-02-21 18:12:43 -05:00
Reuben Morais
dc4498390b Bug 951785 - For browser content, unless explicitly denied for the app, consider permissions for the requesting origin, not the requesting app. r=sicking
--HG--
extra : rebase_source : 83d71d004f193c597f19a3cead1682698579d3d5
2014-02-21 16:56:19 -03:00
Mark Hammond
9cb5162643 Bug 935793 (part 2) - rename browser-shown notifications and send them for all frames. r=smaug 2014-02-21 09:19:18 +11:00
Ryan VanderMeulen
9e4f57bee6 Merge inbound to m-c. 2014-02-19 15:37:55 -05:00
Alan Huang
94fb5bb896 Bug 971615 - Implement "storageStatus" API for device storage. r=dhylands 2014-02-19 10:48:05 +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
Tom Schuster
fcfec864b1 Bug 910384 - Change nsFilePickerProxy to be asynchronous and add a proper IPDL protocol for it. r=jdm 2014-02-18 01:30:06 +01:00
Masayuki Nakano
e173e98fbd Bug 965685 Use IMENotification struct for nsIWidget::NotifyIME() and merge NotifyIMEOfTextChange() with it r=smaug, sr=roc 2014-02-18 09:00:15 +09:00
Phil Ringnalda
7d3085e511 Merge b-i to m-c 2014-02-15 10:01:36 -08:00
Ryan VanderMeulen
e5c64f7c66 Merge m-c to b2g-inbound 2014-02-14 15:32:34 -05: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
Vivien Nicolas
4c5a2939f1 Bug 972081 - Highlighting seems broken with APZC enabled. r=kats,fabrice 2014-02-15 01:45:45 +01:00
Vivien Nicolas
36d071027d Bug 965805 - Calling nsITabParent::InjectTouchEvent can results into an out of sync TabParent::mEventCaptureDepth. r=kats 2014-02-15 01:45:44 +01:00
Gabriele Svelto
57d27b5e54 Bug 971728 - Use memory-pressure events instead of minimization when sending an app to the background. r=khuey 2014-02-12 16:50:39 +01:00
Botond Ballo
a0cf20ef88 Bug 964517 - Set TabContext's containing app ID correctly for app frames. r=roc 2014-02-19 12:10:07 -05:00
Peiyong Lin
6e0b9f4add Bug 970821 - Use an array of observer topic strings in ContentParent. r=njn.
--HG--
extra : rebase_source : 92c9a0e2f1f1737cc074549aeeb41e7dd4514adc
2014-02-12 22:55:28 -08:00
Olli Pettay
51e4523cfd Bug 927078 - Don't copy string data when sending messages using message manager, r=bsmedberg 2014-02-25 04:14:22 +02:00
Kartikaya Gupta
a6da33b738 Bug 941995 - Disable double-tapping and click delay on pages that are device-width or narrower (B2G). r=mbrubeck,botond 2014-02-24 19:22:45 -05:00
Matt Woodrow
31f16514d3 Bug 974197 - Fire MozAfterPaint after the compositor runs. r=roc 2014-02-25 12:55:39 +13:00
Bill McCloskey
40617f3160 Bug 910384 - [e10s] Use blobs for cross-cross file picker (r=bent) 2014-02-24 13:09:03 -08:00
Bill McCloskey
84c750bcb9 Bug 960783 - Add nsILoadContext flags for remote (out-of-process) windows (r=ehsan) 2014-02-11 09:00:54 -08:00
Kyle Huey
80cc737413 Bug 968536: Remove ContentParent's phone-state-changed observer. r=njn 2014-02-11 17:51:12 +08:00
Phil Ringnalda
68b5a2f96d Merge m-c to m-i 2014-02-09 18:49:43 -08:00
Bill McCloskey
c637f05bd4 Bug 966467 - Proxy clipboard service in content process (r=vlad) 2014-02-09 16:13:10 -08:00
Alfredo Yang
3853c6783a Bug 853356 - gUM video permisson prompt. r=fabrice, felipc, wjohnston, mrbkap, jimm, jesup, khuey, jsmith 2014-02-09 15:34:40 -05:00
Kyle Huey
43a19a73a5 Bug 968542 - Prevent IPC blobs from entraining ContentParent objects. r=bent 2014-02-07 16:14:59 -08:00
Doug Sherk
c2424a51a2 Bug 964421 - Add a mechanism to HandleLongTap(Up) to allow content to preventDefault touches and stop panning while long tapping. r=kats 2014-02-07 18:13:50 +01:00
Gabriele Svelto
bbff24bbde Bug 968297 - Prevent the priority manager from changing the Nuwa process priority. r=khuey 2014-02-06 19:28:21 +01:00
Olli Pettay
71078c57ef Bug 964462, simplify ipc offline resource refcounting, r=mayhemer
--HG--
extra : rebase_source : 362ce98a10c25f7e3263f23736a18d2bcfb16e75
2014-02-06 16:16:41 +02: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
Carsten "Tomcat" Book
4c8a63af86 merge b2g-inbound to mozilla-central 2014-02-06 13:17:08 +01:00
Jed Davis
aae5a78b65 Bug 967967: Record that children of Nuwa start with full privileges. r=khuey
Otherwise, the fix for bug 921817 assumes that they've already dropped
permissions and enables system call sandboxing too early.
2014-02-05 15:41:43 -08:00
Ryan VanderMeulen
fdde61f354 Merge b2g-inbound to m-c. 2014-02-05 15:47:36 -05:00
Bill McCloskey
55fab4d8d9 Bug 962604 - Add ActorDestroy handling to CPOWs (r=mrbkap) 2014-02-05 08:39:59 -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
Fabrice Desré
5a5fa6d369 Bug 950266 - Re-enable the Nuwa process on B2G by default r=me 2014-01-14 16:00:25 -08:00
Fabrice Desré
7d09516b33 Bug 964087 - Display the correct name for Nuwa processes r=khuey 2014-02-03 10:58:11 -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
Ryan VanderMeulen
cee4476a72 Merge m-c to inbound. 2014-02-01 17:22:56 -05:00
Ryan VanderMeulen
31a6a29b5a Backed out changeset ca2ab9f4ac9c (bug 950266) for suspicion of causing bug 966582. 2014-02-01 14:39:56 -05:00
Fabrice Desré
0b097b1807 Bug 966502 - Use Cu.cloneInto() instead of ObjectWrapper.jsm r=baku 2014-02-01 11:06:59 -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
Fabrice Desré
89b53518cc Bug 950266 - Re-enable the Nuwa process on B2G by default r=me 2014-01-14 16:00:25 -08:00
Wes Kocher
c8a0ee314e Backed out 2 changesets (bug 950266) for making test_webapps_actor.html permaorange and mochitest-9's log permaoverflowing
Backed out changeset e3e75f44864b (bug 950266)
Backed out changeset 2963f15842fc (bug 950266)
2014-01-30 17:24:11 -08:00
Fabrice Desré
093603aa8f Bug 950266 - Re-enable the Nuwa process on B2G by default r=me 2014-01-14 16:00:25 -08:00
Reuben Morais
db2232203f Bug 955906 - Use app origin instead of manifest URL to get the app principal. r=sicking 2014-01-29 17:03:50 -05:00
Doug Sherk
868061f116 Bug 968112: Remove acceleration code from APZC r=kats 2014-02-05 15:15:05 +01:00
Ryan VanderMeulen
1151d8d8c4 Merge m-c to inbound. 2014-01-31 21:16:16 -05: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
Makoto Kato
be574cbe7a Bug 960877 - Part 3. Always notice IME information to parent process for supporting NS_QUERY event if not B2G. r=masayuki 2014-01-29 18:32:39 +09:00
Makoto Kato
95d1734bbb Bug 960877 - Part 2. Remove mWantHints from nsIMEUpdatePreference. r=masayuki 2014-01-29 18:32:35 +09:00
Doug Sherk
90d3ebe5fd Bug 937343: Use out event instead of immutable event for wheel events in TabParent r=kats 2014-01-27 18:03:30 +00:00
Doug Sherk
931a473345 Bug 937343: Remove unchanged touches from touch event sent to RenderFrameParent r=kats 2014-01-27 17:41:12 +00:00
Vivien Nicolas
ee9dd904f4 Bug 964261 - Declare a widget to events created by TabParent::InjectTouchEvent. r=kats 2014-01-28 12:42:44 +01:00
Kai-Zhen Li
dae4fbfbe8 Bug 952693 - Set priority of NUWA to hal::PROCESS_PRIORITY_MASTER. r=khuey 2013-12-22 17:21:02 +08:00