1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 22:13:05 +00:00

Issue #1224 - Remove constant expressions from /dom

This excludes DOMProxy handlers in dom bindings because that's intertwined with
codegen and js that needs to be handled together.
This commit is contained in:
Moonchild
2020-09-17 23:48:58 +00:00
committed by roytam1
parent 57d143dc6e
commit f5f9c8c597
34 changed files with 54 additions and 57 deletions
-2
View File
@@ -5858,8 +5858,6 @@ HTMLInputElement::ParseAttribute(int32_t aNamespaceID,
const nsAString& aValue,
nsAttrValue& aResult)
{
// We can't make these static_asserts because kInputDefaultType and
// kInputTypeTable aren't constexpr.
MOZ_ASSERT(kInputDefaultType->value == NS_FORM_INPUT_TEXT,
"Someone forgot to update kInputDefaultType when adding a new "
"input type.");