(name, propertyInfo, isCustomComponentTag)
| 3280 | } |
| 3281 | |
| 3282 | function shouldIgnoreAttribute(name, propertyInfo, isCustomComponentTag) { |
| 3283 | if (propertyInfo !== null) { |
| 3284 | return propertyInfo.type === RESERVED; |
| 3285 | } |
| 3286 | if (isCustomComponentTag) { |
| 3287 | return false; |
| 3288 | } |
| 3289 | if (name.length > 2 && (name[0] === 'o' || name[0] === 'O') && (name[1] === 'n' || name[1] === 'N')) { |
| 3290 | return true; |
| 3291 | } |
| 3292 | return false; |
| 3293 | } |
| 3294 | |
| 3295 | function shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag) { |
| 3296 | if (propertyInfo !== null && propertyInfo.type === RESERVED) { |
no outgoing calls
no test coverage detected