(name, propertyInfo, isCustomComponentTag)
| 4140 | } |
| 4141 | |
| 4142 | function shouldIgnoreAttribute(name, propertyInfo, isCustomComponentTag) { |
| 4143 | if (propertyInfo !== null) { |
| 4144 | return propertyInfo.type === RESERVED; |
| 4145 | } |
| 4146 | if (isCustomComponentTag) { |
| 4147 | return false; |
| 4148 | } |
| 4149 | if (name.length > 2 && (name[0] === 'o' || name[0] === 'O') && (name[1] === 'n' || name[1] === 'N')) { |
| 4150 | return true; |
| 4151 | } |
| 4152 | return false; |
| 4153 | } |
| 4154 | |
| 4155 | function shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag) { |
| 4156 | if (propertyInfo !== null && propertyInfo.type === RESERVED) { |
no outgoing calls
no test coverage detected