fix(mcp): forward browser-level CDP commands in extension mode#40706
fix(mcp): forward browser-level CDP commands in extension mode#40706yury-s merged 1 commit intomicrosoft:mainfrom
Conversation
In MCP extension mode (protocol v2), browser-level CDP commands like Storage.getCookies / Storage.setCookie carry no sessionId — they are routed by browserContextId — and the relay rejected them outright with "Unsupported command without sessionId". Route them through any attached tab's chrome.debugger session instead; the result is browser-scoped, so any tab works. Fixes microsoft#40687
Test results for "MCP"7 failed 7011 passed, 1068 skipped Merge workflow run. |
Summary
cookie-list,cookie-set,state-save, etc. in extension mode.Fixes #40687