0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-11-24 15:19:31 -05:00
denoland-rusty-v8/tests
Andreu Botella f360663e67
feat: Add {Dis,}allowJavascriptExecutionScope (#862)
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>
2023-07-19 14:52:58 +02:00
..
compile_fail feat: Add {Dis,}allowJavascriptExecutionScope (#862) 2023-07-19 14:52:58 +02:00
slots.rs refactor: v8::Isolate::snapshot_creator instead of v8::SnapshotCreator (#1098) 2022-10-14 10:46:54 +02:00
test_api.rs feat: Add {Dis,}allowJavascriptExecutionScope (#862) 2023-07-19 14:52:58 +02:00
test_api_entropy_source.rs Rolling to V8 10.0.139.6 (#915) 2022-03-09 14:41:46 +01:00
test_api_flags.rs chore: rename rusty_v8 to v8 (#803) 2021-10-27 14:32:12 +02:00
test_concurrent_isolate_creation_and_disposal.rs Upgrade V8 to 10.3.174.3 (#969) 2022-05-18 10:53:34 +02:00
test_platform_atomics_pump_message_loop.rs test: don't use --harmony-top-level-await flag (#854) 2021-12-12 21:25:01 -08:00
test_single_threaded_default_platform.rs Rolling to V8 10.0.139.6 (#915) 2022-03-09 14:41:46 +01:00
test_ui.rs Fix unused import warning (#875) 2022-01-22 04:10:38 +01:00