From c2fab30adf96c36f5daad135b6ae7991f5576894 Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Fri, 6 Aug 2021 14:08:26 -0700 Subject: [PATCH] Add note about incognito mode --- src/vs/workbench/contrib/webview/browser/pre/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/webview/browser/pre/main.js b/src/vs/workbench/contrib/webview/browser/pre/main.js index 6bc5cb7ad000d..4b61889afee41 100644 --- a/src/vs/workbench/contrib/webview/browser/pre/main.js +++ b/src/vs/workbench/contrib/webview/browser/pre/main.js @@ -199,7 +199,7 @@ function getVsCodeApiScript(allowMultipleAPIAcquire, state) { /** @type {Promise} */ const workerReady = new Promise(async (resolve, reject) => { if (!areServiceWorkersEnabled()) { - return reject(new Error('Service Workers are not enabled in browser. Webviews will not work.')); + return reject(new Error('Service Workers are not enabled. Webviews will not work. Try disabling private/incognito mode.')); } const swPath = `service-worker.js${self.location.search}`;