mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:07:45 +00:00
LibWeb: Make factory method of Crypto::SubtleCrypto fallible
This commit is contained in:
parent
58af8e2021
commit
52e9839d8b
3 changed files with 8 additions and 5 deletions
|
@ -15,7 +15,7 @@ class SubtleCrypto final : public Bindings::PlatformObject {
|
|||
WEB_PLATFORM_OBJECT(SubtleCrypto, Bindings::PlatformObject);
|
||||
|
||||
public:
|
||||
static JS::NonnullGCPtr<SubtleCrypto> create(JS::Realm&);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<SubtleCrypto>> create(JS::Realm&);
|
||||
|
||||
virtual ~SubtleCrypto() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue