Chromium Code Reviews| Index: test/cctest/test-api.cc |
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
| index 1531f905d1b078f6286418e3c0096e98350a8a66..943d5f4a751709daf9b33e047f034e8500a75bf7 100644 |
| --- a/test/cctest/test-api.cc |
| +++ b/test/cctest/test-api.cc |
| @@ -12633,9 +12633,10 @@ v8::Handle<Value> AnalyzeStackInNativeCode(const v8::Arguments& args) { |
| stackTrace->GetFrame(0)); |
| checkStackFrame(origin, "foo", 6, 3, false, false, |
| stackTrace->GetFrame(1)); |
| - checkStackFrame(NULL, "", 1, 1, false, false, |
| + // This is the source string inside the eval which have the call to foo. |
| + checkStackFrame(NULL, "", 1, 5, false, false, |
| stackTrace->GetFrame(2)); |
| - // The last frame is an anonymous function that has the initial call. |
| + // The last frame is an anonymous function which have the initial eval call. |
|
Kevin Millikin (Chromium)
2011/07/11 15:11:08
have => has
Søren Thygesen Gjesse
2011/07/11 15:19:16
Done.
|
| checkStackFrame(origin, "", 8, 7, false, false, |
| stackTrace->GetFrame(3)); |
| @@ -12654,9 +12655,10 @@ v8::Handle<Value> AnalyzeStackInNativeCode(const v8::Arguments& args) { |
| bool is_eval = false; |
| #endif // ENABLE_DEBUGGER_SUPPORT |
| - checkStackFrame(NULL, "", 1, 1, is_eval, false, |
| + // This is the source string inside the eval which have the call to baz. |
|
Kevin Millikin (Chromium)
2011/07/11 15:11:08
have => has, also just below.
Søren Thygesen Gjesse
2011/07/11 15:19:16
Done.
|
| + checkStackFrame(NULL, "", 1, 5, is_eval, false, |
| stackTrace->GetFrame(2)); |
| - // The last frame is an anonymous function that has the initial call to foo. |
| + // The last frame is an anonymous function which have the initial eval call. |
| checkStackFrame(origin, "", 10, 1, false, false, |
| stackTrace->GetFrame(3)); |