/* 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/. */ var Ci = Components.interfaces; var Cr = Components.results; var Cc = Components.classes; var CC = Components.Constructor; var MutableArray = CC("@mozilla.org/array;1", "nsIMutableArray"); var SupportsString = CC("@mozilla.org/supports-string;1", "nsISupportsString"); function create_n_element_array(n) { var arr = new MutableArray(); for (let i=0; i