diff options
author | Moonchild <moonchild@palemoon.org> | 2020-09-17 23:48:58 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-09-17 23:48:58 +0000 |
commit | 6be15b96ae4a9f0a73aaea794602201ddf0c4242 (patch) | |
tree | a0bfe1e4c95ea2f6a1c0e551b346a5d178ba7dc0 /dom/html/HTMLInputElement.cpp | |
parent | a0cdf328774e553eec1df9276604362d7a3679cd (diff) | |
download | UXP-6be15b96ae4a9f0a73aaea794602201ddf0c4242.tar UXP-6be15b96ae4a9f0a73aaea794602201ddf0c4242.tar.gz UXP-6be15b96ae4a9f0a73aaea794602201ddf0c4242.tar.lz UXP-6be15b96ae4a9f0a73aaea794602201ddf0c4242.tar.xz UXP-6be15b96ae4a9f0a73aaea794602201ddf0c4242.zip |
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.
Diffstat (limited to 'dom/html/HTMLInputElement.cpp')
-rw-r--r-- | dom/html/HTMLInputElement.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/dom/html/HTMLInputElement.cpp b/dom/html/HTMLInputElement.cpp index f2c14ff2d..a1ffbb15d 100644 --- a/dom/html/HTMLInputElement.cpp +++ b/dom/html/HTMLInputElement.cpp @@ -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."); |