some of you know that I try to get the telephony stack working the “run Firefox as SystemUI”-way. I talked about it with @fabrice about it. The plan is to make the RIL worker run on the phone (kind of standalone) and then communicate with it over WebSockets.
As i was looking a bit closer, I wonder where the boundary of the WebSockets is, how much stuff would run standalone on Android and which parts will run inside Firefox? The
ril_worker.js and its dependencies will surely run on Android. But what about e.g.
SmsService.js, where would that run?
Is it as simple as the boundary is where the
postMessage() calls are?