(name, propertyInfo, isCustomComponentTag)
| 4185 | } |
| 4186 | |
| 4187 | function shouldIgnoreAttribute(name, propertyInfo, isCustomComponentTag) { |
| 4188 | if (propertyInfo !== null) { |
| 4189 | return propertyInfo.type === RESERVED; |
| 4190 | } |
| 4191 | if (isCustomComponentTag) { |
| 4192 | return false; |
| 4193 | } |
| 4194 | if (name.length > 2 && (name[0] === 'o' || name[0] === 'O') && (name[1] === 'n' || name[1] === 'N')) { |
| 4195 | return true; |
| 4196 | } |
| 4197 | return false; |
| 4198 | } |
| 4199 | |
| 4200 | function shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag) { |
| 4201 | if (propertyInfo !== null && propertyInfo.type === RESERVED) { |
no outgoing calls
no test coverage detected