When you write in Java "new Credentials()" it will be translated to
referenced through GWT's special $wnd variable. If you now inject your
HelloJS library into the GWT iframe using ScriptInjector then "new
$wnd.Object instanceof Object" returns false as it checks the top window
Object against the iframe Object.
So use ScriptInjector.fromString/Url().setWindow(ScriptInjector.TOP_WINDOW)
for your Hello JS lib. Then it should work.
You received this message because you are subscribed to the Google Groups "GWT
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.