-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Automatically generate list of all implemented event handler attribute names #43611
Copy link
Copy link
Closed
Closed
Copy link
Labels
A-content/bindingsThe DOM bindingsThe DOM bindingsE-more-complexVariable effort required; may require a mentor. Recommended solution is clearly described in the issVariable effort required; may require a mentor. Recommended solution is clearly described in the issL-pythonPython is requiredPython is required
Metadata
Metadata
Assignees
Labels
A-content/bindingsThe DOM bindingsThe DOM bindingsE-more-complexVariable effort required; may require a mentor. Recommended solution is clearly described in the issVariable effort required; may require a mentor. Recommended solution is clearly described in the issL-pythonPython is requiredPython is required
Type
Fields
Give feedbackNo fields configured for issues without a type.
servo/components/script/dom/eventtarget.rs
Line 79 in 7c1401f
It feels like there is an easy footgun of implementing a unique event handler in some interface and forgetting to update the list.
We should be able to add a new entry to
servo/components/script_bindings/codegen/run.py
Line 62 in 7c1401f
After all descriptors have been checked generate identical code to the hand-written code, and use the generated code from eventtarget.rs.
servo/components/script_bindings/codegen/codegen.py
Line 9299 in 7c1401f
servo/components/script_bindings/codegen/codegen.py
Line 2982 in 7c1401f