1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:57:35 +00:00

LibWeb/HTML: Port Window.confirm() to IDL

This commit is contained in:
Linus Groh 2023-03-05 17:21:24 +00:00
parent a0b73eb5f7
commit bbffda5f55
3 changed files with 12 additions and 19 deletions

View file

@ -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;