Closed
Bug 761732
Opened 12 years ago
Closed 11 years ago
B2G RIL: rename {handle|send}DOMMessage in ril_worker.js
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: philikon, Assigned: jessica)
References
()
Details
(Whiteboard: [good first bug][lang=js][mentor=vicamo][fixed-in-birch])
Attachments
(1 file, 3 obsolete files)
47.83 KB,
patch
|
Details | Diff | Splinter Review |
We don't really notify the DOM directly from ril_worker.js. With e10s we don't even notify the *same process* that the DOM lives in. Suggested names: * {handle|send}ChromeMessage * {handle|send}MainthreadMessage * ...
Updated•12 years ago
|
Comment 1•12 years ago
|
||
> * {handle|send}ChromeMessage
> * {handle|send}MainthreadMessage
> * ...
Can you please which name should be preferred here.
Reporter | ||
Comment 2•12 years ago
|
||
(In reply to Jignesh Kakadiya [:jhk] from comment #1) > > * {handle|send}ChromeMessage > > * {handle|send}MainthreadMessage > > * ... > > Can you please which name should be preferred here. Sure, I'll toss a coin. ;) sendChromeMessage is shorter, so let's go with that?
Comment 3•12 years ago
|
||
Attachment #633832 -
Flags: review?(philipp)
Reporter | ||
Comment 4•12 years ago
|
||
Comment on attachment 633832 [details] [diff] [review] Patch(v1) Review of attachment 633832 [details] [diff] [review]: ----------------------------------------------------------------- Great, thanks! We need to find a good moment to land this without breaking any of the other patches that are about to land. Would you mind keeping this patch up to date until we can find such a moment (note: unfortunately since this isn't a blocker, it may very well be that this moment will not happen very soon.)
Attachment #633832 -
Flags: review?(philipp) → feedback+
Updated•12 years ago
|
Assignee: nobody → jigneshhk1992
Comment 5•11 years ago
|
||
Philikin's no longer involved with b2g. Who can provide some forward direction here?
Whiteboard: [good first bug][lang=js][mentor=philikon] → [good first bug][lang=js]
Comment 6•11 years ago
|
||
Keeping it open for all. If some one would like to work on it :)
Assignee: jigneshhk1992 → nobody
Updated•11 years ago
|
Whiteboard: [good first bug][lang=js] → [good first bug][lang=js][mentor=vicamo]
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → jjong
Assignee | ||
Comment 7•11 years ago
|
||
Attachment #633832 -
Attachment is obsolete: true
Attachment #778347 -
Flags: review?(vyang)
Comment 8•11 years ago
|
||
Comment on attachment 778347 [details] [diff] [review] rename {handle|send}DOMMessage in ril_worker.js patch Review of attachment 778347 [details] [diff] [review]: ----------------------------------------------------------------- Nice patch! r=me with nits addressed. :) ::: dom/system/gonk/ril_worker.js @@ +2446,5 @@ > if (this.IMEI == null) { > this.getIMEI({mmi: true}); > return; > } > + // If we already had the device's IMEI, we just send it to chrome nit: period at line end. @@ +4452,5 @@ > * > * @param message > * Object containing the message. Messages are supposed > */ > + handleChromeMessage: function handleMessage(message) { nit: s/handleMessage/handleChromeMessage/ as well.
Attachment #778347 -
Flags: review?(vyang) → review+
Assignee | ||
Comment 9•11 years ago
|
||
Two changes made to address comments in Comment 8: > + // If we already had the device's IMEI, we just send it to chrome added period at end of line > + handleChromeMessage: function handleMessage(message) { replaced handleMessage with handleChromeMessage
Attachment #778347 -
Attachment is obsolete: true
Attachment #778360 -
Flags: review+
Assignee | ||
Comment 10•11 years ago
|
||
rebased. try results: https://tbpl.mozilla.org/?tree=Try&rev=4f200a1e3a3c
Attachment #778360 -
Attachment is obsolete: true
Comment 11•11 years ago
|
||
https://hg.mozilla.org/projects/birch/rev/7b9a998bde77
Whiteboard: [good first bug][lang=js][mentor=vicamo] → [good first bug][lang=js][mentor=vicamo][fixed-in-birch]
Comment 12•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/7b9a998bde77
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in
before you can comment on or make changes to this bug.
Description
•