nMacD
unread,Jun 1, 2010, 3:46:16 AM6/1/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
We're using a custom-built application based on an embedded QTWebKit
browser and would like to be able to debug our GWT-based applications
in it, but there isn't, of course, a development-mode plug-in for
QtWebKit.
Looking through the GWT source, there is source code for an NPAPI-
based plug-in. QTWebKit supports NPAPI. The readme in the GWT codebase
indicates that the NPAPI plug-in is obselete and out-of-date and makes
reference to a show-stopper issue encountered on Firefox. I am able to
install this plug-in into ourQTWebKit browser and begin the debugging
process from Eclipse, but it quickly fails with:
com.google.gwt.dev.shell.HostedModeException: Something other than an
int was returned from JSNI method
'@com.google.gwt.core.client.JsArray::length()': JS value of type
JavaScript object(7), expected int
at
com.google.gwt.dev.shell.JsValueGlue.getIntRange(JsValueGlue.java:266)
at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:144)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeInt(ModuleSpace.java:
242)
So: Is it at all feasable to get the NPAPI plug-in working with
QtWebKit?