Open
Bug 696316
Opened 13 years ago
Updated 3 years ago
HTML parser generator code should use mozilla::ArrayLength when possible
Categories
(Core :: DOM: HTML Parser, defect, P5)
Core
DOM: HTML Parser
Tracking
()
NEW
People
(Reporter: Waldo, Unassigned)
References
Details
Bug 693469 implemented mozilla::ArrayLength to avoid the shortcomings and pitfalls of a macros+sizeof-based approach to computing array length, and it updated the entire codebase to use that in preference to the macro approach when possible. (The macros are necessary due to various limitations of ISO C++, fixed in C++11.) However, it didn't update the machine-generated parts of the HTML parser. The Java-to-C++ translator should be updated to use mozilla::ArrayLength whenever possible. For more information, see the two blog posts mentioned in bug 693469.
Comment 1•3 years ago
|
||
Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority and severity.
If you have reason to believe this is wrong, please write a comment and ni :jstutte.
Severity: normal → S4
Priority: -- → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•