diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2019-04-18 10:58:58 +0800 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2019-04-22 18:43:40 +0800 |
commit | 19e3e02a2db996a3df36e00df6c6b57cec516c9e (patch) | |
tree | bbf50d100e24232422a3039ed567647db68d9de1 /test/parallel/test-util-sigint-watchdog.js | |
parent | 7c816b7588f0e2910bcef5db48f71296cd3b67c2 (diff) | |
download | android-node-v8-19e3e02a2db996a3df36e00df6c6b57cec516c9e.tar.gz android-node-v8-19e3e02a2db996a3df36e00df6c6b57cec516c9e.tar.bz2 android-node-v8-19e3e02a2db996a3df36e00df6c6b57cec516c9e.zip |
src: move SIGINT watchdog utils to the contextify binding
These are used when evaluating scripts so it makes more sense
to put them in the contextify binding whose other methods are
going to be used together.
PR-URL: https://github.com/nodejs/node/pull/27290
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/parallel/test-util-sigint-watchdog.js')
-rw-r--r-- | test/parallel/test-util-sigint-watchdog.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-util-sigint-watchdog.js b/test/parallel/test-util-sigint-watchdog.js index 7ac1261eab..67a8f61539 100644 --- a/test/parallel/test-util-sigint-watchdog.js +++ b/test/parallel/test-util-sigint-watchdog.js @@ -8,7 +8,7 @@ if (common.isWindows) { const assert = require('assert'); const { internalBinding } = require('internal/test/binding'); -const binding = internalBinding('util'); +const binding = internalBinding('contextify'); [(next) => { // Test with no signal observed. |