mirror of
https://github.com/servo/servo.git
synced 2025-07-31 19:20:22 +01:00
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. -->
This commit is contained in:
commit
03a47c803c
7 changed files with 2 additions and 51 deletions
|
@ -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);
|
||||
|
|
|
@ -51,6 +51,7 @@ interface mixin GlobalEventHandlers {
|
|||
attribute EventHandler onended;
|
||||
attribute OnErrorEventHandler onerror;
|
||||
attribute EventHandler onfocus;
|
||||
attribute EventHandler onformdata;
|
||||
attribute EventHandler oninput;
|
||||
attribute EventHandler oninvalid;
|
||||
attribute EventHandler onkeydown;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue