From 62051c8a6daeca33da88ede383bb13c5099489ae Mon Sep 17 00:00:00 2001 From: keinhaar <10001689+keinhaar@users.noreply.github.com> Date: Fri, 10 Feb 2023 16:54:46 +0100 Subject: [PATCH] Fixed set- and clearTimeout to work in Firefox when debugging --- user/src/com/google/gwt/core/client/impl/Impl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user/src/com/google/gwt/core/client/impl/Impl.java b/user/src/com/google/gwt/core/client/impl/Impl.java index 879a3eb4b7..29c8cbeb2f 100644 --- a/user/src/com/google/gwt/core/client/impl/Impl.java +++ b/user/src/com/google/gwt/core/client/impl/Impl.java @@ -393,7 +393,7 @@ private static native Object undefined() /*-{ }-*/; private static native void watchdogEntryDepthCancel(int timerId) /*-{ - $wnd.clearTimeout(timerId); + clearTimeout(timerId); }-*/; private static void watchdogEntryDepthRun() { @@ -406,6 +406,6 @@ private static void watchdogEntryDepthRun() { } private static native int watchdogEntryDepthSchedule() /*-{ - return $wnd.setTimeout(@Impl::watchdogEntryDepthRun(), 10); + return setTimeout(@Impl::watchdogEntryDepthRun(), 10); }-*/; }