MCPcopy Create free account
hub / github.com/garrytan/gstack / getTabOwner

Method getTabOwner

browse/src/browser-manager.ts:884–886  ·  view source on GitHub ↗

Get the owner of a tab, or null if unowned (root-only for writes).

(tabId: number)

Source from the content-addressed store, hash-verified

882
883 /** Get the owner of a tab, or null if unowned (root-only for writes). */
884 getTabOwner(tabId: number): string | null {
885 return this.tabOwnership.get(tabId) || null;
886 }
887
888 /**
889 * Check if a client can access a tab.

Callers 2

Calls 1

getMethod · 0.45

Tested by

no test coverage detected