aboutsummaryrefslogtreecommitdiff
path: root/src/cdp/types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/cdp/types.ts')
-rw-r--r--src/cdp/types.ts7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/cdp/types.ts b/src/cdp/types.ts
index 33ab202..984b930 100644
--- a/src/cdp/types.ts
+++ b/src/cdp/types.ts
@@ -46,13 +46,6 @@ export type DaemonStatus = {
readonly remoteBrowserId?: string;
};
-const INTERNAL_PREFIXES: ReadonlyArray<string> = [
- "chrome://", "chrome-untrusted://", "devtools://", "chrome-extension://", "about:",
-];
-
-export const isInternalUrl = (url: string): boolean =>
- INTERNAL_PREFIXES.some((p) => url.startsWith(p));
-
export const isCdpRawMessage = (v: unknown): v is CdpRawMessage => {
if (!isRecord(v)) return false;
const id = v["id"];