зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1648333 - Make sure there's no custom cursor when popping up the slow script dialog. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D81140
This commit is contained in:
Родитель
e7b1c3e32f
Коммит
4fee54db8e
|
@ -4754,6 +4754,9 @@ nsGlobalWindowInner::ShowSlowScriptDialog(JSContext* aCx,
|
|||
}
|
||||
mHasHadSlowScript = true;
|
||||
|
||||
// Override the cursor to something that we're sure the user can see.
|
||||
SetCursor(NS_LITERAL_CSTRING("auto"), IgnoreErrors());
|
||||
|
||||
if (XRE_IsContentProcess() && ProcessHangMonitor::Get()) {
|
||||
ProcessHangMonitor::SlowScriptAction action;
|
||||
RefPtr<ProcessHangMonitor> monitor = ProcessHangMonitor::Get();
|
||||
|
|
Загрузка…
Ссылка в новой задаче