Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Edge instances in different displays #1013 #1018

Commits on Jan 31, 2024

  1. Support Edge instances in different displays eclipse-platform#1013

    The current implementation of the Edge browser creates a
    WebView2Environment on first creation of an WebView2 / Edge browser
    instance. On every further creation of a WebView2 instance, this
    environment is used. In case the WebView2 instance is created for a
    different display, i.e., within a different thread, the instantiation
    fails as the WebView2Environment has been created in a different thread.
    
    To support the creation of WebView2 instances in different displays,
    this change replaces the static WebView2Environment with one environment
    for every display. The WebView2 instances are created for the
    environment belonging to the display for which the current instantiation
    is requested. An according regression test is added.
    
    Contributes to
    eclipse-platform#1013
    HeikoKlare committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    82d080b View commit details
    Browse the repository at this point in the history