(name, propertyInfo, isCustomComponentTag)
| 4298 | } |
| 4299 | |
| 4300 | function shouldIgnoreAttribute(name, propertyInfo, isCustomComponentTag) { |
| 4301 | if (propertyInfo !== null) { |
| 4302 | return propertyInfo.type === RESERVED; |
| 4303 | } |
| 4304 | if (isCustomComponentTag) { |
| 4305 | return false; |
| 4306 | } |
| 4307 | if (name.length > 2 && (name[0] === 'o' || name[0] === 'O') && (name[1] === 'n' || name[1] === 'N')) { |
| 4308 | return true; |
| 4309 | } |
| 4310 | return false; |
| 4311 | } |
| 4312 | |
| 4313 | function shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag) { |
| 4314 | if (propertyInfo !== null && propertyInfo.type === RESERVED) { |
no outgoing calls
no test coverage detected