github1s
github1s copied to clipboard
Activating extension 'vscode.typescript-language-features' failed: Can't find variable: Worker.
First up, this is awesome!!!
I see an error popup in bottom right:
Activating extension 'vscode.typescript-language-features' failed: Can't find variable: Worker.
Upon loading any URL eg: https://github1s.com/conwnet/github1s/blob/HEAD/src/vs/github1s/util.ts
@anishkny Upon first look at the error, I can see that it's got something to do with the WebWorker that's initialized to load the extensions for vs-code. I tried to reproduce the error on Chrome, Safari and Firefox and looks like the error only occurs on Safari.
@conwnet Per my knowledge, Web Workers are now supported on Safari (https://caniuse.com/webworkers) so that might not be the issue but I have a hunch it might have something to do with initializing the worker inside an iframe, the way the extensions are loaded here