mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
314 B
12 lines
314 B
11 years ago
|
var common = require('../common.js');
|
||
|
var assert = require('assert');
|
||
|
var Signal = process.binding('signal_wrap').Signal;
|
||
|
|
||
|
// Test Signal `this` safety
|
||
|
// https://github.com/joyent/node/issues/6690
|
||
|
assert.throws(function() {
|
||
|
var s = new Signal();
|
||
|
var nots = { start: s.start };
|
||
|
nots.start(9);
|
||
|
}, TypeError);
|