openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
37 lines (36 loc) • 1.08 kB
JavaScript
// CDP navigation/request-continuation receipts and session configuration survive
// allowed document changes. Page data, execution contexts, and actions do not.
// These are exact protocol methods, never a caller-supplied access override.
export const TAB_SCOPED_COMMANDS = new Set([
"Page.navigate",
"Page.reload",
"Page.navigateToHistoryEntry",
"Page.enable",
"Page.setLifecycleEventsEnabled",
"Fetch.enable",
"Fetch.disable",
"Fetch.continueRequest",
"Fetch.continueResponse",
"Fetch.continueWithAuth",
"Fetch.failRequest",
"Fetch.fulfillRequest",
"Network.enable",
"Network.setAttachDebugStack",
"Runtime.enable",
"Runtime.runIfWaitingForDebugger",
"Target.setAutoAttach",
"Debugger.enable",
"Debugger.setSkipAllPauses",
"Debugger.setPauseOnExceptions",
"Debugger.setAsyncCallStackDepth",
"Debugger.setBlackboxPatterns",
"Log.enable",
"Log.startViolationsReport",
"DOM.enable",
"CSS.enable",
"Audits.enable",
"Performance.enable",
"Profiler.enable",
"WebMCP.enable",
"Emulation.setFocusEmulationEnabled",
]);