Bug 571281

Summary: [Edge] Failing JUnits due to Limitation with Edge browser
Product: [Eclipse Project] Platform Reporter: Niraj Modi <niraj.modi>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: digga1404, nikita
Version: 4.19   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:
Bug Depends on: 538991    
Bug Blocks: 575660, 571909, 573985    

Description Niraj Modi CLA 2021-02-18 02:16:03 EST
Raising bug to capture open issues discussed in https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/174084

Also below JUnits fail to execute:
test_OpenWindowListener_evaluateInCallback
test_LocationListener_evaluateInCallback

>> These 2 fail due to the fundamental limitation of WebView2. WebView2 callbacks are not reentrant, only one can be received at a time. I.e. it's impossible to receive an event callback, request JavaScript evaluation from it and then receive evaluation result callback, since the first callback hasn't finished yet.
Comment 1 Niraj Modi CLA 2021-02-18 02:17:42 EST
Not sure if these can be workaround, we expect a fix from Microsoft Edge "WebView2" side.