LibWeb: Implement the StructuredClone AO

This commit is contained in:
Timothy Flynn 2024-01-28 10:22:52 -05:00 committed by Andreas Kling
commit 5ccd1ff1bf
Notes: sideshowbarker 2024-07-16 23:17:55 +09:00
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);