cannot call method newHttpRequest

22 views
Skip to first unread message

Mark Gibson

unread,
Mar 9, 2012, 12:03:47 PM3/9/12
to Google API Libraries for GWT
I am trying to get api explorer working and getting following error:

com.google.gwt.core.client.JavaScriptException: (TypeError): Cannot
call method 'newHttpRequest' of undefined at
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
248)

Has the injection script changed
https://ssl.gstatic.com/gb/js/ae_f85e3bd0744c7080861c3ae42085d071.js

looking at the injection script it seems to have a
googleapis.ApiService.makeHttpRequest instead of
googleapis.newHttpRequest
and googleapis doesnt even seem to get assigned to $wnd though it does
seem to be present as window.googlesapis

is this stuff being maintained?

thanks for your help
mark gibson

magi...@mdsol.com
Reply all
Reply to author
Forward
0 new messages