This commit is contained in:
2026-01-13 22:16:28 -06:00
parent ac4b47f075
commit 66a9ca27e2
21 changed files with 122 additions and 578 deletions

View File

@@ -40074,8 +40074,8 @@ void JS_AddIntrinsicBaseObjects(JSContext *ctx)
js_blob_proto_funcs, countof(js_blob_proto_funcs));
JSValue blob_ctor = JS_NewCFunction2(ctx, js_blob_constructor, "blob", 3,
JS_CFUNC_constructor, 0);
JS_SetConstructor(ctx, blob_ctor, ctx->class_proto[JS_CLASS_BLOB]);
JS_CFUNC_generic, 0);
// JS_SetConstructor(ctx, blob_ctor, ctx->class_proto[JS_CLASS_BLOB]);
JS_DefinePropertyValueStr(ctx, ctx->global_obj, "blob", blob_ctor,
JS_PROP_WRITABLE | JS_PROP_CONFIGURABLE);
}