Fix typo in windowonerror property name Change-Id: I5cf0c2c7a1f5c35393cd08a3f06c53f90a045cd5
diff --git a/user/src/com/google/gwt/core/Core.gwt.xml b/user/src/com/google/gwt/core/Core.gwt.xml index cff43a5..5fcc52b 100644 --- a/user/src/com/google/gwt/core/Core.gwt.xml +++ b/user/src/com/google/gwt/core/Core.gwt.xml
@@ -91,8 +91,8 @@ - Only trap window.onerror if there is no current window.onerror handler (REPORT_IF_NO_HANDLER) - Do not trap anything (legacy behavior) (IGNORE) --> - <define-property name="gwt.uncaughtexceptionhander.windowonerror" values="IGNORE, REPORT, REPORT_IF_NO_HANDLER" /> - <set-property name="gwt.uncaughtexceptionhander.windowonerror" value="IGNORE"/> + <define-property name="gwt.uncaughtexceptionhandler.windowonerror" values="IGNORE, REPORT, REPORT_IF_NO_HANDLER" /> + <set-property name="gwt.uncaughtexceptionhandler.windowonerror" value="IGNORE"/> <!-- To support legacy logging flags --> <inherits name="com.google.gwt.logging.LogImpl"/>
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 5ca81a0..af2769d 100644 --- a/user/src/com/google/gwt/core/client/impl/Impl.java +++ b/user/src/com/google/gwt/core/client/impl/Impl.java
@@ -173,7 +173,7 @@ private static boolean onErrorInitialized; public static void maybeInitializeWindowOnError() { - if ("IGNORE".equals(System.getProperty("gwt.uncaughtexceptionhander.windowonerror"))) { + if ("IGNORE".equals(System.getProperty("gwt.uncaughtexceptionhandler.windowonerror"))) { return; } if (onErrorInitialized) { @@ -182,7 +182,7 @@ onErrorInitialized = true; boolean alwaysReport = "REPORT" - .equals(System.getProperty("gwt.uncaughtexceptionhander.windowonerror")); + .equals(System.getProperty("gwt.uncaughtexceptionhandler.windowonerror")); registerWindowOnError(alwaysReport); }