Commit Graph

2506 Commits

Author SHA1 Message Date
Bill McCloskey
5389443ac0 Bug 1121676 - Use a lock to protect the list of top-level actors (r=bent) 2015-03-20 12:02:41 -07:00
Bill McCloskey
43e2889b51 Bug 1132072 - Handle RequestNotifyLayerTreeReady when RenderFrameParent not ready (r=dvander) 2015-03-20 11:52:43 -07:00
Kartikaya Gupta
c318671429 Bug 1144831 - Remove the HandleLongTapUp callback and just use HandleSingleTap instead. r=botond 2015-03-20 14:26:52 -04:00
Alexandre Lissy
944a871aef Bug 1144080 - Disable mochitests on Mulet for TaskCluster. r=ahal 2015-03-20 00:45:00 +01:00
Boris Zbarsky
54c64f20a9 Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp.  The
rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Bill McCloskey
e7aee957c0 Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-19 06:43:46 -07:00
Kartikaya Gupta
bda9d932e3 Bug 1122090 - Send the allowed behaviour notification to APZ for touch blocks when touch-action is enabled. r=botond 2015-03-19 06:33:33 -04:00
Phil Ringnalda
bc03d24e02 Backed out 3 changesets (bug 1126089) for ASan e10s bc1 failures and green-crashes
CLOSED TREE

Backed out changeset 9af9111e9c27 (bug 1126089)
Backed out changeset 288efd5e2ca0 (bug 1126089)
Backed out changeset 3bcebfd13538 (bug 1126089)
2015-03-18 21:51:34 -07:00
Ben Turner
c323e57869 Bug 1134309 - Fix slice handling when the first access is from a remote input stream, r=khuey. 2015-03-16 20:52:57 -07:00
Bill McCloskey
d15acaca2d Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-18 16:09:27 -07:00
Wes Kocher
3cb9381c14 Merge m-c to inbound a=merge CLOSED TREE 2015-03-18 16:00:39 -07:00
Gregor Wagner
f8527dd881 Backout Bug 1114935 for causing bug 1144567. 2015-03-18 11:48:52 -07:00
Ting-Yu Chou
573fcb9781 Bug 1128505 - Preload Webapps.js for faster mozApps instantiation. r=fabrice 2015-03-18 11:40:29 +08:00
Andrew McCreight
28d454972f Bug 1069643 - Remove always failing call to GetCPOWManager from ContentChild::Init. r=billm a=ryanvm 2015-03-18 11:36:04 -07:00
Bevis Tseng
c51611c7a1 Bug 1114935 - Part 4.2: Add IPC Implementation of nsIIccService. r=echen 2015-01-07 16:58:35 +08:00
Bevis Tseng
49132aac30 Bug 1114935 - Part 3: Define new IPDL Protocol for nsIIccService. r=echen 2015-01-07 14:53:21 +08:00
Carsten "Tomcat" Book
84c26f0be2 Merge mozilla-central to b2g-inbound 2015-03-17 11:59:24 +01:00
Cervantes Yu
ec459256b1 Bug 1142935 - reset transports with NuwaAddConstructor(). r=tlee 2015-03-16 22:25:59 -07:00
Botond Ballo
8d53c88caa Bug 1036967 - Use ScaleFactors2D instead of ScaleFactor where appropriate in APZ and surrounding code. r=kats 2015-03-06 13:54:10 -05:00
Ryan VanderMeulen
a12c6d2dfc Backed out changesets f63a2cf3fa11 and 7d9a91ee3d48 (bug 1126089) for mochitest-bc failures. 2015-03-13 13:42:57 -04:00
Bill McCloskey
12af381a9e Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-13 08:24:20 -07:00
Botond Ballo
b7b1daa972 Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow 2015-03-06 18:07:59 -05:00
Kartikaya Gupta
1e28ba299b Bug 1143518 - Remove the TryCapture path which is now obsolete. r=smaug 2015-03-16 12:32:17 -04:00
Jonathan Griffin
84011a87cc Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Gabriele Svelto
38240b4580 Bug 852925 - Freeze priority changes when the screen is turned off. r=khuey 2015-03-09 16:33:33 +01:00
Gabriele Svelto
6b38c6d632 Bug 892371 - Adjust oom_score_adj values for foreground processes according to an LRU policy. r=dhylands, r=khuey 2015-02-25 09:37:38 +01:00
Chih-Kai (Patrick) Wang
1ad4e22f45 Bug 1129315 - require app processes update permissions after forked from nuwa. r=jdm 2015-03-12 16:53:22 +08:00
Jed Davis
f2e1032764 Bug 1140714 - Pass through remote NS_OpenAnonymousTemporaryFile failure to caller. r=billm 2015-03-10 10:32:00 +01:00
Kershaw Chang
db5c583893 Bug 1131444 - Close PContentBridge when content process is ended. r=khuey 2015-03-10 07:10:00 -04:00
Bob Owen
9a4eb936ac Bug 1137166: Change the Content moreStrict sandbox pref to an integer to indicate the level of sandboxing. r=tabraldes 2015-03-10 08:03:12 +00:00
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