Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 99f021d7acc3c2ad85c2ccc753822fb107849f8d..f2cbc7dabfe90f9381682e65ad0a1519c3ee32d9 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -16814,14 +16814,11 @@ void AnalyzeStackInNativeCode(const v8::FunctionCallbackInfo<v8::Value>& args) { |
CHECK_EQ(4, stackTrace->GetFrameCount()); |
checkStackFrame(origin, "bar", 2, 10, false, false, |
stackTrace->GetFrame(0)); |
- checkStackFrame(origin, "foo", 6, 3, false, false, |
- stackTrace->GetFrame(1)); |
+ checkStackFrame(origin, "foo", 6, 3, false, true, stackTrace->GetFrame(1)); |
// This is the source string inside the eval which has the call to foo. |
- checkStackFrame(NULL, "", 1, 1, false, false, stackTrace->GetFrame(2)); |
+ checkStackFrame(NULL, "", 1, 1, true, false, stackTrace->GetFrame(2)); |
// The last frame is an anonymous function which has the initial eval call. |
checkStackFrame(origin, "", 8, 7, false, false, stackTrace->GetFrame(3)); |
- |
- CHECK(stackTrace->AsArray()->IsArray()); |
} else if (testGroup == kDetailedTest) { |
v8::Local<v8::StackTrace> stackTrace = v8::StackTrace::CurrentStackTrace( |
args.GetIsolate(), 10, v8::StackTrace::kDetailed); |
@@ -16835,8 +16832,6 @@ void AnalyzeStackInNativeCode(const v8::FunctionCallbackInfo<v8::Value>& args) { |
checkStackFrame(NULL, "", 1, 1, is_eval, false, stackTrace->GetFrame(2)); |
// The last frame is an anonymous function which has the initial eval call. |
checkStackFrame(origin, "", 10, 1, false, false, stackTrace->GetFrame(3)); |
- |
- CHECK(stackTrace->AsArray()->IsArray()); |
} else if (testGroup == kFunctionName) { |
v8::Local<v8::StackTrace> stackTrace = v8::StackTrace::CurrentStackTrace( |
args.GetIsolate(), 5, v8::StackTrace::kOverview); |