rusty_v8/tests
Guillaume Bort 60e0859514
Explicit panic instead of silent memory corruption (#1377)
Due to the automatic entry and exit behavior of Isolate upon creation and drop, it is crucial to ensure that v8::OwnedIsolate instances are dropped in the reverse order of their creation. Dropping them in the incorrect order can result in the corruption of the thread-local stack managed by v8, leading to memory corruption and potential segfaults. This introduces a check to verify the `this == Isolate::GetCurrent()` requirement before invoking the exit function. If the requirement is not met, a clean panic is triggered to provide explicit error handling instead of allowing silent memory corruption.
2023-12-12 07:32:40 -07:00
..
compile_fail feat: Add {Dis,}allowJavascriptExecutionScope (#862) 2023-07-19 14:52:58 +02:00
slots.rs fix: crash on x86_64 systems that support memory protection keys (#1318) 2023-09-12 23:26:42 +00:00
test_api_entropy_source.rs fix: crash on x86_64 systems that support memory protection keys (#1318) 2023-09-12 23:26:42 +00:00
test_api_flags.rs fix: crash on x86_64 systems that support memory protection keys (#1318) 2023-09-12 23:26:42 +00:00
test_api.rs Explicit panic instead of silent memory corruption (#1377) 2023-12-12 07:32:40 -07: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_cppgc.rs Add cppgc bindings (#1336) 2023-10-30 20:40:15 +05:30
test_platform_atomics_pump_message_loop.rs fix: crash on x86_64 systems that support memory protection keys (#1318) 2023-09-12 23:26:42 +00: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