Port JS extension support (AF API support in JS)

Description

Chromium53 used in webOS OSE provides a way to inject Javascript (both with additional JS code and C++ code) and CSS. Port it to GIN and recent V8.

Environment

None

Activity

Show:

José Dapena Paz 
October 31, 2018 at 6:01 PM

The original goal of this task was exposing to JS the AGL IPC APIs. But as AGL is moving to use websockets as IPC, this is not needed. Web platform already supports web sockets, and no specific solution is being provided for using the AGL apps websockets in JS injection. If any, helpers should be implemented in web platform too, so no JS injection will be needed either.

The WAM JS injection mechanism allows to provide C++ code in renderer process, and thus, sandboxed. The typical JS injections in WAM will just talk to a WAM pluggable counterpart in browser process that is the one that will actually talk to the system (in Chromium process model, renderer process is not expected to have any I/O rights and all I/O should go through browser process).

Won't Fix

Details

Assignee

Reporter

Labels

Contract ID

Priority

Created October 31, 2018 at 4:10 PM
Updated October 31, 2018 at 11:51 PM
Resolved October 31, 2018 at 6:01 PM