What is the ProgId or CLSID for IE9’s Javascript engine (code-named “Chakra”)

The CLSID for the Chakra Javascript engine installed with IE9 is {16d51579-a30b-4c8b-a276-0ff4dc41e755}. The InProcServer32 is %windir%\System32\jscript9.dll . There is no ProgId that I could find. That’s a bit odd; normally paired ProgId and CLSID entries refer to each other. For a given COM object, the ProgId key in the registry has a subkey called CLSID, … Read more

How does setInterval and setTimeout work?

Javascript is singled-threaded but the browser is not. The browser has at least three threads: Javascript engine thread, UI thread, and timing thread, where the timing of setTimeout and setInterval are done by the timing thread. When calling setTimeout or setInterval, a timer thread in the browser starts counting down and when time up puts … Read more

tech