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

Unified Diff: test/cctest/test-serialize.cc

Issue 2831893002: Revert of [serializer/debugger] hide scripts in the snapshot from the debugger. (Closed)
Patch Set: Created 3 years, 8 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 | « src/snapshot/startup-serializer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-serialize.cc
diff --git a/test/cctest/test-serialize.cc b/test/cctest/test-serialize.cc
index 153e3ff85d66bdbb4fb90df374f22d4b1ab45826..e8be36a32da43318448ba0e83d6a02bc96d8b3c4 100644
--- a/test/cctest/test-serialize.cc
+++ b/test/cctest/test-serialize.cc
@@ -638,11 +638,6 @@
CompileRun("f()")->Int32Value(isolate1->GetCurrentContext());
CHECK_EQ(42, result.FromJust());
CHECK(CompileRun("this.g")->IsUndefined());
- v8::Local<v8::Value> f = CompileRun("f");
- i::Handle<i::JSFunction> function =
- i::Handle<i::JSFunction>::cast(v8::Utils::OpenHandle(*f));
- // Being part of the snapshot hides a script from the debugger.
- CHECK(!function->shared()->IsSubjectToDebugging());
}
isolate1->Dispose();
}
« no previous file with comments | « src/snapshot/startup-serializer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698