src/vs/platform/webview/electron-main/webviewMainService.ts/WebviewMainService/constructor
class WebviewMainService:	constructor(
		@ITunnelService tunnelService: ITunnelService,
		@IWindowsMainService private readonly windowsMainService: IWindowsMainService,
	) {
		super();
		this._register(new WebviewProtocolProvider());

		const sess = session.fromPartition(webviewPartitionId);
		sess.setPermissionRequestHandler((_webContents, permission, callback) => {
			if (permission === 'clipboard-read') {
				return callback(true);
			}

			return callback(false);
		});

		sess.setPermissionCheckHandler((_webContents, permission /* 'media' */) => {
			return permission === 'clipboard-read';
		});
	}