I'm using GWT 2.4. On Chrome 16 (beta) when I call Window.confirm I get an exception. The stack trace is: Caused by: java.lang.Throwable: (TypeError): Cannot read property 'hasPort' of undefined at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:248) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeBoolean(ModuleSpace.java:184) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeBoolean(JavaScriptHost.java:35) at com.google.gwt.user.client.Window.confirm(Window.java) at it.indacosoftware.yap.client.forms.home.HomePresenter.processEvent(HomePresenter.java:1133)
The dialog is correctly displayed then when I click Ok or Cancel I get the exception. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/N82CWJhwzFgJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
