mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 03:57:15 +02: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
Notes:
github-actions[bot]
2024-10-11 07:10:23 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/63b24e38faa Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1725
@@ -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