Whether a command operates at the browser level (no page session needed). `inspect-heapsnapshot-node` is intentionally excluded: it is intercepted offline in the CLI before any daemon connection is established, so the daemon should never receive it. If it ever does, omitting it here lets it fall through to `inner_execute`'s catch-all `bail!("Unknown command")` rather than hitting the `_ => unreac
(cmd: &str)
| 116 | /// rather than hitting the `_ => unreachable!()` arm in the browser-level |
| 117 | /// dispatch and panicking. |
| 118 | fn is_browser_level(cmd: &str) -> bool { |
| 119 | matches!(cmd, "list-pages" | "new-page" | "sw-logs" | "kill-daemon") |
| 120 | } |
| 121 | |
| 122 | /// Execute a single command from a [`DaemonRequest`]. |
| 123 | /// |
no outgoing calls
no test coverage detected