Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Cloudeebus via Crosswalk extension

The basic idea is this:
- run the Python side inside the Crosswalk extension process
- load the JavaScript side into Crosswalk from the extension
- replace the WebSocket communication with Crosswalk internal
  message passing

Because each app gets its own instance of Cloudeebus and thus its own
private connection to D-Bus, this solution does not suffer from the
security issues of the WebSocket-based Cloudeebus (circumventing D-Bus
access controls, services not seeing the real app).

On Tizen, the services see a normal app process talking to them via
D-Bus.

The Python side gets split it into the main executable using WebSocket
and the core engine which only uses objects providing certain
WebSocket APIs. The Crosswalk extension uses the engine with dummy
objects that map the WebSocket APIs to Crosswalk extension message
passing.
  • Loading branch information...
pohly committed Jun 12, 2014
1 parent aba3245 commit e511dfab6c0c3d8326dfaed70660421df7054c9a
Showing with 911 additions and 597 deletions.
  1. +1 −0 cloudeebus/.gitignore
  2. +12 −597 cloudeebus/cloudeebus.py
  3. +633 −0 cloudeebus/engine.py
  4. +26 −0 cloudeebus/examples/crosswalk/example.html
  5. +239 −0 cloudeebus/xwalkcloudeebus.py
@@ -0,0 +1 @@
libxwalkcloudeebus.so

0 comments on commit e511dfa

Please sign in to comment.
You can’t perform that action at this time.