mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 23:59:49 +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:
parent
0dec2dc21c
commit
63b24e38fa
Notes:
github-actions[bot]
2024-10-11 07:10:23 +00:00
Author: https://github.com/trflynn89
Commit: 63b24e38fa
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1725
2 changed files with 16 additions and 4 deletions
|
@ -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>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue