[Webkit-unassigned] [Bug 57230] Add to Chromium WebKit API methods for injecting Java objects into JavaScript

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 6 06:28:46 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=57230


Steve Block <steveblock at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |steveblock at google.com




--- Comment #1 from Steve Block <steveblock at google.com>  2011-04-06 06:28:46 PST ---
Since Bug 55383, V8 performs all interaction with injected Java objects through the JavaInstance, JavaClass, JavaMethod and JavaField interfaces. These interfaces are independent of JNI.

Currently, the only implementations of these interfaces are JavaInstanceJobject etc, which are wrappers around a JNI jobject. These implementations use JNI to query the underlying Java object for its methods and properties and to access them.

We'd like to be able to implement injecting Java objects in the Android browser in a multi-process environment. Access to the underlying Java object must be in the remote process. This means that we need implementations of JavaInstance etc which simply proxy requests to the embedder. The browser can then take care of routing these requests to the Java object in the correct process.

We share code paths with Chromium in a number of places on Android and this would be another such place.

Adding these proxy implementations is tracked in Bug 57859.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list