nodpc / jn-npp-plugin

Automatically exported from code.google.com/p/jn-npp-plugin
0 stars 0 forks source link

ECMAScript 5 support #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Let's use the Chakra (IE9+) engine if it's available.
See details here: http://stackoverflow.com/a/7168837/76173

Original issue reported on code.google.com by thorn.mailbox@gmail.com on 9 Dec 2013 at 12:41

GoogleCodeExporter commented 9 years ago
It does not work yet. I will try it later, if IE 11 is available on by Win7. I 
tested it with Chakra comming with IE 10 and there are "access violations", 
because of js objects comming from Chakra don't support COM and are disposed 
from GC or JIT before jN can use them.

Prove links
1. 
http://stackoverflow.com/questions/17472638/error-adding-scriptitem-codeonly-sym
bol-using-ie9-js-engine-chakra
2. 
http://www.panopticoncentral.net/2013/07/02/introducing-jsrt-embedding-javascrip
t-on-windows/

Next link is very promising and have to be investigated, embedding examples for 
Chakra IE 11
http://www.panopticoncentral.net/2013/07/05/jsrt-samples-and-documentation/

Original comment by eugen.kr...@gmail.com on 9 Dec 2013 at 9:47

GoogleCodeExporter commented 9 years ago
It seems to be not possible yet. MS does not provide any information about 
using chakra as IActiveScript.

Original comment by eugen.kr...@gmail.com on 11 Dec 2013 at 10:01