ElyMark: the print page runs none of the document's scripts (M-15)
WebView::open_inert makes a browser with JavaScript off; ElyMark's staged print page uses it. webprobe opens one page both ways: the scripted copy must report, the inert one never. The CEF router drops a query that lacks onFailure, and queries made before the router is ready are lost; agents.md says so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6247771f24
commit
d9056c3564
11 files changed
+66
-7
No files matched your search
+1
-1
@@ -75,7 +75,7 @@
|
||||
- [x] M-12 浏览器创建完成前 `WebView` 已释放,浏览器泄漏 — 浏览器在泵里同步建好即登记,视图要么在建前已走、要么有浏览器可关;webprobe 加建前丢弃与 0–27 毫秒丢弃,35 页都在保持前释放(审查 4 轮)
|
||||
- [x] M-13 编辑器构建失败时页面空白且不上报 — 可视建不成退回源码并告知,两者都建不成即报失败、留下文字、模式请求重建、不留容器;新测 mark-broken.mjs(审查 2 轮)
|
||||
- [x] M-14 `render_pdf` 在界面线程内嵌图片并写文件 — 打印页的内嵌、读样式与写入经 paper::stage 在后台执行,GPUI 单测证明执行器运行前未写(审查 2 轮)
|
||||
- [ ] M-15 打印与导出 PDF 的暂存页执行文档里的脚本
|
||||
- [x] M-15 打印与导出 PDF 的暂存页执行文档里的脚本 — 打印与导出 PDF 的暂存页以 WebView::open_inert 打开,脚本关;webprobe 以同页开脚本为对照(审查 2 轮)
|
||||
- [ ] G-01 打开“文件历史”或“逐行追溯”后,中间区不再响应任何别的选择
|
||||
- [ ] G-02 进行中操作读取失败被吞掉;`git am` 冲突无提示条无错误
|
||||
- [ ] G-03 新建的空仓库在“仓库”页显示两段 Git 致命错误(引用日志、LFS)
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
FAIL
|
||||
|
||||
- `tests/fixtures/web/inert.html:6`(关联 `tests/scripts/webview.sh:71`):固定等待 500 毫秒后只发一次查询,不能可靠证明脚本未执行,回归检查会漏报。复现:独立副本仅把 `open_inert` 传给 `opened` 的 `scripts` 改为 `true`,Windows 与 WSL 的原探针仍到达 `probe: inert loaded`、`probe: hold`,且没有 `inert ran`,因此 M-15 新增断言仍通过;同一副本的样本追加同步 console 警告和 5 秒后的查询,两端均确认脚本执行并收到 `probe: inert ran late`。证据在 `.work/M-15-r1/` 的 `windows-original-mutant.out.log`、`linux-original-mutant.out.log` 与两端的 `*-diagnostic-mutant.out.log`、`*-diagnostic-mutant.err.log`。修复方向:让执行回报可靠送达,并要求同一页面在开启脚本的正向对照中报告执行;验证 `scripts=true` 的变异能稳定使该检查失败,不能只凭一次查询没到达判定通过。
|
||||
@@ -0,0 +1 @@
|
||||
PASS
|
||||
Reference in new issue
Block a user