-
Notifications
You must be signed in to change notification settings - Fork 34.9k
Closed
Labels
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version:
- OS Version:
Steps to Reproduce:
- Download Chrome Version 90.0.4430.93 (Official Build) (32-bit), I got mine from filehippo.
- Open https://vscode.dev/
- Open DevTools and observe console tab
Uncaught SyntaxError: Unexpected token '{' notebookWebviewPreloads.js:6
This is caused by static initialization block like this, which is not supported by Chrome until Version 94.
The relevant code is here: https://github.com/microsoft/vscode/blob/main/extensions/notebook-renderers/src/color.ts#L895
I understand upgrading to latest Chrome or using a desktop computer solves this problem, but I have to use Chrome 90 and cannot upgrade to latest version of Chrome, also the development is on Android tablet which cannot run VS Code.
Is there any chance for this fixed?
The idea in my mind is: adding a try-catch block around the theme code, when exception occurs, simply disable theme customization.