microsoft / microsoft/AzureStorageExplorer

Migrate from `<webview>` to `WebContentsView`

Open
#8,190 1 comment 0 reactions 1 assignee View on GitHub

@craxal is already working on this.

Since Oct 16, 2024.

:grey_question: investigate
Dominant language
No language data
Stars
452
Forks
92
Avg merge
15h 20m
Merged PRs (30d)
3

Description

According to Electron documentation, the use of <webview> elements to render embedded content is based on volatile Chromium features and is therefore discouraged.

We should investigate migrating our existing infrastructure to one that uses WebContentsView. Such a transition will come with several benefits:

  • The primary window renderer process will no longer need to mediate communications between webviews and the host. This will simplify and speed up provider function calls.
  • Most UI-related code, such as window management and renderer-based providers, can be moved to the main process.
  • #8171

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.