| 508 | } |
| 509 | |
| 510 | JSValueRef V8JavaScriptContext::newWeakRef(const JSValue& object, JSExceptionTracker& exceptionTracker) { |
| 511 | v8::HandleScope handleScope(_isolate); |
| 512 | auto indirect = fromValdiJSValueToIndirect(object); |
| 513 | return toUnretainedJSValueRef(indirect); |
| 514 | } |
| 515 | |
| 516 | JSValueRef V8JavaScriptContext::derefWeakRef(const JSValue& weakRef, JSExceptionTracker& exceptionTracker) { |
| 517 | v8::HandleScope handleScope(_isolate); |
no test coverage detected