B2G/gecko/modules/libjar/test/unit/test_jarinput_stream_zipreader_reference.js
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
This Source Code Form is subject to the terms of the Mozilla Public
License, v.
This Source Code Form is subject to the terms of the Mozilla Public License v .
function wrapInputStream(input)
{
  var nsIScriptableInputStream = Components.interfaces.nsIScriptableInputStream;
  var factory = Components.classes["@mozilla.org/scriptableinputstream;1"];
  var wrapper = factory.createInstance(nsIScriptableInputStream);
  wrapper.init(input);
  return wrapper;
}
function wrapInputStream ( input ) { var nsIScriptableInputStream = Components . interfaces . nsIScriptableInputStream ; var factory = Components . classes [ "@mozilla.org/scriptableinputstream;1" ] ; var wrapper = factory . createInstance ( nsIScriptableInputStream ) ; wrapper . init ( input ) ; return wrapper ; }
This Source Code Form is subject to the terms of the Mozilla Public
 License, v. 2.0.
This Source Code Form is subject to the terms of the Mozilla Public License v . 2 . 0 .