mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-01 22:29:13 +00:00
LibWeb: Support appending files to <input type=file>
This isn't exposed to the Web, but WebDriver requires this feature.
This commit is contained in:
committed by
Andreas Kling
parent
0dec2dc21c
commit
63b24e38fa
@@ -105,7 +105,11 @@ public:
|
||||
|
||||
void did_pick_color(Optional<Color> picked_color, ColorPickerUpdateState state);
|
||||
|
||||
void did_select_files(Span<SelectedFile> selected_files);
|
||||
enum class MultipleHandling {
|
||||
Replace,
|
||||
Append,
|
||||
};
|
||||
void did_select_files(Span<SelectedFile> selected_files, MultipleHandling = MultipleHandling::Replace);
|
||||
|
||||
JS::GCPtr<FileAPI::FileList> files();
|
||||
void set_files(JS::GCPtr<FileAPI::FileList>);
|
||||
|
||||
Reference in New Issue
Block a user