Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 修复在 sandbox.document.getElementById 无法查询到时, 使用 iframe 调用回到 proxy 导致死循环 #946

Merged
merged 1 commit into from
Feb 19, 2025

Conversation

xuanhen2013
Copy link
Contributor

@xuanhen2013 xuanhen2013 commented Dec 30, 2024

… 导致死循环

  • 提交符合commit规范
  • 文档更改
  • 测试用例添加
  • npm run test通过
详细描述
  • 特性
  • 关联issue

@bononwj
Copy link

bononwj commented Feb 19, 2025

坐等更新啊

@yiludege
Copy link
Collaborator

todo: 需要改成:return (sandbox.document.getElementById(id) as any) || iframe.contentWindow.WUJIE_RAW_DOCUMENT_HEAD.querySelector(#${id});

@yiludege yiludege merged commit 0dfad42 into Tencent:master Feb 19, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants