(name, propertyInfo, isCustomComponentTag)
| 3408 | } |
| 3409 | |
| 3410 | function shouldIgnoreAttribute(name, propertyInfo, isCustomComponentTag) { |
| 3411 | if (propertyInfo !== null) { |
| 3412 | return propertyInfo.type === RESERVED; |
| 3413 | } |
| 3414 | if (isCustomComponentTag) { |
| 3415 | return false; |
| 3416 | } |
| 3417 | if (name.length > 2 && (name[0] === 'o' || name[0] === 'O') && (name[1] === 'n' || name[1] === 'N')) { |
| 3418 | return true; |
| 3419 | } |
| 3420 | return false; |
| 3421 | } |
| 3422 | |
| 3423 | function shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag) { |
| 3424 | if (propertyInfo !== null && propertyInfo.type === RESERVED) { |
no outgoing calls
no test coverage detected