зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1497393 Part 4 - Suppress event handling at the usual times in server when replaying, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D22860 --HG-- extra : rebase_source : f2daf3cf81931052e80a50d4f9057808d335328c
This commit is contained in:
Родитель
7d26be7959
Коммит
e96d35aa99
|
@ -1192,13 +1192,7 @@ const browsingContextTargetPrototype = {
|
|||
}
|
||||
const windowUtils = this.window.windowUtils;
|
||||
|
||||
// Events are not suppressed when running in the middleman, as we are in a
|
||||
// different process from the debuggee and may want to process events in
|
||||
// the middleman for e.g. the overlay drawn when rewinding.
|
||||
if (Debugger.recordReplayProcessKind() != "Middleman") {
|
||||
windowUtils.suppressEventHandling(true);
|
||||
}
|
||||
|
||||
windowUtils.suspendTimeouts();
|
||||
},
|
||||
|
||||
|
@ -1212,9 +1206,7 @@ const browsingContextTargetPrototype = {
|
|||
}
|
||||
const windowUtils = this.window.windowUtils;
|
||||
windowUtils.resumeTimeouts();
|
||||
if (Debugger.recordReplayProcessKind() != "Middleman") {
|
||||
windowUtils.suppressEventHandling(false);
|
||||
}
|
||||
},
|
||||
|
||||
_changeTopLevelDocument(window) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче