| 434 | }; |
| 435 | |
| 436 | void throwInvalidType(IJavaScriptContext& jsContext, |
| 437 | const JSValue& jsValue, |
| 438 | JSExceptionTracker& exceptionTracker, |
| 439 | ValueType expectedType) { |
| 440 | exceptionTracker.onError(Value::invalidTypeError(expectedType, jsContext.getValueType(jsValue))); |
| 441 | } |
| 442 | |
| 443 | Value untypedJsObjectToValue(IJavaScriptContext& jsContext, |
| 444 | const JSValue& jsValue, |
no test coverage detected