B2G/hardware/ril/mock-ril/src/js/mock_ril.js
/**
 * Construct a new request which is passed to the
 * Worker handler method.
 */
Construct a new request which is passed to the
Worker handler method.
Construct a new request which is passed to the Worker handler method .
function Request(reqNum, token, protobuf, schema, schemaName) {
    this.reqNum = reqNum;
    this.token = token;
    try {
        this.data = schema[packageNameAndSeperator + schemaName].parse(protobuf);
    } catch (err) {
        this.data = null;
    }
}
function Request ( reqNum , token , protobuf , schema , schemaName ) { this . reqNum = reqNum ; this . token = token ; try { this . data = schema [ packageNameAndSeperator + schemaName ] . parse ( protobuf ) ; } catch ( err ) { this . data = null ; } }
Construct a new request which is passed to the
 Worker handler method.
Construct a new request which is passed to the Worker handler method .
// not a valid protobuf in the request