This is the followup we need to do after #6406 to remove dead code.

hasPositiveNumericValue:
          checkMask(propConfig, Injection.HAS_POSITIVE_NUMERIC_VALUE),
        hasOverloadedBooleanValue:
          checkMask(propConfig, Injection.HAS_OVERLOADED_BOOLEAN_VALUE),
      };
      invariant(
        propertyInfo.mustUseProperty || !propertyInfo.hasSideEffects,
        'DOMProperty: Properties that have side effects must use property: %s',
        propName
      );
      invariant(
        propertyInfo.hasBooleanValue + propertyInfo.hasNumericValue +
          propertyInfo.hasOverloadedBooleanValue <= 1,
        'DOMProperty: Value can be one of boolean, overloaded boolean, or ' +
        'numeric value, but not a combination: %s',
        propName
      );
      if (__DEV__) {
        DOMProperty.getPossibleStandardName[lowerCased] = propName;
      }
      if (DOMAttributeNames.hasOwnProperty(propName)) {
        var attributeName = DOMAttributeNames[propName];
        propertyInfo.attributeName = attributeName;
        if (__DEV__) {
          DOMProperty.getPossibleStandardName[attributeName] = propName;
        }
      }
      if (DOMAttributeNamespaces.hasOwnProperty(propName)) {
        propertyInfo.attributeNamespace = DOMAttributeNamespaces[propName];
      }