Wow! Isn't this somewhat serious? It looks that it bypass the browser's security model, XSS and all that...
That was one fascinating thread to watch. On Wed, Aug 23, 2017 at 4:33 PM, Thomas Broyer <[email protected]> wrote: > > > On Wednesday, August 23, 2017 at 2:31:20 PM UTC+2, Kirill Prazdnikov wrote: >> >> public static native FileReader newFileReader() /*-{ >>> return new *$wnd*.FileReader(); >>> }-*/; >>> >>> >> This will not help, fileReader.resultArrayBuffer()returns not a instance >> of $wnd.ArrayBuffer anyway. >> > > Ouch! You're unfortunately right: https://jsfiddle.net/wuvbnpz6/1/ > …at least in Chrome; because Firefox works as intended! > Please report the bug at https://crbug.com (if no-one did already), and > in the mean time, use name="Object", or possibly use a Java interface > rather than a class. > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/google-web-toolkit. > For more options, visit https://groups.google.com/d/optout. > -- Vassilis Virvilis -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
