mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +00:00
LibWeb: Make factory method of FileAPI::FileList fallible
This commit is contained in:
parent
15917146d3
commit
6688f89ad3
3 changed files with 5 additions and 5 deletions
|
@ -17,7 +17,7 @@ class FileList : public Bindings::LegacyPlatformObject {
|
|||
WEB_PLATFORM_OBJECT(FileList, Bindings::LegacyPlatformObject);
|
||||
|
||||
public:
|
||||
static JS::NonnullGCPtr<FileList> create(JS::Realm&, Vector<JS::NonnullGCPtr<File>>&&);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<FileList>> create(JS::Realm&, Vector<JS::NonnullGCPtr<File>>&&);
|
||||
virtual ~FileList() override;
|
||||
|
||||
// https://w3c.github.io/FileAPI/#dfn-length
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue