DescriptionConvert make_qualified_names and make_element_factory to use JSON5.
Convert make_qualified_names.py, make_element_factory.py,
make_element_type_helpers.py, and make_element_lookup_trie.py
to use JSON5 config format.
Converted these config files accordingly:
Source/core/html/HTMLAttributeNames.in
Source/core/html/HTMLTagNames.in
Source/core/html/parser/MathMLAttributeNames.in
Source/core/html/parser/MathMLTagNames.in
Source/core/svg/SVGAttributeNames.in
Source/core/svg/SVGTagNames.in
Source/core/svg/xlinkattrs.in
Source/core/xml/xmlattrs.in
Source/core/xml/xmlnsattrs.in
Note that these files are updated together because:
1. make_element_factory.py depends on make_qualified_names.py
2. HTMLTagNames.in is common input to the scripts make_element_factory,
make_element_type_helpers and make_element_lookup_trie
Removed FIXME in make_element_type_helpers.py since that case
no longer occurs.
Also fixed bug in json5_generator where parameters should not be
validated if default_parameters is not provided.
(caught when I had typo on default_parameters in the script)
BUG=677884
Review-Url: https://codereview.chromium.org/2645283006
Cr-Original-Original-Original-Commit-Position: refs/heads/master@{#447450}
Committed: https://chromium.googlesource.com/chromium/src/+/f5ca5654596eeda38c2a796bbbad299d92b7f008
Review-Url: https://codereview.chromium.org/2645283006
Cr-Original-Original-Commit-Position: refs/heads/master@{#447891}
Committed: https://chromium.googlesource.com/chromium/src/+/701ccf95a0ec04657b59ad240e28be4085fe033f
Review-Url: https://codereview.chromium.org/2645283006
Cr-Original-Commit-Position: refs/heads/master@{#449229}
Committed: https://chromium.googlesource.com/chromium/src/+/013b234ed4fc6fd9a999bc2bd5f156a17c810356
Review-Url: https://codereview.chromium.org/2645283006
Cr-Commit-Position: refs/heads/master@{#449371}
Committed: https://chromium.googlesource.com/chromium/src/+/5df01277cc419f8b19d266412738704022cda5d3
Patch Set 1 #Patch Set 2 : Fix parameters skip #
Total comments: 4
Patch Set 3 : rebase and address reviewer comments #Patch Set 4 : remove \\ #Patch Set 5 : Rebase -- add aria-modal to HTMLAttributeNames #Patch Set 6 : Rebase #Patch Set 7 : Rebase -- add aria-modal to HTMLAttributeNames #Patch Set 8 : fix typo __majson5__ -> __main__ in make_qualified_names.py #Messages
Total messages: 68 (43 generated)
|