(name, propertyInfo, isCustomComponentTag)
| 918 | return false; |
| 919 | } |
| 920 | function shouldIgnoreAttribute(name, propertyInfo, isCustomComponentTag) { |
| 921 | if (propertyInfo !== null) { |
| 922 | return propertyInfo.type === RESERVED; |
| 923 | } |
| 924 | |
| 925 | if (isCustomComponentTag) { |
| 926 | return false; |
| 927 | } |
| 928 | |
| 929 | if (name.length > 2 && (name[0] === 'o' || name[0] === 'O') && (name[1] === 'n' || name[1] === 'N')) { |
| 930 | return true; |
| 931 | } |
| 932 | |
| 933 | return false; |
| 934 | } |
| 935 | function shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag) { |
| 936 | if (propertyInfo !== null && propertyInfo.type === RESERVED) { |
| 937 | return false; |
no outgoing calls
no test coverage detected