Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement partial dictionary codegen support #3588
Open
Labels
Comments
|
It looks like Gecko's WebIDL parser and Codegen also do not support partial dictionaries. Dictionaries defined in parts in the spec are combined into single definitions. For example, http://mxr.mozilla.org/mozilla-central/source/dom/webidl/KeyboardEvent.webidl. |
|
In that case that's definitely not a "less easy" task to implement :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#3585 adds a commented out partial dictionary definition to KeyboardEvent.webidl. I doubt that this is a particularly big deal to port from Gecko's CodeGen.py (possibly requiring porting changes from
parser/WebIDL.pyas well), but I don't have much to go on. This could be a fun task for someone who'd like to learn more about the DOM binding code generation.