mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-11-24 15:19:31 -05:00
f360663e67
This commit adds two new types of scopes: - DisallowJavascriptExecutionScope - AllowJavascriptExecutionScope The first one can be used to prevent execution of JavaScript (with customizable behavior on an attempt of executing JS, eg. crashing the process); while the second one can be constructed from the first to temporarily enable executing JS. These are useful for "value serializers" to prevent user defined objects from causing unintended behavior. --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> |
||
---|---|---|
.. | ||
boxed_local.rs | ||
boxed_local.stderr | ||
handle_scope_escape_lifetime.rs | ||
handle_scope_escape_lifetime.stderr | ||
handle_scope_escape_to_nowhere.rs | ||
handle_scope_escape_to_nowhere.stderr | ||
handle_scope_lifetime_1.rs | ||
handle_scope_lifetime_1.stderr | ||
handle_scope_lifetime_2.rs | ||
handle_scope_lifetime_2.stderr | ||
handle_scope_lifetime_3.rs | ||
handle_scope_lifetime_3.stderr | ||
handle_scope_lifetime_4.rs | ||
handle_scope_lifetime_4.stderr | ||
object_without_context_scope.rs | ||
object_without_context_scope.stderr | ||
try_catch_exception_lifetime.rs | ||
try_catch_exception_lifetime.stderr | ||
try_catch_message_lifetime.rs | ||
try_catch_message_lifetime.stderr |