neutralinojs / webview

A modified version of C++ webview for Neutralinojs.
MIT License
10 stars 1 forks source link

Some Newer Javascript Functions fails on certain windows 10 machines #21

Open hypherionmc opened 2 years ago

hypherionmc commented 2 years ago

Some newer javascript functions fail on some Windows 10 PC's. In my case, trimEnd() works perfectly fine on my pc, but on other pc's they totally fail. I have had reports from multiple users about this, and was able to replicate it on one of my own machines.

I suspect it's got something to do with the WebView2 library. From looking at the code, it appears that the library relies on EdgeRuntime2. I have this installed on my PC, because it came with another app. From what I can tell, all the machines this failed on, doesn't have this runtime installed. I tried installing it on my other machine where it failed, but still had no effect.

Along with this, the inspector window also doesn't show up on these machines, and neither does the right click context menu which does on mine.

Steps to Reproduce the Problem
I honestly don't know. All I could think about to replicate this, is to try and run the app on a windows PC that isn't used for any sort of development, so that only the default windows things would be available.

Specifications

My Machine: Windows 10 Pro 1903 My other machine where it failed: Windows 10 Pro 2004