window.onerror in utils/state.js throws when the error event carries no Error object (e.g. the benign ResizeObserver loop), so nothing reaches handle_frontend_exception
维护者通常 1 天内回复
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 84/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- javascript
- 领域
- frontend
调研方向
从编译生成 .web/utils/state.js 的源文件(项目 web 模板下的模板 state.js)开始,定位由 error.name 构建 info 的 window.onerror 处理程序。为 error == null 添加一个守卫,回退到 message/source/line 参数,使事件仍能到达 handle_frontend_exception。当 error 为 null 的 ErrorEvent(例如良性的 ResizeObserver 循环)不再抛出 TypeError 并被报告为前端异常时即为完成;探测脚本 ent_grid/scripts/probe_mantine_pageerror.py 或手动派发事件可以确认这一点。
由索引模型根据 Issue 内容生成。
描述
Severity: LOW, pre-existing (same code on 0.9.12 and 0.10.0a2).
Opening a mantine MultiSelect and clicking an option fires the benign ResizeObserver loop completed with undelivered notifications ErrorEvent with error=null; the compiled .web/utils/state.js window.onerror handler (info: error.name + …) then throws TypeError: Cannot read properties of null (reading 'name') (at window.onerror (utils/state.js:1195)), which surfaces as a page error and means the original event never reaches handle_frontend_exception. Guard for error == null and fall back to the message/source/line arguments.
Evidence: ent_grid/out/mantine_{dev,prod}_a2/, out/mantine_prod_s912/ (page_errors), ent_grid/scripts/probe_mantine_pageerror.py; finding N-028 in FINDINGS.md.
- 主要语言
- Python
- 星标
- 28.9k
- 派生
- 1.8k
- 平均合并
- 2 天 14 小时
- 30 天内合并 PR
- 211
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
reflex-dev/reflex 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
reflex-dev/reflex#7561 · 1 条评论 ·
维护者通常 1 天内回复
-
`reflex run --json` ignores SIGINT sent to its pid; under supervisord stopsignal=INT the app is orphaned and blocks the restart可能已有人在做 @harsh21234i 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
reflex-dev/reflex#7509 · 1 条评论 ·
维护者通常 1 天内回复
-
npm: source-only hot reloads still reinstall packages because the rendered package.json has `devDependencies: {}` while the on-disk one has no key (residual of #7235)可能已有人在做 @harsh21234i 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
reflex-dev/reflex#7480 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
reflex-dev/reflex#7260 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
reflex-dev/reflex#7148 · 1 条评论 ·
维护者通常 1 天内回复
查看 reflex-dev/reflex 的全部 Issue
相似的 Issue
-
good first issue
难度 2/5 1-3 小时 新手友好度 85/100
btclib-org/btclib-node#1955 ·
维护者通常 1 天内回复
-
documentation v0.9.2
难度 2/5 半天 新手友好度 72/100
khuisman/mcp-gee-sweet#1033 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
ossf/cve-bin-tool#5966 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 2 天内回复
-
write_iceberg ignores the table's write.parquet.compression-codec property可能已有人在做 @YuangGao 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
Eventual-Inc/Daft#7606 ·
维护者通常 1 天内回复