Commit 9879da8
fix(mcp): handle downloads gracefully in extension mode
In extension mode, Browser.setDownloadBehavior is no-oped in the CDP
relay because it's a browser-level command that can't be forwarded
through the tab-level chrome.debugger session. This means download
events never fire, causing navigate() to throw "Download is starting"
even though Chrome downloads the file successfully.
Return gracefully when in extension mode instead of re-throwing.
Fixes #39253
Co-Authored-By: Claude Opus 4.6 <[email protected]>1 parent c4a698f commit 9879da8
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | | - | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
301 | 303 | | |
| 304 | + | |
302 | 305 | | |
303 | 306 | | |
304 | 307 | | |
| |||
0 commit comments