(name, propertyInfo, isCustomComponentTag)
| 4047 | } |
| 4048 | |
| 4049 | function shouldIgnoreAttribute(name, propertyInfo, isCustomComponentTag) { |
| 4050 | if (propertyInfo !== null) { |
| 4051 | return propertyInfo.type === RESERVED; |
| 4052 | } |
| 4053 | if (isCustomComponentTag) { |
| 4054 | return false; |
| 4055 | } |
| 4056 | if (name.length > 2 && (name[0] === 'o' || name[0] === 'O') && (name[1] === 'n' || name[1] === 'N')) { |
| 4057 | return true; |
| 4058 | } |
| 4059 | return false; |
| 4060 | } |
| 4061 | |
| 4062 | function shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag) { |
| 4063 | if (propertyInfo !== null && propertyInfo.type === RESERVED) { |
no outgoing calls
no test coverage detected