1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:07:36 +00:00

LibWeb: Implement the StructuredClone AO

This commit is contained in:
Timothy Flynn 2024-01-28 10:22:52 -05:00 committed by Andreas Kling
parent 59716f807f
commit 5ccd1ff1bf
2 changed files with 14 additions and 0 deletions

View file

@ -175,6 +175,7 @@ WebIDL::ExceptionOr<void> transform_stream_set_backpressure(TransformStream&, bo
bool is_non_negative_number(JS::Value);
bool can_transfer_array_buffer(JS::ArrayBuffer const& array_buffer);
WebIDL::ExceptionOr<JS::Value> structured_clone(JS::Realm&, JS::Value value);
JS::Value create_close_sentinel();
bool is_close_sentinel(JS::Value);