mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 17:03:07 +09: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:
parent
57d143dc6e
commit
f5f9c8c597
34 changed files with 54 additions and 57 deletions
|
|
@ -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.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue