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
@@ -316,7 +316,8 @@ impl Desk {
|
||||
.parent()
|
||||
.expect("a staged page sits in a folder")
|
||||
.to_path_buf();
|
||||
let view = match WebView::open(page, &root, window, cx) {
|
||||
// A document's own scripts never run here.
|
||||
let view = match WebView::open_inert(page, &root, window, cx) {
|
||||
Ok(view) => view,
|
||||
Err(error) => return self.exported(Err(io::Error::other(error)), cx),
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user