LibWeb: Implement HTMLDialogElement::show()

This commit is contained in:
Tim Ledbetter 2024-02-13 22:37:16 +00:00 committed by Tim Flynn
commit 151cd11b5b
Notes: sideshowbarker 2024-07-17 10:16:43 +09:00
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;
};