Eric Rahm
c64a188b39
Improve perf of createAlternanteImpl
...
- Creates return-type specific return functions that are determined at
creation time.
- Splits off promise handling to it's own function. Overrides that use promises
must indicate so when creating the override with the usesPromise param.
- Updates overrides that use promises
2014-11-03 17:47:51 -08:00
Marco Castelluccio
820f2ef5da
Pass ctx as last optional parameter. Fixes #485 .
2014-10-27 12:37:53 +01:00
Marco Castelluccio
b910b87bdf
Use Native.create for async natives
2014-10-16 15:04:31 -07:00
Marco Castelluccio
4f7f79d985
Merge branch 'master' of https://github.com/andreasgal/j2me.js into port_other_natives
...
Conflicts:
tests/native.js
2014-10-16 10:34:45 -07:00
Marco Castelluccio
b9e42a0abe
Port other natives to use Native.create
2014-10-15 19:48:17 -07:00
Myk Melez
047111f4ed
test also calling the new Function
2014-10-14 14:39:47 -07:00
Myk Melez
df7e614d9f
use mozbrowser to enable privileges, local loading, and code evaluation
2014-10-12 22:36:22 -07:00
Marco Castelluccio
b2dfe25cbf
Add some native tests. Fixes #290 .
2014-10-09 19:11:38 -07:00
Marco Castelluccio
b1237a94b9
Rename utf8Test to decodeUtf8
2014-09-18 13:22:54 -07:00
Marco Castelluccio
cd1147c38f
Test UTF8 decoding in native. Fixes #180 .
2014-09-17 18:27:59 -07:00
Marco Castelluccio
7fadca70b4
Move fromJavaString test to NativeTest instead of relying on a real native
2014-09-17 18:15:29 -07:00
Myk Melez
e3653fac7e
add a test that checks the value of an int returned by a native
2014-09-16 09:56:07 -07:00