%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
'use strict'; // Testcases for situations involving fatal errors, like Javascript heap OOM require('../common'); const assert = require('assert'); const helper = require('../common/report.js'); const spawnSync = require('child_process').spawnSync; const tmpdir = require('../common/tmpdir'); const fixtures = require('../common/fixtures'); // Common args that will cause an out-of-memory error for child process. const ARGS = [ '--max-heap-size=20', fixtures.path('report-oom'), ]; { tmpdir.refresh(); // Verify that --report-on-fatalerror is respected when not set. const args = ARGS; const child = spawnSync(process.execPath, args, { cwd: tmpdir.path }); assert.notStrictEqual(child.status, 0, 'Process exited unexpectedly'); const reports = helper.findReports(child.pid, tmpdir.path); assert.strictEqual(reports.length, 0); }