Lines Matching refs:addRange
32 assert.throws(() => blockList.addRange(i), {
35 assert.throws(() => blockList.addRange('1.1.1.1', i), {
41 assert.throws(() => blockList.addRange('1.1.1.1', '1.1.1.2', i), {
46 assert.throws(() => blockList.addRange('1.1.1.1', '1.1.1.2', 'foo'), {
103 blockList.addRange('1.1.1.1', '1.1.1.10');
104 blockList.addRange('::1', '::f', 'ipv6');
126 blockList.addRange(sa1, sa2);
127 blockList.addRange(sa3, sa4);
177 blockList.addRange('10.0.0.1', '10.0.0.10');
216 blockList.addRange('10.0.0.2', '10.0.0.10');
235 assert.throws(() => blockList.addRange('1.1.1.2', '1.1.1.1'), /ERR_INVALID_ARG_VALUE/);