B2G/gecko/toolkit/devtools/webconsole/NetworkHelper.jsm
/**
   * Reads the posted text from the page's cache.
   *
   * @param nsIDocShell aDocShell
   * @param string aCharset
   * @returns string or null
   *          Returns the posted string if it was possible to read from
   *          aDocShell otherwise null.
   */
Reads the posted text from the page's cache.
@param nsIDocShell aDocShell
@param string aCharset
@returns string or null
Returns the posted string if it was possible to read from
aDocShell otherwise null.
Reads the posted text from the page ' s cache . @param nsIDocShell aDocShell @param string aCharset @returns string or null Returns the posted string if it was possible to read from aDocShell otherwise null .
function NH_readPostTextFromPage(aDocShell, aCharset)
  {
    let webNav = aDocShell.QueryInterface(Ci.nsIWebNavigation);
    return this.readPostTextFromPageViaWebNav(webNav, aCharset);
  }
function NH_readPostTextFromPage ( aDocShell , aCharset ) { let webNav = aDocShell . QueryInterface ( Ci . nsIWebNavigation ) ; return this . readPostTextFromPageViaWebNav ( webNav , aCharset ) ; }
Reads the posted text from the page's cache.
Reads the posted text from the page ' s cache .