mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-16 00:08:59 +00:00
uncomment the assertion
Forgot to revert this...
This commit is contained in:
@@ -705,7 +705,7 @@ pub fn jsValueToZig(self: *Context, comptime T: type, js_value: v8.Value) !T {
|
|||||||
return error.InvalidArgument;
|
return error.InvalidArgument;
|
||||||
}
|
}
|
||||||
if (@hasDecl(ptr.child, "JsApi")) {
|
if (@hasDecl(ptr.child, "JsApi")) {
|
||||||
//std.debug.assert(bridge.JsApiLookup.has(ptr.child.JsApi));
|
std.debug.assert(bridge.JsApiLookup.has(ptr.child.JsApi));
|
||||||
const js_obj = js_value.castTo(v8.Object);
|
const js_obj = js_value.castTo(v8.Object);
|
||||||
return typeTaggedAnyOpaque(*ptr.child, js_obj);
|
return typeTaggedAnyOpaque(*ptr.child, js_obj);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user