B2G/gecko/toolkit/devtools/webconsole/WebConsoleClient.jsm
/**
   * Autocomplete a JavaScript expression.
   *
   * @param string aString
   *        The code you want to autocomplete.
   * @param number aCursor
   *        Cursor location inside the string. Index starts from 0.
   * @param function aOnResponse
   *        The function invoked when the response is received.
   */
Autocomplete a JavaScript expression.
@param string aString
The code you want to autocomplete.
@param number aCursor
Cursor location inside the string. Index starts from 0.
@param function aOnResponse
The function invoked when the response is received.
Autocomplete a JavaScript expression . @param string aString The code you want to autocomplete . @param number aCursor Cursor location inside the string . Index starts from 0 . @param function aOnResponse The function invoked when the response is received .
function WCC_autocomplete(aString, aCursor, aOnResponse)
  {
    let packet = {
      to: this._actor,
      type: "autocomplete",
      text: aString,
      cursor: aCursor,
    };
    this._client.request(packet, aOnResponse);
  }
function WCC_autocomplete ( aString , aCursor , aOnResponse ) { let packet = { to : this . _actor , type : "autocomplete" , text : aString , cursor : aCursor , } ; this . _client . request ( packet , aOnResponse ) ; }
Autocomplete a JavaScript expression.
Autocomplete a JavaScript expression .