Towards "cross origin isolation" #156
Replies: 6 comments 6 replies
-
I've just tried this out and my extension breaks at various places (e.g. images loaded from the web in the walkthrough). When are you planning to enable this for all users? |
Beta Was this translation helpful? Give feedback.
-
Hi @isidorn, thanks for the heads-up on this issue.
|
Beta Was this translation helpful? Give feedback.
-
My extension, Calva, downloads a lot of things from the net. All that seems to work with COI enabled. I sort of expected it too, because this seems to be about resources loaded in other ways. Or the sites that we download from might have their cross origin headers in order? Can you give some examples on where this settings would make a difference? And maybe publish some test resources that will work and some that wont. That would help me understand if I should be worried about this change or not. 😄 |
Beta Was this translation helpful? Give feedback.
-
Thanks for giving updates and insights about this. |
Beta Was this translation helpful? Give feedback.
-
Is there any plan for enabling this feature? I would really like to use |
Beta Was this translation helpful? Give feedback.
-
Hi! With WebGL / WebGPU becoming more main stream, as well as my development with Triplex for VS Code, I have some users that use Shared Array Buffers. Unfortunately currently it doesn't work easily in VS Code, but fine in the standalone app. Two questions:
|
Beta Was this translation helpful? Give feedback.
-
We have made changes to enable cross origin isolation for VS Code desktop and vscode.dev. This will enable new powerful features like shared array buffers. VS Code itself but also for extensions and webviews will benefit from this.
Cross origin isolation is currently behind a feature flag and enabling it might have unwanted effects on extensions and webviews that load resources from the internet. You can read more about this here: https://web.dev/why-coop-coep/. We would like to hear your feedback early. To try this
--enable-coi
-flag, e.gcode --enable-coi
, orvscode-coi
-queryTo check that cross origin isolation is enabled use the Application-tab of devtools or check the value of the
crossOriginIsolated
global variable.Beta Was this translation helpful? Give feedback.
All reactions