1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

[quikjs] DupValue

This commit is contained in:
Witold Filipczyk 2023-01-21 18:00:27 +01:00
parent ab4a08218f
commit c97d0c0690

View File

@ -660,7 +660,9 @@ js_document_get_property_location(JSContext *ctx, JSValueConst this_val)
struct ecmascript_interpreter *interpreter = (struct ecmascript_interpreter *)JS_GetContextOpaque(ctx);
RETURN_JS(interpreter->location_obj);
JSValue ret = JS_DupValue(ctx, interpreter->location_obj);
RETURN_JS(ret);
}
static JSValue