1- /* vim:set ts=2 sw=2 sts=2 expandtab */
21/* This Source Code Form is subject to the terms of the Mozilla Public
32 * License, v. 2.0. If a copy of the MPL was not distributed with this
43 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -220,8 +219,6 @@ function startup(data, reasonCode) {
220219 // options used by system module.
221220 // File to write 'OK' or 'FAIL' (exit code emulation).
222221 resultFile : options . resultFile ,
223- // File to write stdout.
224- logFile : options . logFile ,
225222 // Arguments passed as --static-args
226223 staticArgs : options . staticArgs ,
227224
@@ -235,6 +232,7 @@ function startup(data, reasonCode) {
235232 stopOnError : options . stopOnError ,
236233 verbose : options . verbose ,
237234 parseable : options . parseable ,
235+ checkMemory : options . check_memory ,
238236 }
239237 }
240238 } ) ;
@@ -248,7 +246,8 @@ function startup(data, reasonCode) {
248246 prefsURI : rootURI + 'defaults/preferences/prefs.js'
249247 } ) ;
250248 } catch ( error ) {
251- dump ( 'Bootstrap error: ' + error . message + '\n' +
249+ dump ( 'Bootstrap error: ' +
250+ ( error . message ? error . message : String ( error ) ) + '\n' +
252251 ( error . stack || error . fileName + ': ' + error . lineNumber ) + '\n' ) ;
253252 throw error ;
254253 }
0 commit comments