Revert "Fixed webviews are broken on Firefox from upstream 1.68版本"

This reverts commit c67bdcdaed.
This commit is contained in:
chriswang521 2023-04-07 09:49:59 +08:00
parent c67bdcdaed
commit 2f56107185
5 changed files with 2 additions and 12 deletions

3
.npmrc
View File

@ -1,3 +0,0 @@
sass_binary_site=https://npm.taobao.org/mirrors/node-sass/
registry=https://registry.npm.taobao.org
electron_mirror=https://npm.taobao.org/mirrors/electron/

View File

@ -1,4 +0,0 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1

View File

@ -82,8 +82,7 @@ export class DialogMainService implements IDialogMainService {
const dialogOptions: OpenDialogOptions = {
title: options.title,
buttonLabel: options.buttonLabel,
filters: options.filters,
defaultPath: options.defaultPath
filters: options.filters
};
// Ensure properties

View File

@ -1084,7 +1084,7 @@ class TreeRenderer extends Disposable implements ITreeRenderer<ITreeItem, FuzzyS
private shouldHideResourceLabelIcon(iconUrl: URI | undefined, icon: ThemeIcon | undefined): boolean {
// We always hide the resource label in favor of the iconUrl when it's provided.
// When `ThemeIcon` is provided, we hide the resource label icon in favor of it only if it's a not a file icon.
return (!!iconUrl || (!!icon && !this.isFileKindThemeIcon(icon)));
return !!iconUrl || !this.isFileKindThemeIcon(icon);
}
private shouldShowThemeIcon(hasResource: boolean, icon: ThemeIcon | undefined): icon is ThemeIcon {

View File

@ -12,8 +12,6 @@
</head>
<body style="margin: 0; overflow: hidden; width: 100%; height: 100%" role="document">
<!-- TODO: Remove additional script tag once Firefox is fixed https://bugzilla.mozilla.org/show_bug.cgi?id=1737882 -->
<script></script>
<script async type="module">
// @ts-check
/// <reference lib="dom" />