Commit Graph

2476 Commits

Author SHA1 Message Date
Bill McCloskey
c2eb53045f Bug 1139628 - Don't load delayed process scripts until channel is open (r=smaug) 2015-03-09 17:54:34 -07:00
Chris Peterson
21f229c594 Bug 1138198 - Remove unused/undefined member function ParticularProcessPriorityManager::OnChannelConnected. r=khuey 2015-02-28 22:49:57 -08:00
dvander@alliedmods.net
4c457d62a6 Translate coordinates in events synthesized from the child process. (bug 1126090 part 4, r=kats) 2015-03-06 14:26:59 -08:00
dvander@alliedmods.net
24b5711248 Events synthesized in the child process must be propagated back to the parent. (bug 1126090 part 3, r=smaug) 2015-03-06 14:26:59 -08:00
Bill McCloskey
c5baec6e18 Bug 1129223 - Introduce new, more efficient mozLayerTreeReady event (r=BenWa) 2015-03-05 22:03:23 -08:00
Mike Conley
f2dec0e9f0 Bug 1088070 - Rename nsPrintingPromptServiceProxy to nsPrintingProxy. r=smaug. 2015-03-05 13:12:41 -05:00
Paul Rouget
0f6af80f8b Bug 1138252 - Load BrowserElementPanning.js only if touch events are enabled. r=botond 2015-03-05 16:38:51 -08:00
Kearwood (Kip) Gilbert
957ced20f0 Bug 945584: Part 6 - Implementation of scroll snapping (v10 Patch), r=roc, r=kats
- Implemented CSS scroll snapping (http://dev.w3.org/csswg/css-snappoints/)
2015-02-19 15:53:30 -08:00
David Zbarsky
54eea5ad10 Bug 1139258 - Use ScreenIntSize in PBrowser::Show/UpdateDimensions r=botond 2015-03-05 04:13:05 -05:00
Carsten "Tomcat" Book
aa9c1a1e31 Backed out changeset a1c1f919b5b8 (bug 1088070) 2015-03-05 08:54:02 +01:00
Mike Conley
a6dfe73b2c Bug 1088070 - Rename nsPrintingPromptServiceProxy to nsPrintingProxy. r=smaug. 2015-03-02 14:34:05 -05:00
Wes Kocher
804c7069b1 Merge inbound to m-c a=merge CLOSED TREE 2015-03-03 16:46:44 -08:00
Ryan VanderMeulen
88718db0f7 Backed out 7 changesets (bug 1075670) for causing bug 1139010.
Backed out changeset 659c40243282 (bug 1075670)
Backed out changeset 45b61c78ee2d (bug 1075670)
Backed out changeset 23bb7b239c78 (bug 1075670)
Backed out changeset a68d5051107f (bug 1075670)
Backed out changeset bd7a5d213692 (bug 1075670)
Backed out changeset f705f5063169 (bug 1075670)
Backed out changeset 13619f8fa672 (bug 1075670)

CLOSED TREE
2015-03-03 18:44:56 -05:00
Mike Conley
26e0919b4a Bug 1066812 - Set AbortOnError in the ContentProcess on initialization. r=billm.
This will cause the content process to take itself down in the event that it
loses communication with the parent process. This case is particularly
important for the case where the parent process crashes while the content
process is blocked or busy on the main thread, as the content process will
no longer continue to exist as a zombie process, but will shut down after
a short delay.
2015-02-13 14:10:56 -05:00
Anish
b9d3be97ea Bug 958147 - Choose one of run-if or skip-if and get rid of the other.r=jmaher, mwargers 2015-03-03 08:46:37 -05:00
Daosheng Mu
208184386c Bug 1133391 - Remove unused variables in TabParent::RecvDispatchAfterKeyboardEvent. r=smaug. 2015-03-02 14:31:40 -08:00
Botond Ballo
8cfa4ebfb0 Bug 943537 - Fix bustage introduced by incorrect rebase across bug 1133492, to reopen a CLOSED TREE. r=bustage 2015-03-02 17:03:07 -05:00
Botond Ballo
cec8c47e17 Bug 943537 - Handle modifiers on tap events in RemoteContentController and ChromeProcessController. r=kats,mbrubeck 2015-03-02 16:41:02 -05:00
Botond Ballo
27f1fc4347 Bug 943537 - In the GeckoContentController interface, take the modifiers for tap events in 'widget modifier' format rather than 'DOM modifier' format. r=kats,mbrubeck 2015-03-02 16:38:07 -05:00
Ryan VanderMeulen
8daa309d90 Backed out changeset 3e9cc0ba5dfb (bug 1066812) for suspicion of causing B2G Nuwa mochitest crashes on a CLOSED TREE. 2015-03-02 11:58:12 -05:00
Mike Conley
eb4205771e Bug 1066812 - Set AbortOnError in the ContentProcess on initialization. r=billm.
This will cause the content process to take itself down in the event that it
loses communication with the parent process. This case is particularly
important for the case where the parent process crashes while the content
process is blocked or busy on the main thread, as the content process will
no longer continue to exist as a zombie process, but will shut down after
a short delay.
2015-02-13 14:10:56 -05:00
David Parks
ee7f4f1db7 Bug 1075670 - Use previous function for calculating process offset. r=smaug
On B2G, the primary frame for tab content was not giving the correct process offset so we revert back to the mechanism we used to have in nsSubdocumentFrame.
2015-02-24 11:06:57 -08:00
David Parks
765874f6fb Bug 1075670 - Fix PuppetWidget calculations wrt client offset. r=smaug
Change the PuppetWidget from defining screen coordinates from tab-content-relative to being based on actual screen geometry. PuppetWidgets can have position. In the parent process, the widget has a position and a separate client position (that includes OS window chrome... on Linux and Windows as others have no chrome). In the child process, the widget (non-origin) position, whose calculation compensates for the OS window decoration.
2015-02-04 04:00:28 -08:00
David Parks
462c259c6c Bug 1075670 - Cleanup content process widget-chrome behavior. r=smaug
Math for window chrome calculation was off on Linux. Removed redundant, and incorrect, math in favor of other better functions.
2015-01-30 15:55:27 -08:00
David Parks
aafa34403e Bug 1075670 - Use MozUpdateWindowPos event to notify content process of window move. r=smaug
TabParents now register for the MozUpdateWindowPos event on the chrome TopWindowRoot.  When the window is moved, the OS widget calls WindowMoved on its listener (the nsWebShellWindow), which sends a MozUpdateWindowPos event.
2015-01-26 11:45:54 -08:00
Maksim Lebedev
f389e8e2b3 Bug 1133492 - Extract some of nsPresShell into a separate TouchManager class. r=smaug 2015-02-24 22:20:00 -05:00
Gabriele Svelto
50b2350e9d Bug 1119277 - Remove the process CPU priority parameter and simplify all the associated code. r=khuey, r=dhylands 2015-02-26 12:43:22 +01:00
sarvjeet
d9648d2a64 Bug 995394: Removed parts of BrowserElementPanning.js that are only used when APZ is disabled and added that to a separte file BrowserElementPanningAPZDisabled.js r=botond, a=RyanVM 2015-02-25 13:33:21 -05:00
Wes Kocher
f2b0173ada Backed out 2 changesets (bug 995394) for m-dt orange on a CLOSED TREE
Backed out changeset a250f116b563 (bug 995394)
Backed out changeset da37f3c9b4ce (bug 995394)
2015-02-26 17:56:14 -08:00
sarvjeet
eb675d0db0 Bug 995394: Removed parts of BrowserElementPanning.js that are only used when APZ is disabled and added that to a separte file BrowserElementPanningAPZDisabled.js r=botond 2015-02-25 13:33:21 -05:00
Kartikaya Gupta
b204ae6120 Bug 1130455 - Remove the ScrollingBehavior code to propagate APZ and use gfxPrefs instead. r=roc,fabrice
The ScrollingBehavior passed around extensively in TabParent/TabChild is
entirely redundant now that the layers.async-pan-zoom.enabled pref definitively
controls whether or not APZ is enabled. All the code related to ScrollingBehavior
can be removed.
2015-02-26 08:47:01 -05:00
Olli Pettay
e5dc138581 Bug 1136322 - Optimize anon scopes from CC graph, r=mccr8 2015-02-25 00:23:53 +02:00
Blake Kaplan
72bb2f11be Bug 1087646 - Add a test. r=smaug 2015-02-24 12:54:40 -08:00
Ryan VanderMeulen
5ce7838926 Backed out 7 changesets (bug 1075670) for e10s browser_586068-browser_state_interrupted.js crashes.
Backed out changeset 4ca74b217fe8 (bug 1075670)
Backed out changeset 83199cfc333f (bug 1075670)
Backed out changeset 065b859e6525 (bug 1075670)
Backed out changeset a3e8329610d9 (bug 1075670)
Backed out changeset ced9055e0bcc (bug 1075670)
Backed out changeset e6d6f0c11133 (bug 1075670)
Backed out changeset b823c6c95030 (bug 1075670)

CLOSED TREE
2015-02-24 11:53:34 -05:00
David Parks
990fbd85af Bug 1075670 - Use previous function for calculating process offset. r=smaug
On B2G, the primary frame for tab content was not giving the correct process offset so we revert back to the mechanism we used to have in nsSubdocumentFrame.
2015-02-23 13:23:27 -08:00
David Parks
5ba7cdfc47 Bug 1075670 - Fix PuppetWidget calculations wrt client offset. r=smaug
Change the PuppetWidget from defining screen coordinates from tab-content-relative to being based on actual screen geometry. PuppetWidgets can have position. In the parent process, the widget has a position and a separate client position (that includes OS window chrome... on Linux and Windows as others have no chrome). In the child process, the widget (non-origin) position, whose calculation compensates for the OS window decoration.
2015-02-04 04:00:28 -08:00
David Parks
a0787612f2 Bug 1075670 - Cleanup content process widget-chrome behavior. r=smaug
Math for window chrome calculation was off on Linux. Removed redundant, and incorrect, math in favor of other better functions.
2015-01-30 15:55:27 -08:00
David Parks
90dd0b66a0 Bug 1075670 - Use MozUpdateWindowPos event to notify content process of window move. r=smaug
TabParents now register for the MozUpdateWindowPos event on the chrome TopWindowRoot. When the window is moved, the OS widget calls WindowMoved on its listener (the nsWebShellWindow), which sends a MozUpdateWindowPos event.
2015-01-26 11:45:54 -08:00
André Reinald
0f64952695 Bug 1083344 - Tighten rules for Mac OS content process sandbox - "core part". r=smichaud
--HG--
extra : histedit_source : 3c904474c57dbf086365cc6b26a55c34b2b449ae
2015-02-18 14:10:27 +01:00
Steven Michaud
8d63013d20 Bug 1110888 - Always do plugin IME in main process, even with e10s. r=masayuki,smaug 2015-02-20 10:37:02 -06:00
Bill McCloskey
4e4de22fc5 Bug 1133594 - Add support for message manager process scripts (r=smaug) 2015-02-19 17:13:02 -08:00
Bill McCloskey
356cb2178a Bug 1133594 - Hide nsFrameMessageManager::sChildProcessManager (r=smaug) 2015-02-19 17:12:38 -08:00
Bill McCloskey
84d5b3e69e Bug 1133594 - Make a common base class for message manager script globals (r=smaug) 2015-02-19 17:12:11 -08:00
Bill McCloskey
37371d7209 Bug 1133594 - Rename nsFrameScriptExecutor to nsMessageManagerScriptExecutor (r=smaug) 2015-02-19 17:10:44 -08:00
Jim Mathies
ba99c49d0c Bug 1132874 - Improve PPluginWidget shutdown logic. r=aklotz 2015-02-19 07:05:12 -06:00
Botond Ballo
2f49c99bef Bug 1132153 - Replace 'using namespace base' with specific using-declarations. r=dholbert 2015-02-11 15:01:26 -05:00
Kartikaya Gupta
ac598c5c78 Bug 1131695 - Ensure that mouse and touch events sent via BrowserElementParent to the child are offsetted correctly. r=fabrice 2015-02-16 21:41:49 -05:00
Kartikaya Gupta
5acfc1a9e0 Bug 1131695 - Extract a GetLayoutDeviceToCSSScale helper function in TabParent. r=fabrice 2015-02-16 21:41:48 -05:00
Ryan VanderMeulen
f19a6fcd25 Merge inbound to m-c. a=merge 2015-02-17 14:24:51 -05:00
Gabriele Svelto
648983dd11 Back out bug 1075670 for causing smoketest failures on B2G, bug 1133518 and friends. rs+a=kats 2015-02-17 10:39:35 -05:00
David Parks
51e2cb7da1 Bug 1130051 - Compress mousemove IPDL messages. r=kats
Compress mousemove IPDL messages so that they do not spam the content
process.
2015-02-13 15:34:04 -08:00
David Zbarsky
87b2587e77 Bug 1125040: Use LayoutDeviceIntPoint for GetChildProcessOffset r=botond 2015-02-15 13:52:28 -05:00
Wes Kocher
a78b056f0d Backed out 2 changesets (bug 1131695) for mochitest-1 failures on a CLOSED TREE
Backed out changeset 13af514d6aea (bug 1131695)
Backed out changeset 6823625f2042 (bug 1131695)
2015-02-13 12:43:20 -08:00
Kartikaya Gupta
c9c82c55da Bug 1131695 - Ensure that mouse and touch events sent via BrowserElementParent to the child are offsetted correctly. r=fabrice 2015-02-13 14:33:09 -05:00
Kartikaya Gupta
3fc85e72ae Bug 1131695 - Extract a GetLayoutDeviceToCSSScale helper function in TabParent. r=fabrice 2015-02-13 14:33:09 -05:00
Makoto Kato
271736bce5 Bug 1121313 - Part 2. Don't generate composition event on child process if parent process doesn't send composition event by NotifyIME. r=masayuki 2015-02-17 11:30:55 +09:00
Carsten "Tomcat" Book
95eff1ce3c Backed out changeset 516a170b8fda (bug 1131695) for android m4 perma failure on a CLOSED TREE 2015-02-17 09:28:52 +01:00
Carsten "Tomcat" Book
8dfe592dbc Backed out changeset 969d634fe396 (bug 1131695) for android m4 perma failures on a CLOSED TREE 2015-02-17 09:27:25 +01:00
Nigel Babu
ec7445fbdb Backed out changeset 456038b0bdb5 (bug 1121313) for M1,M2 bustage 2015-02-17 10:15:44 +05:30
Kartikaya Gupta
80d00d9760 Bug 1131695 - Ensure that mouse and touch events sent via BrowserElementParent to the child are offsetted correctly. r=fabrice 2015-02-16 21:41:49 -05:00
Kartikaya Gupta
8b350381c6 Bug 1131695 - Extract a GetLayoutDeviceToCSSScale helper function in TabParent. r=fabrice 2015-02-16 21:41:48 -05:00
Kartikaya Gupta
6428953d2d Bug 1132464 - Remove EventStateManager::GetChildProcessOffset in favor of TabParent::GetChildProcessOffset. r=smaug 2015-02-16 21:35:03 -05:00
Makoto Kato
d008ca3fc2 Bug 1121313 - Part 2. Don't generate composition event on child process if parent process doesn't send composition event by NotifyIME. r=masayuki 2015-02-17 11:30:55 +09:00
Blake Kaplan
509f64036c Bug 1086684 - disable this test on Android. a=KWierso to land on a CLOSED TREE 2015-03-27 14:51:01 -07:00
Blake Kaplan
6bc70ef6fc Bug 1086684 - Add a mochitest. r=mconley 2015-03-27 13:12:37 -07:00
Blake Kaplan
21be856b2c Bug 1086684 - Stash the full path for file inputs to avoid doing IPC at inopportune times. r=ehsan/bent/gps 2015-03-27 13:12:37 -07:00
Andrea Marchesini
b212600c95 Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
David Parks
40a829791b Bug 1075670 - Fix PuppetWidget calculations wrt client offset r=smaug 2015-02-04 04:00:28 -08:00
David Parks
5a1b0046fc Bug 1075670 - Cleanup content process widget-chrome behavior r=smaug 2015-01-30 15:55:27 -08:00
David Parks
ca2ece56de Bug 1075670 - Use MozUpdateWindowPos event to notify content process of window move r=smaug 2015-01-26 11:45:54 -08:00
Botond Ballo
898f44f6bb Bug 1127066 - Implement ChromeProcessController::HandleLongTapUp(). r=kats
--HG--
extra : source : 5857a51daa23da0090b92467cc7fe5c23354b981
2015-02-09 18:20:15 -05:00
Botond Ballo
3990a194be Bug 1127066 - Extract an APZEventState class from TabChild. r=kats
--HG--
extra : source : fc54993e0c836ca01f3900072227938e8c4b938c
2015-02-09 14:05:18 -05:00
Botond Ballo
2a72a77d84 Bug 1127066 - Extract SendSetTargetAPZCNotification and its helpers into APZCCallbackHelper. r=kats
--HG--
extra : source : 930454419509346f1002ea7486a128072688a921
2015-02-06 18:11:19 -05:00
Botond Ballo
412107100c Bug 1127066 - Extract a helper to apply the APZ callback transform to a touch event. r=kats
--HG--
extra : source : d938af56c1d8225d794f879a5771c9a17d6a402b
2015-02-05 18:02:27 -05:00
Botond Ballo
eaf4eff1d2 Bug 1127066 - Fold APZCCallbackHelper::UpdateCallbackTransform() into ScrollFrame(). r=kats
--HG--
extra : source : 5b78d9e9ba84408c898d9e0ab55ae30f437792c8
2015-01-28 17:40:29 -05:00
Ryan VanderMeulen
332621b1f2 Merge m-c to inbound. a=merge 2015-02-11 16:29:25 -05:00
Carsten "Tomcat" Book
a10c15ed70 Merge mozilla-central to b2g-inbound 2015-02-11 15:03:57 +01:00
Kan-Ru Chen (陳侃如)
9284939acb Bug 1126119 - Create SystemMessageCache and cache hasPendingMessage in content process. r=fabrice 2015-02-11 11:18:32 +01:00
Jonathan Kew
1470a1e836 Bug 1076657 pt 2 - Add writing-mode to the reply to NS_QUERY_TEXT_RECT event. r=masayuki 2015-02-10 15:28:05 +00:00
Ting-Yu Chou
8d7d92142b Bug 1127189 part 1 - Avoid redundant observers from ParticularProcessPriorityManager. r=khuey 2015-02-10 11:12:26 +08:00
Andrea Marchesini
3557feb052 Bug 984050 - Persist ServiceWorkerRegistrations. r=bent, r=nsm 2015-02-11 06:53:00 -05:00
Nicholas Nethercote
6ee3666899 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Jim Mathies
f280fb6361 merge backout 2015-02-09 12:38:30 -06:00
Jim Mathies
4800fa5cc6 Backout ee13449af6e7 (bug 1127378) on the suspicion that it caused bug 1130734. 2015-02-09 12:37:46 -06:00
Jim Mathies
f629e1435b Bug 1127378 - When tabs close notify PluginWidgetChild earlier in shutdown. Prevents PluginWidgetProxy messages sent to dead parent actors triggering content process aborts. r=akotz 2015-02-03 13:58:32 -06:00
Bill McCloskey
76a5104fdb Bug 1126245 - [e10s] Don't crash when opening new tabs from closed windows (r=bent) 2015-02-03 09:20:46 -08:00
Bill McCloskey
959d1a2d3f Bug 1124933 - Include crash reason when intentionally crashing content process (r=bent) 2015-02-03 09:09:27 -08:00
Jim Mathies
e27f69f258 Bug 1124933 - follow up to fix a bad inbound merge. r=bustage CLOSED TREE 2015-02-03 06:19:38 -06:00
Jim Mathies
36a40ecd2b Bug 1124933 - Add a generic api for annotating KillHard calls. r=billm 2015-02-03 05:59:10 -06:00
chunminchang
c56433b717 Bug 1102060 - Part2: Change the way to send/rcv for ScreenForBrowser. r=smaug 2015-02-03 16:03:28 +08:00
chunminchang
9df7469a59 Bug 1102060 - Part1: Add two new functions to get TabParent in ContentProcessManager by given ContentParentId and TabId. r=kanru 2015-02-03 16:03:29 +08:00
David Zbarsky
1330fc1496 Bug 1125040: Use LayoutDeviceIntPoint for nsLayoutUtils::GetEventCoordinatesRelativeTo and Touch::mRefPoint r=botond 2015-02-01 17:27:31 -05:00
Carsten "Tomcat" Book
2db6279161 Backed out changeset 5d32ab2da8a6 (bug 1127189) for m11 crashes 2015-02-09 13:22:46 +01:00
Ting-Yu Chou
93d58b32bd Bug 1127189 - part 1 - Avoid redundant observers from ParticularProcessPriorityManager. r=khuey
--HG--
extra : rebase_source : b076a3b4f78b347726f74c821d9425585f5e7c64
2015-02-09 14:11:34 +08:00
Jim Mathies
795218735d Bug 1130842 - Prior to aborting the child process due to an ipc processing error, annotate the child's crash report with the ipc failure reason text. r=billm 2015-02-08 12:37:21 -06:00
Andrea Marchesini
cbfac4c72d Bug 939509 - File constuctor should use lastModified attribute, r=bz 2015-02-07 18:29:22 +00:00
Olli Pettay
b7b3faa4e9 Bug 1124245, nsGlobalWindow::IsActive shouldn't depend on the state in nsFocusManager, r=Enn
--HG--
extra : rebase_source : 5fcd4611cc73651d9f7d1d498808847f26ff1d6b
2015-02-06 18:26:29 +02:00
Phil Ringnalda
8b344901ef Back out 3da63ccbadef (bug 984050) for Windows cppunit bustage
CLOSED TREE
2015-02-06 19:49:42 -08:00
Andrea Marchesini
dff0b85534 Bug 984050 - Persist ServiceWorker registrations, r=bent, r=nsm 2015-02-06 23:31:33 +00:00
Carsten "Tomcat" Book
27cd4c3c96 Backed out 6 changesets (bug 1075670) for bustage on a CLOSED TREE
Backed out changeset 4d68750b4e28 (bug 1075670)
Backed out changeset 4d34eb58c46d (bug 1075670)
Backed out changeset d3ac4fd82311 (bug 1075670)
Backed out changeset 8b72b1201661 (bug 1075670)
Backed out changeset cd6cf15b27cc (bug 1075670)
Backed out changeset bf710daef92b (bug 1075670)
2015-02-11 16:03:06 +01:00