mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-14 19:06:55 +02:00
This change takes all existing WebIDL files in the repo that had definition lines without four leading spaces, and fixes them so they have four leading spaces. (cherry picked from commit 51528ec6779202747cc3b99d3b77772a124a0b47)
20 lines
467 B
Plaintext
20 lines
467 B
Plaintext
#import <DOM/EventTarget.idl>
|
|
#import <DOM/EventHandler.idl>
|
|
|
|
// https://html.spec.whatwg.org/multipage/interaction.html#closewatcher
|
|
[Exposed=Window]
|
|
interface CloseWatcher : EventTarget {
|
|
constructor(optional CloseWatcherOptions options = {});
|
|
|
|
undefined requestClose();
|
|
undefined close();
|
|
undefined destroy();
|
|
|
|
attribute EventHandler oncancel;
|
|
attribute EventHandler onclose;
|
|
};
|
|
|
|
dictionary CloseWatcherOptions {
|
|
AbortSignal signal;
|
|
};
|