Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid warning on Worker assignment #22

Closed
jrieken opened this issue Jan 13, 2021 · 3 comments
Closed

Invalid warning on Worker assignment #22

jrieken opened this issue Jan 13, 2021 · 3 comments

Comments

@jrieken
Copy link

jrieken commented Jan 13, 2021

  • use vscode source
  • run yarn tsec-compile-check
  • apart from a few other errors this being reported
src/vs/workbench/services/extensions/worker/polyfillNestedWorker.ts:47:8 - error TS21228: [ban-worker-calls] Constructing Web Workers can cause code to be loaded from an untrusted URL.

47  	self.Worker = <any>class { constructor() { throw new TypeError('Nested workers from within nested worker are NOT supported.'); } };
    	     ~~~~~~
@jrieken
Copy link
Author

jrieken commented Jan 13, 2021

related microsoft/vscode#103699

@uraj uraj closed this as completed in 5c838d8 Jan 19, 2021
@uraj
Copy link
Collaborator

uraj commented Jan 19, 2021

The patch will be available in v0.1.2.

@uraj uraj reopened this Jan 22, 2021
@uraj
Copy link
Collaborator

uraj commented Jan 22, 2021

This is only partially fixed by 5c838d8. Reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants