1
- /* vim:set ts=2 sw=2 sts=2 expandtab */
2
1
/* This Source Code Form is subject to the terms of the Mozilla Public
3
2
* License, v. 2.0. If a copy of the MPL was not distributed with this
4
3
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -220,8 +219,6 @@ function startup(data, reasonCode) {
220
219
// options used by system module.
221
220
// File to write 'OK' or 'FAIL' (exit code emulation).
222
221
resultFile : options . resultFile ,
223
- // File to write stdout.
224
- logFile : options . logFile ,
225
222
// Arguments passed as --static-args
226
223
staticArgs : options . staticArgs ,
227
224
@@ -235,6 +232,7 @@ function startup(data, reasonCode) {
235
232
stopOnError : options . stopOnError ,
236
233
verbose : options . verbose ,
237
234
parseable : options . parseable ,
235
+ checkMemory : options . check_memory ,
238
236
}
239
237
}
240
238
} ) ;
@@ -248,7 +246,8 @@ function startup(data, reasonCode) {
248
246
prefsURI : rootURI + 'defaults/preferences/prefs.js'
249
247
} ) ;
250
248
} catch ( error ) {
251
- dump ( 'Bootstrap error: ' + error . message + '\n' +
249
+ dump ( 'Bootstrap error: ' +
250
+ ( error . message ? error . message : String ( error ) ) + '\n' +
252
251
( error . stack || error . fileName + ': ' + error . lineNumber ) + '\n' ) ;
253
252
throw error ;
254
253
}
0 commit comments