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

Unified Diff: src/flag-definitions.h

Issue 2155503004: Reland^2 "Don't compile functions in a context the caller doesn't have access to" (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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
« src/api.cc ('K') | « src/builtins/builtins.cc ('k') | src/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/flag-definitions.h
diff --git a/src/flag-definitions.h b/src/flag-definitions.h
index 2ff7ee46cc5156935b458f3a2d1ca9e788cc4750..06d55ef5d7bd9d9a901f86a9e0ccc7300b4b5292 100644
--- a/src/flag-definitions.h
+++ b/src/flag-definitions.h
@@ -588,6 +588,10 @@ DEFINE_BOOL(builtins_in_stack_traces, false,
"show built-in functions in stack traces")
DEFINE_BOOL(disable_native_files, false, "disable builtin natives files")
+// builtins.cc
+DEFINE_BOOL(allow_unsafe_function_constructor, false,
+ "allow invoking the function constructor without security checks")
+
// builtins-ia32.cc
DEFINE_BOOL(inline_new, true, "use fast inline allocation")
« src/api.cc ('K') | « src/builtins/builtins.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698