Index: test/cctest/test-thread-termination.cc |
diff --git a/test/cctest/test-thread-termination.cc b/test/cctest/test-thread-termination.cc |
index 9d3cbf61960a2a0db75d4b1fb1dac3b1fcedd3f2..06e6fb00cdf34940e8d659bc87cdd3be604eb65f 100644 |
--- a/test/cctest/test-thread-termination.cc |
+++ b/test/cctest/test-thread-termination.cc |
@@ -517,8 +517,7 @@ TEST(ErrorObjectAfterTermination) { |
v8::Context::Scope context_scope(context); |
isolate->TerminateExecution(); |
v8::Local<v8::Value> error = v8::Exception::Error(v8_str("error")); |
- // TODO(yangguo): crbug/403509. Check for empty handle instead. |
- CHECK(error->IsUndefined()); |
+ CHECK(error->IsNativeError()); |
} |