Javascript return values discrepancies #105
Labels
bug
Something isn't working
priority-low
We have considered this issue and decided that we will not be able to address it in the near future.
tracked
We are tracking this work internally.
Uh oh!
There was an error while loading. Please reload this page.
While I am integrating WebView2 into wxWidgets somebody came across the following discrepancies in javascript return values between Edge and Edge via WebView2 APIs ExecuteScript(). I'm pretty sure these are a problem in the WebView2 API:
A small javascript
function f(){var person = new Object();}f();
returns this:This script returns
function f(){var d = new Date('10/08/2017 21:30:40'); var tzoffset = d.getTimezoneOffset() * 60000; return new Date(d.getTime() - tzoffset);}f();
:wxWidgets/wxWidgets#1700 (comment)
AB#28632017
The text was updated successfully, but these errors were encountered: