mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-04 15:19:42 +00:00
LibWeb: Move StructuredSerializeOptions to its own header
This largely reduces the number of files needed to be compiled when we change the MessagePort header.
This commit is contained in:
parent
5ed702e211
commit
32a22c49e3
Notes:
github-actions[bot]
2024-10-17 20:35:59 +00:00
Author: https://github.com/trflynn89
Commit: 32a22c49e3
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1835
Reviewed-by: https://github.com/ADKaster ✅
16 changed files with 31 additions and 22 deletions
19
Userland/Libraries/LibWeb/HTML/StructuredSerializeOptions.h
Normal file
19
Userland/Libraries/LibWeb/HTML/StructuredSerializeOptions.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (c) 2024, Tim Flynn <trflynn89@ladybird.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AK/Vector.h>
|
||||
#include <LibJS/Runtime/Object.h>
|
||||
|
||||
namespace Web::HTML {
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/web-messaging.html#structuredserializeoptions
|
||||
struct StructuredSerializeOptions {
|
||||
Vector<JS::Handle<JS::Object>> transfer;
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue