Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 22:42
    rhuanjl synchronize #5885
  • Jan 31 2019 22:39
    MikeHolman synchronize #5923
  • Jan 31 2019 22:28
    MikeHolman synchronize #5923
  • Jan 31 2019 19:48
    MikeHolman synchronize #5923
  • Jan 31 2019 19:03
    penzn synchronize #5903
  • Jan 31 2019 17:15
    penzn synchronize #5903
  • Jan 30 2019 22:33
    wyrichte opened #5927
  • Jan 30 2019 22:33

    wyrichte on ADO_test

    Update ChakraCoreStatic.cpp (compare)

  • Jan 30 2019 22:32
    wyrichte closed #5916
  • Jan 30 2019 20:20
    MikeHolman synchronize #5923
  • Jan 30 2019 19:56
    MikeHolman synchronize #5923
  • Jan 30 2019 19:53
    MikeHolman synchronize #5923
  • Jan 30 2019 19:35

    wyrichte on Test-PR-webhook---don't-merge

    Update ChakraCoreStatic.cpp (compare)

  • Jan 30 2019 19:35
    wyrichte synchronize #5916
  • Jan 30 2019 19:07
    wyrichte synchronize #5925
  • Jan 30 2019 18:54

    wyrichte on Test-PR-webhook---don't-merge

    Update ChakraCoreStatic.cpp (compare)

  • Jan 30 2019 18:54
    wyrichte synchronize #5916
  • Jan 30 2019 18:12
    wyrichte closed #5926
  • Jan 30 2019 18:12
    wyrichte opened #5926
  • Jan 30 2019 01:43
    wyrichte synchronize #5925
Alex Syrotenko
@Fly-Style
@rhuanjl
I don't think they've said anything about open sourcing EdgeHtml
@Fly-Style I think I'm the only regular external contributor to chakracore it would be cool to have another one around
@rhuanjl I am sorry for a big delay.
Agree with you :)
Rami
@icnocop
Hi! :)
Rami
@icnocop
Microsoft update KB4507460 released on July 9, 2019 causes an exception in jscript9.dll in Windows Server 2016 when using MFC's CDHtmlDialog. It basically causes the desktop application to crash. I'm wondering if I should report the issue in https://github.com/microsoft/ChakraCore or https://social.msdn.microsoft.com/Forums/Windowsdesktop/en-us/home? Thanks!
jscript9.dll v11.0.14393.3085
:smile:
Rami
@icnocop
Great, someone posted a solution so at least the app doesn't crash. :)
Michael Holman
@MikeHolman
does the app still work as intended? In general I don't think there should be behavioral changes from these updates
Michael Holman
@MikeHolman
from your call stack it looks like a DOM error is being thrown, so probably not related to JavaScript, but i'll forward your report on to the appropriate team
Rami
@icnocop
Hi Michael. Unfortunately, the app still crashes when running in Release mode without the debugger attached. :(
Rami
@icnocop
Thank you.
Rami
@icnocop
I discovered the issue to be related to the "Disable Script Debugger" registry value which seems to be the best work-around so far...
I just wish I can control that setting for my specific application and/or web control.
Alexander Gayko
@AdmiralSnyder
is this a good place to ask questions about the edge debug server?
Jimmy Thomson
@MSLaguana
What exactly do you mean by edge debug server? If the question isn't specifically about javascript, then this is probably not the best place to ask
Alexander Gayko
@AdmiralSnyder
well,i'm doing Process.Start("MicrosoftEdge.exe", "--devtools-server-port 9222") to get a remote-controllable edge instance. It always opens a new tab, even if the debug server is already running, so i want to ask how to prevent that...
Rami
@icnocop
Check if MicrosoftEdge.exe is already running
Rami
@icnocop
@MikeHolman, just wondering if there have been any updates on your end? I was redirected from that post, and so I posted the issue here: https://developercommunity.visualstudio.com/content/problem/658792/unhandled-exception-in-jscript9dll-in-windows-serv.html Then later, I was redirected again, so I posted the issue here: https://aka.ms/AA5qvxe Thank you.
Michael Holman
@MikeHolman
I was told that a fix will go out for this in 8B
(August 13th)
Rami
@icnocop
@MikeHolman, great, thank you! Is there a KB article or some other type of reference I can use to keep track of the issue?
Michael Holman
@MikeHolman
I don't think so, but I'll ask
Rami
@icnocop
Thank you.
Alexander Gayko
@AdmiralSnyder
@icnocop there are multiple instances of MicrosoftEdge.exe already running, yet it opens a new tab.
Alexander Gayko
@AdmiralSnyder
i get this error when trying to run a bookmarklet on the GitHub page: CSP14312: Die Direktive script.src github.githubassets.com in Content-Security-Policy wurde durch eine Ressource verletzt: inline script. Die Ressource wird blockiert. My bookmarklet doesn't origin from github.githubassets.com - how is this configured?
when being on www.google.com, this does not occur.
Rami
@icnocop
@AdmiralSnyder, you explicitly called Process.Start which launches a new instance.
Close all instances before calling Process.Start
@AdmiralSnyder, regarding the bookmarklet issue, see https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/11320214/
Rami
@icnocop
Maybe the work-around here works: https://stackoverflow.com/a/47327040/90287
Alexander Gayko
@AdmiralSnyder
@icnocop thanks. I solved it by building an edge extension.
Closing all instances is no option, because I want to keep my open windows.
Rami
@icnocop
@AdmiralSnyder, I don't think it's possible the way you expect. Why do you want to keep your open windows? Maybe you can save your open windows, close all instances, run your test, then re-open your windows.
Rami
@icnocop
Actually, try this: LaunchWinApp.exe "shell:Appsfolder\Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge" "https://answers.microsoft.com/en-us/"
Alexander Gayko
@AdmiralSnyder
i'll try, thanks.
Rami
@icnocop
@MikeHolman, The windows update released today, KB4512517 (https://support.microsoft.com/en-us/help/4512517), resolves the JavaScript issue we were having. Thank you very much! :tada:
Michael Holman
@MikeHolman
glad to hear!
Andrew Bastien
@volundmush
Hey guys. I am trying to add JS as an embedded scripting language to a C# app. I started with Lua via MoonSharp but feel JS is more my style. Ideally it would be like Node and have require() support or i could code said thing...
I am trying to use net core 3.x
This far only chakea and niljs seem to be maybe possibilities as stuff like Clearscript.v8 is for framework 4.5
Sorry typing mobike
Mobile. Could use some advice.
Richard
@rhuanjl
What specific advise do you need? It is entirely possible to embed ChakraCore in a C# app to provide JS scripting support . There's a sample you can look at here that should show you the basics of what you're trying to do: https://github.com/microsoft/Chakra-Samples/tree/master/ChakraCore%20Samples/JSRT%20Hosting%20Samples/C%23
Bruce Pascoe
@fatcerberus
How would I go about using source maps with the debugger? ChakraCore itself doesn't seem to have any hooks in the API to support them
Steve
@hez2010
I tried to use node-ChakraCore and replace chakracore.dll to the latest version, however it's 500% slower than original node while building angular projects.....
Victor Queiroz
@VictorQueiroz
Hi. How exactly does ChakraCore encode/decode floating-point precision integers for float32array? For example: If I convert Float32Array to Uint8Array, I'll get float LE each 4 bytes of Uint8Array
Michael Holman
@MikeHolman
@VictorQueiroz It's pretty straightforward. We just cast the input value to float (from double) and store the float at the appropriate location in the typed array. When we read the float back out we just cast it to double.
Victor Queiroz
@VictorQueiroz
@MikeHolman I'm actually looking for a machine-independent implementation and was hoping you guys were also using one. For example, endianness seems to be a big issue for me.
Victor Queiroz
@VictorQueiroz
@MikeHolman I mean, when you for example, assign a value to a Float32Array property and then try to visualize it in Uint8Array, I don't think it is going to be machine-dependent. It is probably going to be serialized into little-endian. The same will happen on other architectures, which means that must've a serialization standard to work on all machines in the same way
Michael Holman
@MikeHolman
@VictorQueiroz I'm not sure I completely understand. Is it that you want the bytes to be serialized the same on LE and BE hardware?
Michael Holman
@MikeHolman