gecko-dev/dom/ipc
Botond Ballo 2c1a3530e6 Bug 1340415 - Ensure main-thread and async autoscrolling do not happen at the same time. r=kats
The two happening at the same time can lead to the APZ autoscroll being
cancelled due to APZ receiving a main-thread scroll offset update.

To achieve this:

  - The content process assumes APZ is handling the autoscroll until
    told otherwise.

  - If the parent process knows APZ won't handle an autoscroll, it
    tells the content process via its response to the Autoscroll:Start
    message. This covers all cases where APZ doesn't handle the
    autoscroll, except the case where APZCTreeManager itself rejects
    the autoscroll and it lives in the compositor process rather than
    the parent process.

  - If APZCTreeManager rejects an autoscroll and it lives in the
    compositor process, it sends an 'autoscroll-rejected-by-apz' message
    to the content process.

MozReview-Commit-ID: L62v4COai6W

--HG--
extra : rebase_source : bc4c6417e77461634263defb88e67ed5036c454e
2017-10-18 18:18:13 -04:00
..
tests Bug 1393800 - Have mochitests expecting crashes wait for the crashes to be recorded before clean up; r=mconley 2017-08-25 12:47:09 +02:00
CPOWManagerGetter.h
CoalescedInputData.h Bug 1407700 Part1: Revise CoalescedInputData interfaces. r=smaug. 2017-10-12 11:22:36 +08:00
CoalescedMouseData.cpp Bug 1407700 Part2: Handle the case to re-entry event loop for mousemove coalescing. r=smaug. 2017-10-12 09:05:40 +08:00
CoalescedMouseData.h Bug 1404273 - [Pointer Event] Coalescing mousemove for different pointers. r=smaug. 2017-09-20 11:57:56 +08:00
CoalescedWheelData.cpp Bug 1361067 Part1: Refactor coalescing mouse wheel events. r=smaug. 2017-08-13 14:08:48 +08:00
CoalescedWheelData.h Bug 1361067 Part1: Refactor coalescing mouse wheel events. r=smaug. 2017-08-13 14:08:48 +08:00
ColorPickerParent.cpp
ColorPickerParent.h
ContentBridgeChild.cpp Bug 1390424 - Move ParentActivated message from PContent/PContentBridge back to PBrowser. r=billm 2017-08-23 17:02:57 +08:00
ContentBridgeChild.h Bug 1390424 - Move ParentActivated message from PContent/PContentBridge back to PBrowser. r=billm 2017-08-23 17:02:57 +08:00
ContentBridgeParent.cpp Backed out changeset 46d8f42863af (bug 1351148) 2017-08-11 15:19:44 +08:00
ContentBridgeParent.h Bug 1390424 - Move ParentActivated message from PContent/PContentBridge back to PBrowser. r=billm 2017-08-23 17:02:57 +08:00
ContentChild.cpp Bug 1404035 Address unused result warnings in dom/ipc/ r=smaug 2017-09-28 12:46:37 -05:00
ContentChild.h Bug 1401813 - Rename Null[C]String() as Void[C]String(). r=erahm. 2017-09-22 14:35:46 +10:00
ContentParent.cpp Bug 1404198: Part 2i - Switch to NS_NewTimer* in dom. r=njn 2017-10-15 23:15:40 -07:00
ContentParent.h Bug 1394520 - [1.2] Extend nsIBrowserDOMWindow to support content window creation without URI loading with e10s. r=smaug 2017-09-28 22:45:24 +02:00
ContentPrefs.cpp Bug 1403077 - implement the stylo blocklist mechanism. r=heycam 2017-09-27 20:35:21 +08:00
ContentPrefs.h
ContentProcess.cpp Bug 1394176 - Use default values for scheduler prefs if the parent process didn't send any. r=billm 2017-08-29 10:30:03 -07:00
ContentProcess.h
ContentProcessManager.cpp Bug 558184 - Part 7 - Keep track of the content parent that opened a tab so that ContentProcessManager::GetTopLevelTabParent can walk up to the top level tab parent for a JS plugin tab child. r=kanru. 2017-01-16 21:15:11 +01:00
ContentProcessManager.h Bug 558184 - Part 7 - Keep track of the content parent that opened a tab so that ContentProcessManager::GetTopLevelTabParent can walk up to the top level tab parent for a JS plugin tab child. r=kanru. 2017-01-16 21:15:11 +01:00
DOMTypes.ipdlh Bug 1343728 - Part 4: Remove the window creation sync IPC calls, r=billm, r=smaug 2017-06-28 12:25:30 -04:00
FilePickerParent.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
FilePickerParent.h
IdType.h
MemoryReportRequest.cpp
MemoryReportRequest.h
MemoryReportTypes.ipdlh
PBrowser.ipdl Backed out changeset 71790f0ea832 (bug 967895) 2017-10-09 19:18:12 +02:00
PBrowserOrId.ipdlh
PColorPicker.ipdl
PContent.ipdl Bug 1316153 - Remove base::ChildPrivileges from IPC. r=billm,bobowen 2017-09-08 16:16:50 -06:00
PContentBridge.ipdl Bug 1390424 - Move ParentActivated message from PContent/PContentBridge back to PBrowser. r=billm 2017-08-23 17:02:57 +08:00
PContentPermission.ipdlh
PContentPermissionRequest.ipdl
PCycleCollectWithLogs.ipdl
PDocumentRenderer.ipdl
PFilePicker.ipdl
PPluginWidget.ipdl
PProcessHangMonitor.ipdl Bug 1356334: Part 5 - Add add-on name to slow script messages. r=billm 2017-08-17 20:17:51 -07:00
PTabContext.ipdlh Bug 558184 - Part 8 - Load js plugins in a separate process. r=billm. 2017-05-29 12:38:46 +02:00
PURLClassifier.ipdl
PURLClassifierInfo.ipdlh Bug 1351147 - Use fullhash instead of prefix in OnClassifyComplete r=francois 2017-08-04 18:20:13 +08:00
PURLClassifierLocal.ipdl
PermissionMessageUtils.cpp
PermissionMessageUtils.h
PreallocatedProcessManager.cpp Bug 1363601 - Let the ContentParent destroy the preallocated process during shutdown. r=mrbkap 2017-08-08 13:32:57 +02:00
PreallocatedProcessManager.h Bug 1373660 - Block the preallocated process manager while a content process is being launched. r=mrbkap 2017-07-11 17:30:08 +02:00
ProcessHangMonitor.cpp Bug 1356334: Part 5 - Add add-on name to slow script messages. r=billm 2017-08-17 20:17:51 -07:00
ProcessHangMonitor.h Bug 1393230 - Part 1: Remove remaining string forward declarations. r=njn 2017-08-23 16:27:16 -07:00
ProcessHangMonitorIPC.h
ProcessPriorityManager.cpp Bug 1404198: Part 2i - Switch to NS_NewTimer* in dom. r=njn 2017-10-15 23:15:40 -07:00
ProcessPriorityManager.h Bug 1366356 - Decrease the process priority of content processes that are not running a foreground tab - part 1 - visibility logic, r=smaug 2017-06-07 09:59:00 +02:00
ServiceWorkerConfiguration.ipdlh
StructuredCloneData.cpp
StructuredCloneData.h
TabChild.cpp Bug 1407700 Part1: Revise CoalescedInputData interfaces. r=smaug. 2017-10-12 11:22:36 +08:00
TabChild.h Bug 1407700 Part2: Handle the case to re-entry event loop for mousemove coalescing. r=smaug. 2017-10-12 09:05:40 +08:00
TabContext.cpp Bug 1386825 - Part 1: Remove MOZ_B2G from dom. r=bkelly 2017-08-08 14:41:05 -07:00
TabContext.h Bug 558184 - Part 8 - Load js plugins in a separate process. r=billm. 2017-05-29 12:38:46 +02:00
TabMessageUtils.cpp
TabMessageUtils.h Bug 1388236 - Remove B2G-only AudioChannel code from dom/ipc. r=jwwang 2017-08-10 13:00:09 +12:00
TabParent.cpp Bug 1340415 - Ensure main-thread and async autoscrolling do not happen at the same time. r=kats 2017-10-18 18:18:13 -04:00
TabParent.h Bug 1390445 - Fix select popup positioning for oop extensions options_ui pages. r=billm,kats,kmag 2017-09-20 20:03:58 +02:00
TelemetryScrollProbe.cpp
TelemetryScrollProbe.h
URLClassifierChild.h Bug 1351147 - Use fullhash instead of prefix in OnClassifyComplete r=francois 2017-08-04 18:20:13 +08:00
URLClassifierParent.cpp
URLClassifierParent.h Bug 1351147 - Use fullhash instead of prefix in OnClassifyComplete r=francois 2017-08-04 18:20:13 +08:00
jar.mn
manifestMessages.js Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
moz.build Bug 1361067 Part1: Refactor coalescing mouse wheel events. r=smaug. 2017-08-13 14:08:48 +08:00
nsIContentChild.cpp Backed out changeset 46d8f42863af (bug 1351148) 2017-08-11 15:19:44 +08:00
nsIContentChild.h Bug 1391803 - Use nsStringFwd.h for forward declaring string classes. r=froydnj 2017-08-16 16:48:52 -07:00
nsIContentParent.cpp Backed out changeset 46d8f42863af (bug 1351148) 2017-08-11 15:19:44 +08:00
nsIContentParent.h Bug 1390424 - Move ParentActivated message from PContent/PContentBridge back to PBrowser. r=billm 2017-08-23 17:02:57 +08:00
nsIHangReport.idl Bug 1356334: Part 5 - Add add-on name to slow script messages. r=billm 2017-08-17 20:17:51 -07:00
remote-test.js Bug 1389650 - Change nsIDOMHTMLAnchorElement instanceof checks to getClassName; r=bz 2017-09-26 11:40:15 -07:00
test.xul