(value, propName)
| 274 | } |
| 275 | } |
| 276 | function checkCSSPropertyStringCoercion(value, propName) { |
| 277 | { |
| 278 | if (willCoercionThrow(value)) { |
| 279 | error('The provided `%s` CSS property is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', propName, typeName(value)); |
| 280 | |
| 281 | return testStringCoercion(value); // throw (to help callers find troubleshooting comments) |
| 282 | } |
| 283 | } |
| 284 | } |
| 285 | function checkHtmlStringCoercion(value) { |
| 286 | { |
| 287 | if (willCoercionThrow(value)) { |
no test coverage detected
searching dependent graphs…