mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-24 10:41:11 +08:00
feat: BroadcastChannel 内核接线两 P 字段加 BuiltinId 加脏家族位加注册表字段
This commit is contained in:
@@ -198,6 +198,9 @@ impl KernelSession {
|
||||
console: gen(BuiltinId::Console) != snap(BuiltinId::Console),
|
||||
message_channel: gen(BuiltinId::MessagePortProto) != snap(BuiltinId::MessagePortProto)
|
||||
|| gen(BuiltinId::MessageChannelCtor) != snap(BuiltinId::MessageChannelCtor),
|
||||
broadcast_channel: gen(BuiltinId::BroadcastChannelProto)
|
||||
!= snap(BuiltinId::BroadcastChannelProto)
|
||||
|| gen(BuiltinId::BroadcastChannelCtor) != snap(BuiltinId::BroadcastChannelCtor),
|
||||
};
|
||||
// wrapper 本体被写不落在任何家族位上(写的是 wrapper 自身而非所属 P
|
||||
// 对象):收缩为全脏,强制重建全部家族与 global,使被写的可复用
|
||||
|
||||
Reference in New Issue
Block a user