Quantcast
Channel: ClearScript
Browsing all 2297 articles
Browse latest View live

New Post: GeckoFx and WebAPI

Hi, I am using GeckoFx (core of Mozilla Firefox Browser, wrapped for C#), and I was wondering, if it's possible to provide to Clearscript engine the "document" (DOM) and "window" objects from GeckoFx ?...

View Article



New Post: Func and delegate

Hello Sybaris, If you expose an open generic type, script code can invoke the exposed object to yield a closed generic type: engine.AddHostObject("DotNet", new HostTypeCollection("mscorlib",...

View Article

New Post: Func and delegate

Hello, Wondeful, exactly the answer I was looking for :-) ClearScript is a very great projet !!! Thanks. Sybaris

View Article

New Post: Func and delegate

Thank you very much!

View Article

New Post: GeckoFx and WebAPI

Hi Sybaris, We haven't tested with GeckoFX, but ClearScript aims to make it easy to use any managed API from script code. If you decide to give it a try, please let us know if you encounter something...

View Article


New Post: Is there a way to AddHostType with the object named in a string?

I've asked this over on StackOverflow but have included the full question here to save your mouse. I define JSengine as static JScriptEngine JSengine = null; instantiate it in Main as JSengine = new...

View Article

New Post: Is there a way to AddHostType with the object named in a string?

Hello, Yes, ClearScript provides AddHostType overloads that let you specify the type by name. For example: jse.AddHostType("Random", "System.Random");However, there are some considerations. First, the...

View Article

Created Unassigned: Repeated method call [105]

It looks like calling a JavaScript function from c# with an implicit this object will be executed twice if an exception ist thrown during execution.It is possible to work around this issue via explicit...

View Article


New Post: Javascript side create byte array

Hello, I'd like to use the new API for converting between byte[] and Uint8Array but I can't find any documentation. What do I need to do?

View Article


Edited Issue: Repeated method call [105]

It looks like calling a JavaScript function from c# with an implicit this object will be executed twice if an exception ist thrown during execution.It is possible to work around this issue via explicit...

View Article

Commented Issue: Repeated method call [105]

It looks like calling a JavaScript function from c# with an implicit this object will be executed twice if an exception ist thrown during execution.It is possible to work around this issue via explicit...

View Article

New Post: Javascript side create byte array

Hi ZoneRunner, Here's a sample:// using Microsoft.ClearScript.JavaScript; engine.Execute("values = new Uint8Array([1, 2, 3, 4, 5])"); var values = (ITypedArray<byte>)engine.Script.values;...

View Article

Edited Issue: [BUG] Repeated method call [105]

It looks like calling a JavaScript function from c# with an implicit this object will be executed twice if an exception ist thrown during execution.It is possible to work around this issue via explicit...

View Article


New Post: Javascript side create byte array

Thanks :)

View Article

Created Unassigned: Continuous Allocation of V8ScriptEngine Can Crash...

When allocating a V8ScriptEngine objects within a loop causes memory to remain allocated even if you force all references to the object to null and eventually crashes the application with a...

View Article


Commented Unassigned: Continuous Allocation of V8ScriptEngine Can Crash...

When allocating a V8ScriptEngine objects within a loop causes memory to remain allocated even if you force all references to the object to null and eventually crashes the application with a...

View Article

Closed Unassigned: Continuous Allocation of V8ScriptEngine Can Crash...

When allocating a V8ScriptEngine objects within a loop causes memory to remain allocated even if you force all references to the object to null and eventually crashes the application with a...

View Article


Edited Issue: Continuous Allocation of V8ScriptEngine Can Crash Application...

When allocating a V8ScriptEngine objects within a loop causes memory to remain allocated even if you force all references to the object to null and eventually crashes the application with a...

View Article

Commented Issue: Continuous Allocation of V8ScriptEngine Can Crash...

When allocating a V8ScriptEngine objects within a loop causes memory to remain allocated even if you force all references to the object to null and eventually crashes the application with a...

View Article

Commented Issue: Continuous Allocation of V8ScriptEngine Can Crash...

When allocating a V8ScriptEngine objects within a loop causes memory to remain allocated even if you force all references to the object to null and eventually crashes the application with a...

View Article
Browsing all 2297 articles
Browse latest View live




Latest Images