#ifdef MOZILLA_1_8_BRANCH # bug 318193 dataStream.setData(aStringData, aStringData.length); #else 
function getPostDataStream(aStringData, aKeyword, aEncKeyword, aType){  var dataStream = Components.classes["@mozilla.org/io/string-input-stream;1"]                            .createInstance(Components.interfaces.nsIStringInputStream);  aStringData = aStringData.replace(/%s/g, aEncKeyword).replace(/%S/g, aKeyword);#ifdef MOZILLA_1_8_BRANCH# bug 318193  dataStream.setData(aStringData, aStringData.length);#else  dataStream.data = aStringData;#endif  var mimeStream = Components.classes["@mozilla.org/network/mime-input-stream;1"]                              .createInstance(Components.interfaces.nsIMIMEInputStream);  mimeStream.addHeader("Content-Type", aType);  mimeStream.addContentLength = true;  mimeStream.setData(dataStream);  return mimeStream.QueryInterface(Components.interfaces.nsIInputStream);}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/ca0e1f37e7a3a52ccbbc0fca39c5ec2459eb01ab/browser.js/buggy/browser/base/content/browser.js