Bug 576145

Summary: [Browser][Edge] Failed to unregister class Chrome_WidgetWin_0. Error = 0
Product: [Eclipse Project] Platform Reporter: Flavio Donze <flavio.donze>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: Lars.Vogel, nikita, niraj.modi, p.beauvoir, peterwhitebugzilla
Version: 4.21   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:
Bug Depends on:    
Bug Blocks: 575660    
Attachments:
Description Flags
simple RCP project creating an Edge browser instance none

Description Flavio Donze CLA 2021-09-21 07:04:20 EDT
Created attachment 287175 [details]
simple RCP project creating an Edge browser instance

Switching an RCP application to use Edge, I get the following error after closing the application:

[0921/125633.272:ERROR:window_impl.cc(114)] Failed to unregister class Chrome_WidgetWin_0. Error = 0

Attached is a demo project based on the "RCP 3.x application with a view" template. Using a browser in the view.
Also the launch containing the argument:
  -Dorg.eclipse.swt.browser.DefaultType=edge

Environment:
Eclipse 2021-09 (4.21)
Windows 10 Pro for Workstations: 21H1
Java jdk17.0.0
Comment 1 Phil Beauvoir CLA 2021-10-10 04:34:00 EDT
I found a comment here about destroying the parent window of the WebView - https://causlayer.orgs.hk/MicrosoftEdge/WebView2Feedback/issues/1762#issuecomment-936668089
Comment 2 Lars Vogel CLA 2022-01-14 05:33:27 EST
I see a similar error in our client log:

[0114/113107.362:ERROR:window_impl.cc(115)] Failed to unregister class Chrome_WidgetWin_0. Error = 0


Nikta, anything SWT can do here?