GWT Development Mode Plug-in for QTWebKit-based browser?

111 views
Skip to first unread message

nMacD

unread,
Jun 1, 2010, 3:46:16 AM6/1/10
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?

Brian Slesinsky

unread,
Oct 5, 2012, 1:02:48 PM10/5/12
to google-we...@googlegroups.com
The README is out of date. The code in the NPAPI directory is actually for the Chrome plugin now.

While it might be possible to get this to work, we don't plan on doing it. Instead I would suggest trying Super Dev Mode.

- Brian

On Thursday, October 4, 2012 6:46:51 AM UTC-7, Galak wrote:
I have the same problem and this is the only post which is talking about it.
There is anyone who can give me an answer ?
Thanks
Reply all
Reply to author
Forward
0 new messages