From 1a320d1f2ecb097850b58e43b7f0bea37042324d Mon Sep 17 00:00:00 2001 From: Rick Byers Date: Sat, 7 Nov 2026 18:36:46 -0500 Subject: [PATCH] Support Restricted Mode (untrusted workspaces) Without a capabilities.untrustedWorkspaces declaration, VS Code disables the extension in Restricted Mode. Declare full support: the extension never runs workspace code. What an untrusted workspace can still control is its settings, and two of them were interpolated raw into the webview's '); + assert.ok(!html.includes('https://evil.example'), 'injected URL reached the page'); + assert.ok(!html.includes('/g)?.length, html.match(/