mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Implement formdata event
This commit is contained in:
parent
477b6ef886
commit
9d70f51356
13 changed files with 189 additions and 90 deletions
14
components/script/dom/webidls/FormDataEvent.webidl
Normal file
14
components/script/dom/webidls/FormDataEvent.webidl
Normal file
|
@ -0,0 +1,14 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#the-formdataevent-interface
|
||||
[Exposed=Window,
|
||||
Constructor(DOMString type, optional FormDataEventInit eventInitDict)]
|
||||
interface FormDataEvent : Event {
|
||||
readonly attribute FormData formData;
|
||||
};
|
||||
|
||||
dictionary FormDataEventInit : EventInit {
|
||||
/*required*/ FormData formData;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue