wokier / gwt-crypto

Automatically exported from code.google.com/p/gwt-crypto
8 stars 1 forks source link

Range error JavaScript exception when using Base64.encode on Android #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
 Running code "new String(Base64.encode(source.getBytes()))"
 where source is a string greater than 200k on Android.

What is the expected output? What do you see instead?
 I expected not to get a JavaScript RangeError. Other platforms 
 seem to handle it just fine.

What version of the product are you using? On what operating system?
 Running GWT 2.5 and gwt-crypto 2.3.0 on various platforms. 
 I only get this error on Android, have tested on Windows -> IE, 
 Windows -> FireFox, Linux -> FireFox, and Android 2.3.4

Please provide any additional information below.

Original issue reported on code.google.com by mstrfl...@gmail.com on 10 Jul 2013 at 8:33

GoogleCodeExporter commented 9 years ago
Whoops, sorry, that was decode, not encode.

Original comment by mstrfl...@gmail.com on 10 Jul 2013 at 8:37