Closed
Bug 743005
(e10s-device-apis)
Opened 12 years ago
Closed 7 years ago
[meta] Electrolify DOM Device APIs
Categories
(Core :: DOM: Device Interfaces, defect)
Core
DOM: Device Interfaces
Tracking
()
RESOLVED
FIXED
People
(Reporter: philikon, Unassigned)
References
Details
Some of the device APIs we recently added aren't multiprocess ("electrolysis") capable. With B2G aiming for to go multiprocess, we need to fix this.
Reporter | ||
Updated•12 years ago
|
Alias: e10s-device-apis
Reporter | ||
Comment 1•12 years ago
|
||
As a general note: it's pretty painful to do e10s in C++ while we have good helpers in JS. Since most of our device APIs are backed by a JS service (RIL, IndexedDB, etc.), I suggest we use JS to communicate between chrome and content processes. The JS service in the chrome process would communicate with a corresponding object in the content process that mimics much of the same APIs for the DOM. This way should not require too many changes to the existing DOM code.
That's how the C++ IPC works as well. It makes most sense for the all-JS-impl'd APIs like contacts to use JS IPC, but we need to be extremely careful about that because the JS IPC doesn't have the same sanitizing checks as the C++ layer.
Updated•12 years ago
|
Blocks: b2g-e10s-work
After sms and pairing, we'll go back to just having "device APIs" and can close out this bug.
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•