| Index: test/cctest/test-debug.cc
|
| ===================================================================
|
| --- test/cctest/test-debug.cc (revision 14601)
|
| +++ test/cctest/test-debug.cc (working copy)
|
| @@ -4248,7 +4248,7 @@
|
| v8::Persistent<v8::Context> context = v8::Context::New(&extensions);
|
| context.Dispose(context->GetIsolate());
|
| }
|
| - // Check that no DebugBreak events occured during the context creation.
|
| + // Check that no DebugBreak events occurred during the context creation.
|
| CHECK_EQ(0, break_point_hit_count);
|
|
|
| // Get rid of the debug event listener.
|
| @@ -4765,7 +4765,7 @@
|
| }
|
|
|
|
|
| -// We match the message wether it is an evaluate response message.
|
| +// We match the message whether it is an evaluate response message.
|
| bool IsEvaluateResponseMessage(char* message) {
|
| const char* type_response = "\"type\":\"response\"";
|
| const char* command_evaluate = "\"command\":\"evaluate\"";
|
| @@ -6398,7 +6398,7 @@
|
| frame_function_name_source,
|
| "frame_function_name");
|
|
|
| - // Test RegExp which matches white spaces and comments at the begining of a
|
| + // Test RegExp which matches white spaces and comments at the beginning of a
|
| // source line.
|
| const char* script =
|
| "var sourceLineBeginningSkip = /^(?:[ \\v\\h]*(?:\\/\\*.*?\\*\\/)*)*/;\n"
|
| @@ -7077,7 +7077,7 @@
|
| CHECK_EQ(expected_callback_data, details.GetCallbackData());
|
| }
|
|
|
| -// Check that event details contain context where debug event occured.
|
| +// Check that event details contain context where debug event occurred.
|
| TEST(DebugEventContext) {
|
| v8::HandleScope scope(v8::Isolate::GetCurrent());
|
| expected_callback_data = v8::Int32::New(2010);
|
| @@ -7107,7 +7107,7 @@
|
| }
|
|
|
|
|
| -// Check that event details contain context where debug event occured.
|
| +// Check that event details contain context where debug event occurred.
|
| TEST(DebugEventBreakData) {
|
| DebugLocalContext env;
|
| v8::HandleScope scope(env->GetIsolate());
|
|
|