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

LibWeb: Implement Structured{De}SerializeWithTransfer for transferables

This first cut at these APIs only works for platform objects that
implement the Transferable interface from Bindings.
This commit is contained in:
Andrew Kaster 2023-12-07 15:53:38 -07:00 committed by Andreas Kling
parent e21d1078a0
commit bab9e75a96
4 changed files with 181 additions and 1 deletions

View file

@ -57,6 +57,8 @@ public:
return *m_constructors.find(class_name)->value;
}
bool is_exposed(StringView name) const;
private:
virtual void visit_edges(JS::Cell::Visitor&) override;