microsoft / vscode-test-web

Node module to help testing VS Code web extensions.
MIT License
56 stars 21 forks source link

Fetch web worker extension host from localhost instead of cdn #107

Closed minestarks closed 11 months ago

minestarks commented 11 months ago

Fixes #106

This change sets the webEndpointUrlTemplate product configuration such that the web worker extension host iframe will be fetched from the local server instead of the default *.vscode-cdn.net . This should improve reliability in CI environments as it limits interaction with the web.

Since VSCode uses a generated subdomain name for requests, CORS also needs to be configured to allow for requests from that subdomain of localhost.

aeschli commented 11 months ago

Thanks a lot for the great PR!