| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
This allows JavaScript call a Java function and returns a string back to JavaScript. This patch is needed by the current Gmail app.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
WebCoreFrameBridge.cpp needs to release NPObject to get proper ref count
because the way V8 binding works.
JObjectWraper holds a weak reference to the Java object to break cycles.
Also fix ScriptController::haveWindowShell to match KJS build, this should be
upstreamed to Chrome project (I am going to do it).
The binding does not use weak reference to hold Java objects, currently
it does not create cycles between Java and JavaScript objects. I didn't see
it is an issue here. A future work is to add logging/debugging code to
make sure global Java references are dropped.
|
|
|
|
|
|
|
|
|
|
| |
Implemented invoke Java methods and fecth Java fields from JavaScript.
Java-side access native-JS objects is not supported. JavaScript-side
modification of JS objects is not supported.
The implementation uses NPAPI, which is simple, but less efficient.
Java abstraction is very much copied from original WebCore/bridge/jni,
except all JSC bindings are replaced by NPAPI.
|
|
Not compiling yet, and not enabled in the build script. Get it checked it, and
will merge the branch back to master and work there.
|