src/vs/workbench/services/dialogs/browser/fileDialogService.ts/FileDialogService/showUnsupportedBrowserWarning
class FileDialogService:	private async showUnsupportedBrowserWarning(context: 'save' | 'open'): Promise<undefined> {

		// When saving, try to just download the contents
		// of the active text editor if any as a workaround
		if (context === 'save') {
			const activeTextModel = this.codeEditorService.getActiveCodeEditor()?.getModel();
			if (activeTextModel) {
				triggerDownload(VSBuffer.fromString(activeTextModel.getValue()).buffer, basename(activeTextModel.uri));
				return;
			}
		}

		// Otherwise inform the user about options

		const buttons = context === 'open' ?
			[localize('openRemote', "Open Remote..."), localize('learnMore', "Learn More"), localize('openFiles', "Open Files...")] :
			[localize('openRemote', "Open Remote..."), localize('learnMore', "Learn More")];

		const res = await this.dialogService.show(
			Severity.Warning,
			localize('unsupportedBrowserMessage', "Opening Local Folders is Unsupported"),
			buttons,
			{
				detail: localize('unsupportedBrowserDetail', "Your current browser doesn't support opening local folders.\nYou can either open single files or open a remote repository."),
				cancelId: -1 // no "Cancel" button offered
			}
		);

		switch (res.choice) {

			// Open Remote...
			case 0:
				this.commandService.executeCommand('workbench.action.remote.showMenu');
				break;

			// Open Files... (context === 'open')
			case 1:
				if (context === 'open') {
					const files = await triggerUpload();
					if (files) {
						const filesData = (await this.instantiationService.invokeFunction(accessor => extractFileListData(accessor, files))).filter(fileData => !fileData.isDirectory);
						if (filesData.length > 0) {
							this.editorService.openEditors(filesData.map(fileData => {
								return {
									resource: fileData.resource,
									contents: fileData.contents?.toString(),
									options: { pinned: true }
								};
							}));
						}
					}
					break;
				} else {
					// Fallthrough for "Learn More"
				}

			// Learn More
			case 2:
				this.openerService.open('https://aka.ms/VSCodeWebLocalFileSystemAccess');
				break;
		}

		return undefined;
	}