aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/macros.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2019-12-10 01:30:38 -0500
committerGitHub <noreply@github.com>2019-12-10 01:30:38 -0500
commit03a47c803c05d92020e11ae5eabeab707714385c (patch)
treed7aa5a4c9bee00c489c89f379d367d33d946eb4d /components/script/dom/macros.rs
parent64c9928b2e3af01ba779f1e0534025bd1e800e0f (diff)
parent7529591e8f9f6bd24c921b1745ac62b8dff1e1cd (diff)
downloadservo-03a47c803c05d92020e11ae5eabeab707714385c.tar.gz
servo-03a47c803c05d92020e11ae5eabeab707714385c.zip
Auto merge of #25201 - xu3u4:25183-add-onformdata-to-global-event-handler, r=jdm
Add onformdata to GlobalEventHandlers <!-- Please describe your changes on the following line: --> 1. Adding `onformdata` to GlobalEventHandlers interface and global_event_handlers macro. 2. Deleting related FAIL tests. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #25183 (GitHub issue number if applicable) <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Diffstat (limited to 'components/script/dom/macros.rs')
-rw-r--r--components/script/dom/macros.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/macros.rs b/components/script/dom/macros.rs
index 755624a8855..a1941662963 100644
--- a/components/script/dom/macros.rs
+++ b/components/script/dom/macros.rs
@@ -446,6 +446,7 @@ macro_rules! global_event_handlers(
event_handler!(emptied, GetOnemptied, SetOnemptied);
event_handler!(ended, GetOnended, SetOnended);
error_event_handler!(error, GetOnerror, SetOnerror);
+ event_handler!(formdata, GetOnformdata, SetOnformdata);
event_handler!(input, GetOninput, SetOninput);
event_handler!(invalid, GetOninvalid, SetOninvalid);
event_handler!(keydown, GetOnkeydown, SetOnkeydown);