From 3104a4e68ceaabe480893d1864d4af92e9010619 Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Tue, 4 Apr 2023 13:02:01 -0700 Subject: [PATCH] Remove uses of `X-UA-Compatible` meta tag (#177739) * Remove uses of `X-UA-Compatible` meta tag We no longer support IE Mainly removing this from the webview html but figured we should remove the other references to it as well * Update tests * Fix test --- build/builtin/index.html | 3 +-- src/vs/base/test/node/pfs/fixtures/index.html | 1 - .../files/test/node/fixtures/resolver/index.html | 1 - .../files/test/node/fixtures/service/index.html | 1 - src/vs/workbench/contrib/webview/browser/pre/fake.html | 1 - .../contrib/webview/browser/pre/index-no-csp.html | 2 -- .../workbench/contrib/webview/browser/pre/index.html | 2 -- .../services/search/test/node/fixtures/index.html | 1 - .../search/test/node/textSearch.integrationTest.ts | 10 +++++----- 9 files changed, 6 insertions(+), 16 deletions(-) diff --git a/build/builtin/index.html b/build/builtin/index.html index 13c84e0375c..dc2a7ca6d0d 100644 --- a/build/builtin/index.html +++ b/build/builtin/index.html @@ -5,7 +5,6 @@ - Manage Built-in Extensions @@ -43,4 +42,4 @@
- \ No newline at end of file + diff --git a/src/vs/base/test/node/pfs/fixtures/index.html b/src/vs/base/test/node/pfs/fixtures/index.html index bccd24d9272..165a4ecbccd 100644 --- a/src/vs/base/test/node/pfs/fixtures/index.html +++ b/src/vs/base/test/node/pfs/fixtures/index.html @@ -1,7 +1,6 @@ - Strada diff --git a/src/vs/platform/files/test/node/fixtures/resolver/index.html b/src/vs/platform/files/test/node/fixtures/resolver/index.html index bccd24d9272..165a4ecbccd 100644 --- a/src/vs/platform/files/test/node/fixtures/resolver/index.html +++ b/src/vs/platform/files/test/node/fixtures/resolver/index.html @@ -1,7 +1,6 @@ - Strada diff --git a/src/vs/platform/files/test/node/fixtures/service/index.html b/src/vs/platform/files/test/node/fixtures/service/index.html index bccd24d9272..165a4ecbccd 100644 --- a/src/vs/platform/files/test/node/fixtures/service/index.html +++ b/src/vs/platform/files/test/node/fixtures/service/index.html @@ -1,7 +1,6 @@ - Strada diff --git a/src/vs/workbench/contrib/webview/browser/pre/fake.html b/src/vs/workbench/contrib/webview/browser/pre/fake.html index 726a69397f8..960d1186be5 100644 --- a/src/vs/workbench/contrib/webview/browser/pre/fake.html +++ b/src/vs/workbench/contrib/webview/browser/pre/fake.html @@ -3,7 +3,6 @@ - Fake diff --git a/src/vs/workbench/contrib/webview/browser/pre/index-no-csp.html b/src/vs/workbench/contrib/webview/browser/pre/index-no-csp.html index 471bebaa5fe..6e8462b4c2c 100644 --- a/src/vs/workbench/contrib/webview/browser/pre/index-no-csp.html +++ b/src/vs/workbench/contrib/webview/browser/pre/index-no-csp.html @@ -7,8 +7,6 @@ - - diff --git a/src/vs/workbench/contrib/webview/browser/pre/index.html b/src/vs/workbench/contrib/webview/browser/pre/index.html index 514dfccb746..251b047c7c2 100644 --- a/src/vs/workbench/contrib/webview/browser/pre/index.html +++ b/src/vs/workbench/contrib/webview/browser/pre/index.html @@ -10,8 +10,6 @@ - - diff --git a/src/vs/workbench/services/search/test/node/fixtures/index.html b/src/vs/workbench/services/search/test/node/fixtures/index.html index bccd24d9272..165a4ecbccd 100644 --- a/src/vs/workbench/services/search/test/node/fixtures/index.html +++ b/src/vs/workbench/services/search/test/node/fixtures/index.html @@ -1,7 +1,6 @@ - Strada diff --git a/src/vs/workbench/services/search/test/node/textSearch.integrationTest.ts b/src/vs/workbench/services/search/test/node/textSearch.integrationTest.ts index 50fd21a0883..c8095086203 100644 --- a/src/vs/workbench/services/search/test/node/textSearch.integrationTest.ts +++ b/src/vs/workbench/services/search/test/node/textSearch.integrationTest.ts @@ -157,7 +157,7 @@ flakySuite('TextSearch-integration', function () { contentPattern: { pattern: 'e' } }; - return doSearchTest(config, 788); + return doSearchTest(config, 781); }); test('Text: e (with excludes)', () => { @@ -167,7 +167,7 @@ flakySuite('TextSearch-integration', function () { excludePattern: { '**/examples': true } }; - return doSearchTest(config, 394); + return doSearchTest(config, 387); }); test('Text: e (with includes)', () => { @@ -344,12 +344,12 @@ flakySuite('TextSearch-integration', function () { return doSearchTest(config, 4).then(results => { assert.strictEqual(results.length, 4); - assert.strictEqual((results[0].results![0]).lineNumber, 25); + assert.strictEqual((results[0].results![0]).lineNumber, 24); assert.strictEqual((results[0].results![0]).text, ' compiler.addUnit(prog,"input.ts");'); // assert.strictEqual((results[1].results[0]).preview.text, ' compiler.typeCheck();\n'); // See https://github.com/BurntSushi/ripgrep/issues/1095 - assert.strictEqual((results[2].results![0]).lineNumber, 27); + assert.strictEqual((results[2].results![0]).lineNumber, 26); assert.strictEqual((results[2].results![0]).text, ' compiler.emit();'); - assert.strictEqual((results[3].results![0]).lineNumber, 28); + assert.strictEqual((results[3].results![0]).lineNumber, 27); assert.strictEqual((results[3].results![0]).text, ''); }); });