0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-11-21 15:04:33 -05:00
denoland-rusty-v8/tests
Divy Srivastava 3de68239a5
Upgrade to V8 12.1.285.6 (#1374)
1. [[exceptions] Unify pending and scheduled exceptions](https://chromium-review.googlesource.com/c/v8/v8/+/5050065)

Reset no longer clears exception if it was rethrown. The test had to be adjusted for the same.

2. [[api] Allow passing CppHeap on Isolate creation](https://chromium-review.googlesource.com/c/v8/v8/+/4989254)

`AttachCppHeap` was deprecated but the alternative of passing `CppHeap` via Isolate CreateParams hard crashes (SIGSEGV). There are no tests for this in V8 and it seems the [Chromium CL](https://chromium-review.googlesource.com/c/chromium/src/+/4992764) is also crashing. For now I've just suppressed the deprecation warning until the crash is fixed in V8.

3. v8::Serializer impl must not throw more than one exception. 

I changed `get_shared_buffer_id()` to not throw and return `None`. V8 internally calls data clone error when it's the SAB is not clonable.

Other changes:

- `v8::ScriptCompiler` size increased by 3 words with `v8::ScriptCompiler::CompilationDetails`.
- `v8::ObjectTemplate::SetAccessor` & `v8::ObjectTemplate::SetAccessorProperty` signature changed and also deprecated.
- `v8::Context::SetContinuationPreservedEmbedderData` deprecated. Use `v8::Isolate::GetContinuationPreservedEmbedderData` instead.
- `GetStalledTopLevelAwaitMessage` deprecated. Use `GetStalledTopLevelAwaitMessages` instead.
- `v8::Isolate::AttachCppHeap` deprecated. Set the heap on Isolate creation using CreateParams instead. 
- `v8::ScriptOrigin` deprecated. Use constructor without the isolate.
- `v8::SnapshotCreator` is deprecated. Use the version that passes CreateParams instead.
- `v8::Isolate` assertion failures.

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2024-01-05 18:50:42 +05:30
..
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.rs Upgrade to V8 12.1.285.6 (#1374) 2024-01-05 18:50:42 +05:30
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_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 Upgrade to V8 12.1.285.6 (#1374) 2024-01-05 18:50:42 +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