File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
services/extensions/browser Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,11 @@ export class WebWorkerExtensionHost extends Disposable implements IExtensionHost
93
93
94
94
const forceHTTPS = ( location . protocol === 'https:' ) ;
95
95
96
- if ( this . _environmentService . options && this . _environmentService . options . __uniqueWebWorkerExtensionHostOrigin ) {
96
+ let uniqueWebWorkerExtensionHostOrigin = true ;
97
+ if ( this . _environmentService . options && typeof this . _environmentService . options . __uniqueWebWorkerExtensionHostOrigin !== 'undefined' ) {
98
+ uniqueWebWorkerExtensionHostOrigin = this . _environmentService . options . __uniqueWebWorkerExtensionHostOrigin ;
99
+ }
100
+ if ( uniqueWebWorkerExtensionHostOrigin ) {
97
101
const webEndpointUrlTemplate = this . _productService . webEndpointUrlTemplate ;
98
102
const commit = this . _productService . commit ;
99
103
const quality = this . _productService . quality ;
Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ interface IWorkbenchConstructionOptions {
366
366
/**
367
367
* [TEMPORARY]: This will be removed soon.
368
368
* Use an unique origin for the web worker extension host.
369
- * Defaults to false .
369
+ * Defaults to true .
370
370
*/
371
371
readonly __uniqueWebWorkerExtensionHostOrigin ?: boolean ;
372
372
You can’t perform that action at this time.
0 commit comments