未验证 提交 5a0c4135 编写于 作者: A Alex Dima

Flip default value of `__uniqueWebWorkerExtensionHostOrigin` to `true` (#134234)

上级 1bb8780e
......@@ -93,7 +93,11 @@ export class WebWorkerExtensionHost extends Disposable implements IExtensionHost
const forceHTTPS = (location.protocol === 'https:');
if (this._environmentService.options && this._environmentService.options.__uniqueWebWorkerExtensionHostOrigin) {
let uniqueWebWorkerExtensionHostOrigin = true;
if (this._environmentService.options && typeof this._environmentService.options.__uniqueWebWorkerExtensionHostOrigin !== 'undefined') {
uniqueWebWorkerExtensionHostOrigin = this._environmentService.options.__uniqueWebWorkerExtensionHostOrigin;
}
if (uniqueWebWorkerExtensionHostOrigin) {
const webEndpointUrlTemplate = this._productService.webEndpointUrlTemplate;
const commit = this._productService.commit;
const quality = this._productService.quality;
......
......@@ -366,7 +366,7 @@ interface IWorkbenchConstructionOptions {
/**
* [TEMPORARY]: This will be removed soon.
* Use an unique origin for the web worker extension host.
* Defaults to false.
* Defaults to true.
*/
readonly __uniqueWebWorkerExtensionHostOrigin?: boolean;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册