Lines Matching refs:signal
36 assert.strictEqual(err.signal, null);
53 // Verify that the signal option works properly
55 const { signal } = ac;
61 assert.strictEqual(err.signal, undefined);
63 execFile(process.execPath, [echoFixture, 0], { signal }, check);
66 // Verify that it still works the same way now that the signal is aborted.
73 const signal = AbortSignal.abort();
78 assert.strictEqual(err.signal, undefined);
80 execFile(process.execPath, [echoFixture, 0], { signal }, check);
84 // Verify that if something different than Abortcontroller.signal
89 execFile(process.execPath, [echoFixture, 0], { signal: 'hello' }, callback);
95 const { signal } = ac;
98 assert.strictEqual(getEventListeners(ac.signal).length, 0);
101 execFile(process.execPath, [fixture, 0], { signal }, callback);