Description
Some (older) scripts invoke window.open with a 4th boolean parameter. For example CKEditor 4. In Chrome, Firefox and Microsoft Edge this works properly and the window opens. In WebView2 (Edge Canary), a js error triggers:
Uncaught TypeError: Failed to execute 'open' on 'Window': cannot convert to dictionary
Version
SDK: 1.0.721-prerelease
Runtime: Version 89.0.774.0 (Official build) canary (64-bit)
Framework: WPF
OS: Win10
Repro Steps
Create a simple html page with the content below, open this in WebView2, and click on the "open window"-link.
Temp solution
A workaround would be to inject a window.open function that discards the 4th parameter, but ye, not quite elegant. Would be great to have this work normally :)
Description Some (older) scripts invoke
window.open
with a 4th boolean parameter. For example CKEditor 4. In Chrome, Firefox and Microsoft Edge this works properly and the window opens. In WebView2 (Edge Canary), a js error triggers:Uncaught TypeError: Failed to execute 'open' on 'Window': cannot convert to dictionary
Version SDK: 1.0.721-prerelease Runtime: Version 89.0.774.0 (Official build) canary (64-bit) Framework: WPF OS: Win10
Repro Steps Create a simple html page with the content below, open this in WebView2, and click on the "open window"-link.
Temp solution A workaround would be to inject a window.open function that discards the 4th parameter, but ye, not quite elegant. Would be great to have this work normally :)
AB#31461676