mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-26 19:51:11 +08:00
feat: 内核预留 MessagePort 原型与 MessageChannel 构造器槽位
This commit is contained in:
@@ -142,6 +142,7 @@ impl oxide_runtime_api::VmHost for Vm {
|
||||
ProtoKind::Float64ArrayConstructor => &world.float64array_constructor,
|
||||
ProtoKind::BigInt64ArrayConstructor => &world.bigint64array_constructor,
|
||||
ProtoKind::BigUint64ArrayConstructor => &world.biguint64array_constructor,
|
||||
ProtoKind::MessagePortProto => &world.message_port_proto,
|
||||
};
|
||||
P::as_ptr(p) as *mut JsObject
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user