Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Unified Diff: patch

Issue 2104143004: Remove accidentally added files. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « buffer ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: patch
diff --git a/patch b/patch
deleted file mode 100644
index fe684d192a735f88e7dd51a722e2c277e02287d5..0000000000000000000000000000000000000000
--- a/patch
+++ /dev/null
@@ -1,48 +0,0 @@
-diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
-index 5624e3f..81936c1 100644
---- a/test/cctest/test-api.cc
-+++ b/test/cctest/test-api.cc
-@@ -17049,6 +17049,43 @@ TEST(CaptureStackTraceForUncaughtExceptionAndSetters) {
- }
-
-
-+static void StackTraceFunctionNameListenerForEval(v8::Local<v8::Message> message,
-+ v8::Local<Value>) {
-+ v8::Local<v8::StackTrace> stack_trace = message->GetStackTrace();
-+ for (int i = 0; i < stack_trace->GetFrameCount(); i++) {
-+ v8::Local<v8::StackFrame> frame = stack_trace->GetFrame(i);
-+ v8::String::Utf8Value func_name(frame->GetFunctionName());
-+ v8::String::Utf8Value script_name(frame->GetScriptName());
-+ printf("%s:%s, %d,%d\n", *script_name, *func_name, frame->GetLineNumber(), frame->GetColumn());
-+ }
-+
-+
-+ CHECK_EQ(5, stack_trace->GetFrameCount());
-+ checkStackFrame("origin", "foo:0", 4, 7, false, false,
-+ stack_trace->GetFrame(0));
-+ checkStackFrame("origin", "foo:1", 5, 27, false, false,
-+ stack_trace->GetFrame(1));
-+ checkStackFrame("origin", "foo", 5, 27, false, false,
-+ stack_trace->GetFrame(2));
-+ checkStackFrame("origin", "foo", 5, 27, false, false,
-+ stack_trace->GetFrame(3));
-+ checkStackFrame("origin", "", 1, 14, false, false, stack_trace->GetFrame(4));
-+}
-+
-+
-+TEST(CaptureStackTraceForUncaughtExceptionInEval) {
-+ LocalContext env;
-+ v8::Isolate* isolate = env->GetIsolate();
-+ v8::HandleScope scope(isolate);
-+ isolate->SetCaptureStackTraceForUncaughtExceptions(true, 1024,
-+ v8::StackTrace::kDetailed);
-+ isolate->AddMessageListener(StackTraceFunctionNameListenerForEval);
-+
-+ CompileRun("eval('throw new Error()');");
-+ isolate->SetCaptureStackTraceForUncaughtExceptions(false);
-+}
-+
-+
- static void StackTraceFunctionNameListener(v8::Local<v8::Message> message,
- v8::Local<Value>) {
- v8::Local<v8::StackTrace> stack_trace = message->GetStackTrace();
« no previous file with comments | « buffer ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698