summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/FormDataEvent.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/FormDataEvent.idl')
-rw-r--r--Userland/Libraries/LibWeb/HTML/FormDataEvent.idl14
1 files changed, 14 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/FormDataEvent.idl b/Userland/Libraries/LibWeb/HTML/FormDataEvent.idl
new file mode 100644
index 0000000000..3b198d7658
--- /dev/null
+++ b/Userland/Libraries/LibWeb/HTML/FormDataEvent.idl
@@ -0,0 +1,14 @@
+#import <DOM/Event.idl>
+#import <XHR/FormData.idl>
+
+// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#the-formdataevent-interface
+[Exposed=Window]
+interface FormDataEvent : Event {
+ constructor(DOMString type, FormDataEventInit eventInitDict);
+
+ readonly attribute FormData formData;
+};
+
+dictionary FormDataEventInit : EventInit {
+ required FormData formData;
+};