@@ -110,7 +110,7 @@ function _validateContent(report, fields = []) {
110
110
'glibcVersionRuntime' , 'glibcVersionCompiler' , 'cwd' ,
111
111
'reportVersion' , 'networkInterfaces' , 'threadId' ] ;
112
112
checkForUnknownFields ( header , headerFields ) ;
113
- assert . strictEqual ( header . reportVersion , 4 ) ; // Increment as needed.
113
+ assert . strictEqual ( header . reportVersion , 5 ) ; // Increment as needed.
114
114
assert . strictEqual ( typeof header . event , 'string' ) ;
115
115
assert . strictEqual ( typeof header . trigger , 'string' ) ;
116
116
assert ( typeof header . filename === 'string' || header . filename === null ) ;
@@ -309,11 +309,11 @@ function _validateContent(report, fields = []) {
309
309
310
310
// Verify the format of the userLimits section on non-Windows platforms.
311
311
if ( ! isWindows ) {
312
- const userLimitsFields = [ 'core_file_size_blocks' , 'data_seg_size_kbytes ' ,
312
+ const userLimitsFields = [ 'core_file_size_blocks' , 'data_seg_size_bytes ' ,
313
313
'file_size_blocks' , 'max_locked_memory_bytes' ,
314
- 'max_memory_size_kbytes ' , 'open_files' ,
314
+ 'max_memory_size_bytes ' , 'open_files' ,
315
315
'stack_size_bytes' , 'cpu_time_seconds' ,
316
- 'max_user_processes' , 'virtual_memory_kbytes ' ] ;
316
+ 'max_user_processes' , 'virtual_memory_bytes ' ] ;
317
317
checkForUnknownFields ( report . userLimits , userLimitsFields ) ;
318
318
for ( const [ type , limits ] of Object . entries ( report . userLimits ) ) {
319
319
assert . strictEqual ( typeof type , 'string' ) ;
0 commit comments