0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-26 00:59:28 -05:00
denoland-rusty-v8/tests
Luca Casonato e7f96ac708
Improved ObjectTemplate::set_*_handlers (#1237)
Prior to this commit, `v8::NamedPropertyHandlerConfiguration`
and `v8::IndexedPropertyHandlerConfiguration` did not expose the
`definer` hook, or `flags`.

This commit adds these options. In the process of doing this a couple of
other changes were made:

- Bitflag enum consts are now member consts of the related struct.
  This is done because PropertyHandlerFlags has conflicts with
  PropertyAttribute.
- PropertyDescriptor gets all C++ introspection methods exposed to Rust.
- NamedPropertyHandlerConfiguration callback types get rustdoc comments.
- IndexedPropertyHandlerConfiguration callback types get rustdoc
  comments.
- GenericNamedPropertySetterCallback gets a ReturnValue parameter, to
  signal trap passthrough.

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-05-26 13:14:18 +02:00
..
compile_fail chore: update Rust to 1.65.0 (#1116) 2022-11-25 14:32:52 +01:00
slots.rs refactor: v8::Isolate::snapshot_creator instead of v8::SnapshotCreator (#1098) 2022-10-14 10:46:54 +02:00
test_api.rs Improved ObjectTemplate::set_*_handlers (#1237) 2023-05-26 13:14:18 +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