Javascript – XPCOM support in Android webkit browser

androidbrowserjavascriptwebkitxpcom

Does the Android WebKit supports the XPCOM framework or NPRuntime API`s as like Firefox? How to implement JavaScript in the Android WebKit plug-in?

Update:
I am writing a media player plug-in for the Android WebKit browser and my plug-in needs to get the command from the web page through JavaScript (some actions like play/pause/stop/resize are issued as JavaScript commands from the browser). My plug-in is written in native C code. Are there any examples or sample plug-in available for JavaScript communication?

Best Answer

WebKit doesn't support XPCOM, as WebKit is entirely separate from the Mozilla stack.

When you say you want to "implement Javascript", what do you mean?
The built-in Android browser already supports the execution of Javascript.