mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-08 10:01:53 +00:00
LibWeb: Implement the request-close command
See: https://github.com/whatwg/html/pull/11045
This commit is contained in:
parent
fc35229dab
commit
9ef9f8d38f
Notes:
github-actions[bot]
2025-06-07 03:07:08 +00:00
Author: https://github.com/Gingeh
Commit: 9ef9f8d38f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5002
Reviewed-by: https://github.com/tcl3 ✅
Reviewed-by: https://github.com/trflynn89
5 changed files with 358 additions and 13 deletions
|
@ -29,6 +29,7 @@ public:
|
|||
static WebIDL::ExceptionOr<void> show_a_modal_dialog(HTMLDialogElement&, GC::Ptr<DOM::Element> source);
|
||||
|
||||
void close_the_dialog(Optional<String> result, GC::Ptr<DOM::Element> source);
|
||||
void request_close_the_dialog(Optional<String> return_value, GC::Ptr<DOM::Element> source);
|
||||
|
||||
WebIDL::ExceptionOr<void> show();
|
||||
WebIDL::ExceptionOr<void> show_modal();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue