mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 19:19:30 +00:00
LibWeb/HTML: Port Window.confirm() to IDL
This commit is contained in:
parent
a0b73eb5f7
commit
bbffda5f55
Notes:
sideshowbarker
2024-07-17 03:19:14 +09:00
Author: https://github.com/linusg
Commit: bbffda5f55
Pull-request: https://github.com/SerenityOS/serenity/pull/17752
Reviewed-by: https://github.com/awesomekling
3 changed files with 12 additions and 19 deletions
|
@ -7,6 +7,7 @@ interface Window : EventTarget {
|
|||
// user prompts
|
||||
undefined alert();
|
||||
undefined alert(DOMString message);
|
||||
boolean confirm(optional DOMString message = "");
|
||||
};
|
||||
Window includes GlobalEventHandlers;
|
||||
Window includes WindowEventHandlers;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue