mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:27:35 +00:00
LibWeb: Make factory method of HTML::Storage fallible
This commit is contained in:
parent
d7ee378018
commit
b41401bab2
3 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue