1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:08:13 +00:00

LibWeb: Implement HTMLDialogElement::show()

This commit is contained in:
Tim Ledbetter 2024-02-13 22:37:16 +00:00 committed by Tim Flynn
parent 8042558805
commit 151cd11b5b
4 changed files with 51 additions and 3 deletions

View file

@ -21,7 +21,7 @@ public:
String return_value() const;
void set_return_value(String);
void show();
WebIDL::ExceptionOr<void> show();
void show_modal();
void close(Optional<String> return_value);
@ -35,6 +35,8 @@ private:
void close_the_dialog(Optional<String> result);
void run_dialog_focusing_steps();
String m_return_value;
};