(name, propertyInfo, isCustomComponentTag)
| 4082 | } |
| 4083 | |
| 4084 | function shouldIgnoreAttribute(name, propertyInfo, isCustomComponentTag) { |
| 4085 | if (propertyInfo !== null) { |
| 4086 | return propertyInfo.type === RESERVED; |
| 4087 | } |
| 4088 | if (isCustomComponentTag) { |
| 4089 | return false; |
| 4090 | } |
| 4091 | if (name.length > 2 && (name[0] === 'o' || name[0] === 'O') && (name[1] === 'n' || name[1] === 'N')) { |
| 4092 | return true; |
| 4093 | } |
| 4094 | return false; |
| 4095 | } |
| 4096 | |
| 4097 | function shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag) { |
| 4098 | if (propertyInfo !== null && propertyInfo.type === RESERVED) { |
no outgoing calls
no test coverage detected