(name, propertyInfo, isCustomComponentTag)
| 4595 | return false; |
| 4596 | } |
| 4597 | function shouldIgnoreAttribute(name, propertyInfo, isCustomComponentTag) { |
| 4598 | if (propertyInfo !== null) { |
| 4599 | return propertyInfo.type === RESERVED; |
| 4600 | } |
| 4601 | |
| 4602 | if (isCustomComponentTag) { |
| 4603 | return false; |
| 4604 | } |
| 4605 | |
| 4606 | if (name.length > 2 && (name[0] === 'o' || name[0] === 'O') && (name[1] === 'n' || name[1] === 'N')) { |
| 4607 | return true; |
| 4608 | } |
| 4609 | |
| 4610 | return false; |
| 4611 | } |
| 4612 | function shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag) { |
| 4613 | if (propertyInfo !== null && propertyInfo.type === RESERVED) { |
| 4614 | return false; |
no outgoing calls
no test coverage detected