Bug 1103731 - Part 2: Internal architecture (ril_worker.js). r=aknow
authorBen Hsu <bhsu@mozilla.com>
Sun, 18 Jan 2015 21:22:00 -0500
changeset 253603 422bed2705ee75d95574385aef6bf17321c2ad69
parent 253602 4ff3dd299e6a3061193809c0e77672fdbb78ae94
child 253604 12ac667d15324d19dc053b634f138381926c1a99
push id4610
push userjlund@mozilla.com
push dateMon, 30 Mar 2015 18:32:55 +0000
treeherdermozilla-beta@4df54044d9ef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaknow
bugs1103731
milestone38.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1103731 - Part 2: Internal architecture (ril_worker.js). r=aknow
dom/system/gonk/ril_worker.js
--- a/dom/system/gonk/ril_worker.js
+++ b/dom/system/gonk/ril_worker.js
@@ -147,17 +147,20 @@ BufObject.prototype = {
    *
    * @param type
    *        Integer specifying the request type.
    * @param options [optional]
    *        Object containing information about the request, e.g. the
    *        original main thread message object that led to the RIL request.
    */
   newParcel: function(type, options) {
-    if (DEBUG) this.context.debug("New outgoing parcel of type " + type);
+    if (DEBUG) {
+      this.context.debug("New outgoing parcel of type " + type +
+                         ", token " + this.mToken);
+    }
 
     // We're going to leave room for the parcel size at the beginning.
     this.outgoingIndex = this.PARCEL_SIZE_SIZE;
     this.writeInt32(this._reMapRequestType(type));
     this.writeInt32(this.mToken);
 
     if (!options) {
       options = {};