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:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-10 14:59:46 -04:00
1 parent 6247771f24
commit d9056c3564
11 files changed
+66 -7

No files matched your search

+5
View File
@@ -197,8 +197,13 @@ fn make_browsers() {
runtime_style: RuntimeStyle::ALLOY,
..Default::default()
};
let scripts = match surface.lock().expect("the surface lock").scripts {
true => State::ENABLED,
false => State::DISABLED,
};
let settings = BrowserSettings {
windowless_frame_rate: 60,
javascript: scripts,
..Default::default()
};
// Made at once: no view ever waits on a browser.