ladybird/Userland/Libraries/LibWeb/DOM/BeforeUnloadEvent.idl
Tim Ledbetter 99ef078c97 LibWeb: Implement BeforeUnloadEvent
This is required to support legacy behavior of the `returnValue`
attribute.
2024-10-05 09:17:34 +02:00

7 lines
216 B
Text

#import <DOM/Event.idl>
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-beforeunloadevent-interface
[Exposed=Window]
interface BeforeUnloadEvent : Event {
attribute DOMString returnValue;
};