Skip to content

vscode.dev no longer runs in Chrome v90 but I still need it. #189712

@8749236

Description

@8749236

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version:
  • OS Version:

Steps to Reproduce:

  1. Download Chrome Version 90.0.4430.93 (Official Build) (32-bit), I got mine from filehippo.
  2. Open https://vscode.dev/
  3. 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.
image

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions