gecko-dev/dom/xhr
Sean Feng 12424aa6b0 Bug 1662265 - Fix input events handling for sync XHR when both TaskController and e10s are enabled r=smaug
There are two issues in our current setup

1) Input events which are occurring in the same tab are going to be lost
because sync XHR. We have event handling suppression for synx XHR, so input
events are going to be discarded.

2) Input events that are happening in another tab (same process as the
synx XHR tab) are not going to be delayed. This is not correct since
sync XHR should block the Javascript execution.

This patches fixes the above cases for when both TaskController and e10s are
enabled by suspending the InputTaskManager during sync XHR, which
delays the input event handling and keeps the events around.

Differential Revision: https://phabricator.services.mozilla.com/D90780
2020-12-15 01:33:24 +00:00
..
tests Bug 1662265 - Fix input events handling for sync XHR when both TaskController and e10s are enabled r=smaug 2020-12-15 01:33:24 +00:00
XMLHttpRequest.cpp
XMLHttpRequest.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
XMLHttpRequestEventTarget.cpp Bug 1673931 - Avoid including DebuggerNotificationBinding.h from header files. r=nika 2020-12-10 11:09:32 +00:00
XMLHttpRequestEventTarget.h Bug 1673931 - Avoid including DebuggerNotificationBinding.h from header files. r=nika 2020-12-10 11:09:32 +00:00
XMLHttpRequestMainThread.cpp Bug 1662265 - Fix input events handling for sync XHR when both TaskController and e10s are enabled r=smaug 2020-12-15 01:33:24 +00:00
XMLHttpRequestMainThread.h Bug 1676369 - Avoid including nsIHttpChannel.h from header files. r=#necko-reviewers 2020-11-23 16:10:11 +00:00
XMLHttpRequestString.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=andi,necko-reviewers,dragana 2020-11-16 22:09:25 +00:00
XMLHttpRequestString.h Bug 1626555 - Add `dom/xhr` to the list of non-unified-build-compatible directories. r=sg 2020-11-16 19:57:35 +00:00
XMLHttpRequestUpload.cpp
XMLHttpRequestUpload.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
XMLHttpRequestWorker.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
XMLHttpRequestWorker.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00