Dear Sir or Madam,
I need to be able to pass in primitive types.
I cannot use AddHostObject(). Calling AddHostObject() for boxed primitive types (double, int, etc.) raises exception "Invalid ho...
Id #49 | Release:
| Updated: Wed at 9:24 PM by ClearScript | Created: Wed at 8:46 PM by moiwok
It seems V8 engines are not garbage collected if a script uses a host delegate.
public class MyClass
static void DelegateTest()
Id #48 | Release:
| Updated: Jun 11 at 2:27 AM by ClearScript | Created: Jun 9 at 11:47 AM by Zcodez
This issue was reported here. An initial investigation points at a bug in the Windows script runtime. A workaround may be to force the engine to call back to the host to retrieve the property value.
Id #47 | Release:
| Updated: Jun 1 at 12:16 PM by ClearScript | Created: May 21 at 2:54 PM by ClearScript
By default, v8 doesn't have an array buffer allocator. I was able to fix this with in a pure native console app with by adding one following the example as shown in (look at Shell::Main in d8.cc f...
Id #46 | Release:
| Updated: May 17 at 12:47 AM by jsweber | Created: May 16 at 4:33 AM by jsweber
While investigating some memory related issues in my application, I managed to reproduce what seems to be a problem. The following minimal application terminates on my PC after ~50 cycles an...
Id #44 | Release:
| Updated: Apr 29 at 4:34 PM by ClearScript | Created: Apr 15 at 3:02 PM by Zcodez
If a .NET or V8 string has an embedded null character, ClearScript truncates it during marshaling.
Id #42 | Release:
| Updated: Apr 29 at 4:33 PM by ClearScript | Created: Apr 7 at 3:19 AM by ClearScript
ClearScript's V8 assembly loading procedure can fail for many reasons, especially in server contexts. Currently all failures result in the same less-than-helpful exception.
Id #39 | Release:
| Updated: Apr 29 at 4:34 PM by ClearScript | Created: Jan 25 at 6:12 PM by ClearScript
Script code currently cannot invoke COM interface methods on exposed RCWs. This is an issue because the OS includes many useful COM objects. Besides, if it implements IDispatch, it should be script...
Id #38 | Release:
| Updated: Jan 24 at 2:56 PM by ClearScript | Created: Jan 24 at 2:56 PM by ClearScript
ClearScript would benefit from Jint-like permissions support, which gives hosts precise control over script sandboxing.
Id #37 | Release:
| Updated: Mar 7 at 11:12 PM by ericswann | Created: Jan 21 at 10:14 PM by ClearScript
I have code that executes fine on my machine with Visual Studio installed but have passed the code (compiled) including ClearScript.DLL to someone else who is getting an error when the script runs...
Id #36 | Release:
| Updated: Feb 4 at 1:11 PM by ClearScript | Created: Jan 20 at 9:23 PM by egooner