diff options
author | Chris911 <christophe.naud.dulude@gmail.com> | 2016-01-24 15:13:18 -0500 |
---|---|---|
committer | Roman Reiss <me@silverwind.io> | 2016-02-01 21:28:06 +0100 |
commit | e20abb715edd65390f2d7f6c35375eb06a736bba (patch) | |
tree | 486d7e71dfdafba9be8ee279d10afc0b87cfcbff /src | |
parent | 463aa196cc7f14aa7bedbadbc33f86a625f428ad (diff) | |
download | node-new-e20abb715edd65390f2d7f6c35375eb06a736bba.tar.gz |
src: remove no longer relevant comments
PR-URL: https://github.com/nodejs/node/pull/4843
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/debug-agent.cc | 1 | ||||
-rw-r--r-- | src/debug-agent.h | 1 | ||||
-rw-r--r-- | src/node_crypto.cc | 4 |
3 files changed, 2 insertions, 4 deletions
diff --git a/src/debug-agent.cc b/src/debug-agent.cc index 06ede7fdef..93d2ce71f1 100644 --- a/src/debug-agent.cc +++ b/src/debug-agent.cc @@ -285,7 +285,6 @@ void Agent::ChildSignalCb(uv_async_t* signal) { } // Waiting for client, do not send anything just yet - // TODO(indutny): move this to js-land if (a->wait_) { a->messages_.PushFront(msg); // Push message back into the ready queue. break; diff --git a/src/debug-agent.h b/src/debug-agent.h index f18683a828..0c465b8e1b 100644 --- a/src/debug-agent.h +++ b/src/debug-agent.h @@ -109,7 +109,6 @@ class Agent { kRunning }; - // TODO(indutny): Verify that there are no races State state_; int port_; diff --git a/src/node_crypto.cc b/src/node_crypto.cc index 6cb79aa4b9..8af318791c 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -5177,7 +5177,7 @@ void PBKDF2(const FunctionCallbackInfo<Value>& args) { if (args[5]->IsFunction()) { obj->Set(env->ondone_string(), args[5]); - // XXX(trevnorris): This will need to go with the rest of domains. + if (env->in_domain()) obj->Set(env->domain_string(), env->domain_array()->Get(0)); uv_queue_work(env->event_loop(), @@ -5338,7 +5338,7 @@ void RandomBytes(const FunctionCallbackInfo<Value>& args) { if (args[1]->IsFunction()) { obj->Set(FIXED_ONE_BYTE_STRING(args.GetIsolate(), "ondone"), args[1]); - // XXX(trevnorris): This will need to go with the rest of domains. + if (env->in_domain()) obj->Set(env->domain_string(), env->domain_array()->Get(0)); uv_queue_work(env->event_loop(), |