It should be possible, from 

Can you file a bug in the issue 

On Wednesday, September 21, 2016 at 9:38:16 AM UTC+2, Nándor Előd Fekete 
> Hi everyone!
> Are we supposed to be able to extend native (browser) JsTypes from Java? 
> Specifically, having the following declaration (from Elemental2):
> @JsType(isNative = true, namespace = JsPackage.GLOBAL)
> public class HTMLDivElement extends HTMLElement {...}
> and the extending type
> public class DummyElement extends HTMLDivElement {...}
> I'm getting TypeError: Illegal invocation from the compiled js code when 
> it tries to define the class 
> ( 
> (, while copying native properties from the extends js 
> type's prototype. The property in this case is 'align' but it happens on 
> other browser native properties too.
> Thanks for the help!
> All the best,
> Nandi.

You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to