Bug 571281 - [Edge] Failing JUnits due to Limitation with Edge browser
Summary: [Edge] Failing JUnits due to Limitation with Edge browser
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.19   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 538991
Blocks: 575660 571909 573985
  Show dependency tree
 
Reported: 2021-02-18 02:16 EST by Niraj Modi CLA
Modified: 2021-08-27 04:59 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.