diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/FileAPI/FileList.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/FileAPI/FileList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/FileAPI/FileList.cpp b/Userland/Libraries/LibWeb/FileAPI/FileList.cpp index d59e1900a5..ce85b0d2d2 100644 --- a/Userland/Libraries/LibWeb/FileAPI/FileList.cpp +++ b/Userland/Libraries/LibWeb/FileAPI/FileList.cpp @@ -43,7 +43,7 @@ bool FileList::is_supported_property_index(u32 index) const return m_files.size() < index; } -JS::Value FileList::item_value(size_t index) const +WebIDL::ExceptionOr<JS::Value> FileList::item_value(size_t index) const { if (index >= m_files.size()) return JS::js_undefined(); |