aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/daemon/spawn.ts10
-rw-r--r--src/domains/fill-engine.ts15
2 files changed, 0 insertions, 25 deletions
diff --git a/src/daemon/spawn.ts b/src/daemon/spawn.ts
index 165abcd..63c0dab 100644
--- a/src/daemon/spawn.ts
+++ b/src/daemon/spawn.ts
@@ -32,16 +32,6 @@ const cleanupStaleSocket = (): void => {
unlink(DAEMON_SOCKET_PATH).catch(() => {});
};
-/**
- * Whether the daemon endpoint could plausibly exist, judged without connecting.
- *
- * On POSIX a missing socket file means the daemon definitely isn't running, so
- * callers can short-circuit. Windows named pipes are NOT filesystem entries —
- * access() always fails on `\\.\pipe\…` even while the daemon is serving it — so
- * on Windows the answer is always "maybe" and the caller must probe instead.
- *
- * Platform and path are parameters so the branch is testable off-platform.
- */
export const daemonSocketMayExist = async (
platform: NodeJS.Platform = process.platform,
socketPath: string = DAEMON_SOCKET_PATH,
diff --git a/src/domains/fill-engine.ts b/src/domains/fill-engine.ts
index 32102fe..8fdf239 100644
--- a/src/domains/fill-engine.ts
+++ b/src/domains/fill-engine.ts
@@ -1,18 +1,3 @@
-/**
- * The one in-page fill implementation, shared by browser_fill and
- * browser_fill_form so the two can no longer disagree about the same element.
- *
- * `this` is the target element and `value` is the requested value. Two call-site
- * differences are parameters rather than forks:
- * rejectSelect — browser_fill refuses a <select> and points at
- * browser_select_option; browser_fill_form fills it.
- * focusFirst — browser_fill_form focuses the field first; browser_fill
- * documents that it does not move focus.
- *
- * Returns a PageResult (see form.ts): { ok, reason?, kind?, value?, text?,
- * checked?, changed?, options?, tag? }.
- */
-
export type FillOptions = {
readonly rejectSelect: boolean;
readonly focusFirst: boolean;