mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 22:30:31 +00:00
LibWeb: Add {,de}serialization steps for CryptoKey
This commit is contained in:
parent
ca54691ecf
commit
52f056503d
Notes:
sideshowbarker
2024-07-17 01:28:15 +09:00
Author: https://github.com/kennethmyhra
Commit: 52f056503d
Pull-request: https://github.com/SerenityOS/serenity/pull/23636
5 changed files with 97 additions and 1 deletions
|
@ -33,6 +33,7 @@
|
|||
#include <LibWeb/Bindings/Intrinsics.h>
|
||||
#include <LibWeb/Bindings/Serializable.h>
|
||||
#include <LibWeb/Bindings/Transferable.h>
|
||||
#include <LibWeb/Crypto/CryptoKey.h>
|
||||
#include <LibWeb/FileAPI/Blob.h>
|
||||
#include <LibWeb/FileAPI/File.h>
|
||||
#include <LibWeb/Geometry/DOMMatrix.h>
|
||||
|
@ -984,6 +985,8 @@ private:
|
|||
return Geometry::DOMRectReadOnly::create(realm);
|
||||
if (interface_name == "DOMRect"sv)
|
||||
return Geometry::DOMRect::create(realm);
|
||||
if (interface_name == "CryptoKey"sv)
|
||||
return Crypto::CryptoKey::create(realm);
|
||||
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue