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