Skip to content

fix(sandbox): 新增 protoBaseDescs 修正TM半沙盒的祖先类别继承#1463

Merged
CodFrm merged 5 commits into
mainfrom
fix/sandbox/2
May 24, 2026
Merged

fix(sandbox): 新增 protoBaseDescs 修正TM半沙盒的祖先类别继承#1463
CodFrm merged 5 commits into
mainfrom
fix/sandbox/2

Conversation

@cyfung1031
Copy link
Copy Markdown
Collaborator

@cyfung1031 cyfung1031 commented May 23, 2026

原本设计是 继承 Window 的
后来被扭曲成没 prototype 的 四不象 ( #700 a1a868d , #966 )
所以就需要这个 PR 了


Checklist / 检查清单

  • Fixes mentioned issues / 修复已提及的问题
  • Code reviewed by human / 代码通过人工检查
  • Changes tested / 已完成测试

Description / 描述

#1462

由于 window.prototype 为 undefined, 无法做一个假父类去做这件事
只能把东西写在 半沙盒里
我想多了。TM半沙盒本来就是 Object.hasOwn(window, "addEventListener") === true

Screenshots / 截图

@cyfung1031 cyfung1031 added bug Something isn't working P0 🚑 需要紧急处理的内容 hotfix 需要尽快更新到扩展商店 labels May 23, 2026
@cyfung1031 cyfung1031 linked an issue May 23, 2026 that may be closed by this pull request
@CodFrm CodFrm merged commit 763fe2c into main May 24, 2026
3 of 4 checks passed
@CodFrm CodFrm deleted the fix/sandbox/2 branch May 24, 2026 04:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working hotfix 需要尽快更新到扩展商店 P0 🚑 需要紧急处理的内容

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] 祖先类别自定义成员未有继承在半沙盒

2 participants