Bug 1830820 - Add tests for user input delay handling r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D186053
This commit is contained in:
@@ -1988,7 +1988,8 @@ bool PresShell::CanHandleUserInputEvents(WidgetGUIEvent* aGUIEvent) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (aGUIEvent->mFlags.mIsSynthesizedForTests) {
|
||||
if (aGUIEvent->mFlags.mIsSynthesizedForTests &&
|
||||
!StaticPrefs::dom_input_events_security_isUserInputHandlingDelayTest()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user