Closed
Bug 811754
Opened 12 years ago
Closed 7 years ago
B2G RIL: clean up ril_worker
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(tracking-b2g:backlog)
RESOLVED
WONTFIX
tracking-b2g | backlog |
People
(Reporter: vicamo, Unassigned)
References
Details
(Whiteboard: [grooming])
Attachments
(2 files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review |
ril_worker.js is now 7000+ lines of code. After bug 798491 landed, we should now split it into several smaller scripts. For example:
=== In ril_worker_icc.js ===
this.ICC = {
// All ICC related stuff
};
// ICC-specific parcel handlers
this.ICC[REQUEST_SIM_IO] = function REQUEST_SIM_IO(length, options) {
}
// Allow this file to be imported via Components.utils.import().
this.EXPORTED_SYMBOLS = Object.keys(this);
=== In ril_worker.js ===
importScripts("ril_consts.js", "systemlibs.js", "ril_worker_icc.js");
...
RIL[REQUEST_SIM_IO] = ICC[REQUEST_SIM_IO].bind(ICC);
Reporter | ||
Comment 1•12 years ago
|
||
TODO: fix test scripts
Reporter | ||
Comment 2•12 years ago
|
||
TODO: fix test cases
Depends on: 816893
Reporter | ||
Updated•11 years ago
|
Component: DOM: Device Interfaces → RIL
Product: Core → Boot2Gecko
Depends on: 928773
Updated•10 years ago
|
Whiteboard: [grooming]
Updated•10 years ago
|
Assignee | ||
Updated•10 years ago
|
blocking-b2g: backlog → ---
tracking-b2g:
--- → backlog
Updated•10 years ago
|
Comment 4•7 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•