From b4ad6e79a4ffab6c213a9dc98fe8e10c0ae5018b Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Thu, 8 Oct 2020 11:42:56 -0700 Subject: [PATCH] devops: playwwright-core installation should not touch browser registry (#4089) Currently, `playwright-core` installation would check browser registry and remove any unused browsers. This, however, might be unexpected since `playwright-core` shouldn't touch browser registry at all. Fixes #4083 --- packages/playwright-core/install.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 packages/playwright-core/install.js diff --git a/packages/playwright-core/install.js b/packages/playwright-core/install.js new file mode 100644 index 0000000000..a2cf310458 --- /dev/null +++ b/packages/playwright-core/install.js @@ -0,0 +1,18 @@ +/** + * Copyright (c) Microsoft Corporation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Explicitly empty install.js to avoid touching browser registry at all. +// See https://github.com/microsoft/playwright/issues/4083