[DevTools] Fix console links not being openable (#35229)

This commit is contained in:
Sebastian "Sebbie" Silbermann
2026-01-21 10:34:26 +01:00
committed by GitHub
parent d29087523a
commit 7fccd6b5a3

View File

@@ -711,6 +711,12 @@ if (chrome.devtools.panels.setOpenResourceHandler) {
resource.url,
lineNumber - 1,
columnNumber - 1,
maybeError => {
if (maybeError && maybeError.isError) {
// Not a resource Chrome can open. Fallback to browser default behavior.
window.open(resource.url);
}
},
);
},
);