1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 08:27:35 +00:00

LibWeb: Make factory method of HTML::Storage fallible

This commit is contained in:
Kenneth Myhra 2023-02-15 19:57:02 +01:00 committed by Linus Groh
parent d7ee378018
commit b41401bab2
3 changed files with 5 additions and 5 deletions

View file

@ -16,7 +16,7 @@ class Storage : public Bindings::PlatformObject {
WEB_PLATFORM_OBJECT(Storage, Bindings::PlatformObject);
public:
static JS::NonnullGCPtr<Storage> create(JS::Realm&);
static WebIDL::ExceptionOr<JS::NonnullGCPtr<Storage>> create(JS::Realm&);
~Storage();
size_t length() const;