mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
LibWeb: Add the SubtleCrypto interface
Just some boilerplate code to get started :^) This adds both the SubtleCrypto constructor to the window object, as well as the crypto.subtle instance attribute.
This commit is contained in:
parent
ce6c515873
commit
615be9eb7c
8 changed files with 57 additions and 2 deletions
|
@ -2798,6 +2798,7 @@ void generate_prototype_implementation(IDL::Interface const& interface)
|
|||
#include <LibWeb/Bindings/PerformanceTimingWrapper.h>
|
||||
#include <LibWeb/Bindings/RangeWrapper.h>
|
||||
#include <LibWeb/Bindings/StyleSheetListWrapper.h>
|
||||
#include <LibWeb/Bindings/SubtleCryptoWrapper.h>
|
||||
#include <LibWeb/Bindings/TextWrapper.h>
|
||||
#include <LibWeb/Bindings/URLSearchParamsWrapper.h>
|
||||
#include <LibWeb/Bindings/WindowObject.h>
|
||||
|
@ -2886,6 +2887,7 @@ void generate_prototype_implementation(IDL::Interface const& interface)
|
|||
generator.append(R"~~~(
|
||||
|
||||
// FIXME: This is a total hack until we can figure out the namespace for a given type somehow.
|
||||
using namespace Web::Crypto;
|
||||
using namespace Web::CSS;
|
||||
using namespace Web::DOM;
|
||||
using namespace Web::Geometry;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue