├── docs
├── CNAME
├── .gitignore
├── Reference
│ ├── fti
│ │ ├── FTI_50.json
│ │ ├── FTI_55.json
│ │ ├── FTI_53.json
│ │ ├── FTI_122.json
│ │ ├── FTI_52.json
│ │ ├── FTI_121.json
│ │ ├── FTI_54.json
│ │ ├── FTI_113.json
│ │ ├── FTI_48.json
│ │ └── FTI_49.json
│ ├── icons
│ │ ├── Search.png
│ │ ├── Static.gif
│ │ ├── AlertNote.png
│ │ ├── TocClose.gif
│ │ ├── TocOpen.gif
│ │ ├── favicon.ico
│ │ ├── privClass.gif
│ │ ├── privEvent.gif
│ │ ├── privField.gif
│ │ ├── protClass.gif
│ │ ├── protEvent.gif
│ │ ├── protField.gif
│ │ ├── pubClass.gif
│ │ ├── pubEvent.gif
│ │ ├── pubField.gif
│ │ ├── pubMethod.gif
│ │ ├── CodeExample.png
│ │ ├── TocExpanded.gif
│ │ ├── privMethod.gif
│ │ ├── protMethod.gif
│ │ ├── pubDelegate.gif
│ │ ├── pubOperator.gif
│ │ ├── pubProperty.gif
│ │ ├── AlertCaution.png
│ │ ├── AlertSecurity.png
│ │ ├── TocCollapsed.gif
│ │ ├── privDelegate.gif
│ │ ├── privExtension.gif
│ │ ├── privInterface.gif
│ │ ├── privProperty.gif
│ │ ├── privStructure.gif
│ │ ├── protDelegate.gif
│ │ ├── protExtension.gif
│ │ ├── protInterface.gif
│ │ ├── protOperator.gif
│ │ ├── protProperty.gif
│ │ ├── protStructure.gif
│ │ ├── pubEnumeration.gif
│ │ ├── pubExtension.gif
│ │ ├── pubInterface.gif
│ │ ├── pubStructure.gif
│ │ ├── SectionCollapsed.png
│ │ ├── SectionExpanded.png
│ │ ├── privEnumeration.gif
│ │ └── protEnumeration.gif
│ ├── styles
│ │ ├── branding-cs-CZ.css
│ │ ├── branding-de-DE.css
│ │ ├── branding-en-US.css
│ │ ├── branding-es-ES.css
│ │ ├── branding-fr-FR.css
│ │ ├── branding-it-IT.css
│ │ ├── branding-pl-PL.css
│ │ ├── branding-pt-BR.css
│ │ ├── branding-ru-RU.css
│ │ ├── branding-tr-TR.css
│ │ ├── branding-HelpViewer.css
│ │ ├── branding-Help1.css
│ │ ├── branding-ja-JP.css
│ │ ├── branding-zh-TW.css
│ │ ├── branding-ko-KR.css
│ │ └── branding-zh-CN.css
│ └── toc
│ │ ├── roottoc.xml
│ │ ├── Fields_T_Microsoft_ClearScript_Undefined.xml
│ │ ├── Fields_T_Microsoft_ClearScript_VoidResult.xml
│ │ ├── T_Microsoft_ClearScript_ValueRef.xml
│ │ ├── Fields_T_Microsoft_ClearScript_ValueRef_1.xml
│ │ ├── Methods_T_Microsoft_ClearScript_Undefined.xml
│ │ ├── Methods_T_Microsoft_ClearScript_V8_V8Script.xml
│ │ ├── Methods_T_Microsoft_ClearScript_ValueRef.xml
│ │ ├── Methods_T_Microsoft_ClearScript_VoidResult.xml
│ │ ├── Fields_T_Microsoft_ClearScript_Windows_Nothing.xml
│ │ ├── Methods_T_Microsoft_ClearScript_EventSource.xml
│ │ ├── T_Microsoft_ClearScript_Extensions.xml
│ │ ├── T_Microsoft_ClearScript_EventSource.xml
│ │ ├── Events_T_Microsoft_ClearScript_PropertyBag.xml
│ │ ├── Methods_T_Microsoft_ClearScript_Windows_Nothing.xml
│ │ ├── Methods_T_Microsoft_ClearScript_EventSource_1.xml
│ │ ├── T_Microsoft_ClearScript_HostSettings.xml
│ │ ├── T_Microsoft_ClearScript_V8_V8Settings.xml
│ │ ├── Methods_T_Microsoft_ClearScript_EventConnection.xml
│ │ ├── Methods_T_Microsoft_ClearScript_DynamicHostObject.xml
│ │ ├── T_Microsoft_ClearScript_EventConnection.xml
│ │ ├── T_Microsoft_ClearScript_EventConnection_1.xml
│ │ ├── T_Microsoft_ClearScript_EventSource_1.xml
│ │ ├── Methods_T_Microsoft_ClearScript_Windows_IHostWindow.xml
│ │ ├── Overload_Microsoft_ClearScript_V8_V8ScriptEngine_Dispose.xml
│ │ ├── Overload_Microsoft_ClearScript_V8_V8ScriptEngine_Execute.xml
│ │ ├── Overload_Microsoft_ClearScript_V8_V8ScriptEngine_Evaluate.xml
│ │ ├── Properties_T_Microsoft_ClearScript_JavaScript_IArrayBuffer.xml
│ │ ├── Properties_T_Microsoft_ClearScript_JavaScript_ITypedArray.xml
│ │ ├── Properties_T_Microsoft_ClearScript_V8_FastProxy_V8FastArgs.xml
│ │ ├── Properties_T_Microsoft_ClearScript_Windows_IHostWindow.xml
│ │ ├── T_Microsoft_ClearScript_IScriptableObject.xml
│ │ ├── Methods_T_Microsoft_ClearScript_Windows_JScriptEngine.xml
│ │ ├── Properties_T_Microsoft_ClearScript_ScriptUsageAttribute.xml
│ │ ├── Fields_T_Microsoft_ClearScript_Windows_Core_NullSyncInvoker.xml
│ │ ├── Methods_T_Microsoft_ClearScript_IScriptableObject.xml
│ │ ├── Methods_T_Microsoft_ClearScript_Windows_VBScriptEngine.xml
│ │ ├── Properties_T_Microsoft_ClearScript_CustomAttributeLoader.xml
│ │ ├── Properties_T_Microsoft_ClearScript_V8_FastProxy_V8FastResult.xml
│ │ ├── Methods_T_Microsoft_ClearScript_JavaScript_IJavaScriptObject.xml
│ │ ├── T_Microsoft_ClearScript_Windows_Core_ISyncInvoker.xml
│ │ ├── Methods_T_Microsoft_ClearScript_Windows_Core_JScriptEngine.xml
│ │ ├── Properties_T_Microsoft_ClearScript_DefaultDocumentLoader.xml
│ │ ├── Properties_T_Microsoft_ClearScript_Windows_JScriptEngine.xml
│ │ ├── T_Microsoft_ClearScript_JavaScript_ModuleCategory.xml
│ │ ├── Methods_T_Microsoft_ClearScript_DocumentSettings.xml
│ │ ├── Methods_T_Microsoft_ClearScript_Windows_Core_VBScriptEngine.xml
│ │ ├── Properties_T_Microsoft_ClearScript_Windows_VBScriptEngine.xml
│ │ ├── Properties_T_Microsoft_ClearScript_DefaultScriptUsageAttribute.xml
│ │ ├── Properties_T_Microsoft_ClearScript_Windows_WindowsScriptEngine.xml
│ │ ├── T_Microsoft_ClearScript_IScriptEngineException.xml
│ │ ├── Methods_T_Microsoft_ClearScript_CustomAttributeLoader.xml
│ │ ├── Properties_T_Microsoft_ClearScript_Windows_Core_JScriptEngine.xml
│ │ ├── Overload_Microsoft_ClearScript_Windows_Core_WindowsScriptEngine_Dispose.xml
│ │ ├── Properties_T_Microsoft_ClearScript_V8_FastProxy_IV8FastHostMethod.xml
│ │ ├── Properties_T_Microsoft_ClearScript_V8_FastProxy_IV8FastHostObject.xml
│ │ ├── Properties_T_Microsoft_ClearScript_Windows_Core_VBScriptEngine.xml
│ │ ├── T_Microsoft_ClearScript_V8_FastProxy_IV8FastEnumerator.xml
│ │ ├── Methods_T_Microsoft_ClearScript_V8_FastProxy_V8FastHostObject_1.xml
│ │ ├── Methods_T_Microsoft_ClearScript_Windows_IWindowsScriptObject.xml
│ │ ├── Properties_T_Microsoft_ClearScript_V8_FastProxy_IV8FastHostFunction.xml
│ │ ├── T_Microsoft_ClearScript_JavaScript_JavaScriptExtensions.xml
│ │ ├── T_Microsoft_ClearScript_V8_FastProxy_IV8FastHostMethod.xml
│ │ ├── T_Microsoft_ClearScript_V8_FastProxy_IV8FastHostObject.xml
│ │ ├── T_Microsoft_ClearScript_V8_FastProxy_IV8FastHostFunction.xml
│ │ ├── Methods_T_Microsoft_ClearScript_V8_FastProxy_IV8FastHostMethodOperations.xml
│ │ ├── T_Microsoft_ClearScript_IPropertyBag.xml
│ │ ├── T_Microsoft_ClearScript_V8_FastProxy_IV8FastAsyncEnumerator.xml
│ │ ├── Methods_T_Microsoft_ClearScript_V8_FastProxy_IV8FastHostFunctionOperations.xml
│ │ ├── Properties_T_Microsoft_ClearScript_V8_V8Script.xml
│ │ ├── T_Microsoft_ClearScript_Undefined.xml
│ │ ├── Methods_T_Microsoft_ClearScript_V8_V8CpuProfile.xml
│ │ ├── T_Microsoft_ClearScript_VoidResult.xml
│ │ ├── Overload_Microsoft_ClearScript_ScriptEngine_Dispose.xml
│ │ ├── Overload_Microsoft_ClearScript_ScriptObject_Item.xml
│ │ ├── T_Microsoft_ClearScript_ValueRef_1.xml
│ │ ├── Methods_T_Microsoft_ClearScript_V8_FastProxy_V8FastHostObjectOperations_1.xml
│ │ ├── Overload_Microsoft_ClearScript_HostFunctions_typeOf.xml
│ │ ├── Overload_Microsoft_ClearScript_IScriptObject_Item.xml
│ │ ├── T_Microsoft_ClearScript_HostFunctions.xml
│ │ ├── T_Microsoft_ClearScript_V8_V8Script.xml
│ │ ├── T_Microsoft_ClearScript_JavaScript_IDataView.xml
│ │ ├── T_Microsoft_ClearScript_V8_FastProxy_IV8FastHostMethodOperations.xml
│ │ ├── T_Microsoft_ClearScript_V8_FastProxy_IV8FastHostObjectOperations.xml
│ │ ├── T_Microsoft_ClearScript_Windows_Nothing.xml
│ │ ├── Overload_Microsoft_ClearScript_HostFunctions_func.xml
│ │ ├── Overload_Microsoft_ClearScript_HostFunctions_newArr.xml
│ │ ├── Properties_T_Microsoft_ClearScript_DocumentLoader.xml
│ │ ├── Events_T_Microsoft_ClearScript_V8_V8Runtime.xml
│ │ ├── T_Microsoft_ClearScript_ScriptObject.xml
│ │ ├── T_Microsoft_ClearScript_V8_FastProxy_IV8FastHostFunctionOperations.xml
│ │ ├── T_Microsoft_ClearScript_V8_V8CpuProfile_Node.xml
│ │ ├── Overload_Microsoft_ClearScript_DocumentInfo__ctor.xml
│ │ ├── Overload_Microsoft_ClearScript_HostFunctions_isTypeObj.xml
│ │ ├── Properties_T_Microsoft_ClearScript_V8_V8CpuProfile_Sample.xml
│ │ ├── Overload_Microsoft_ClearScript_Extensions_ToHostType.xml
│ │ ├── Properties_T_Microsoft_ClearScript_ScriptMemberAttribute.xml
│ │ ├── Properties_T_Microsoft_ClearScript_V8_V8Settings.xml
│ │ ├── T_Microsoft_ClearScript_DocumentCategory.xml
│ │ ├── T_Microsoft_ClearScript_DynamicHostObject.xml
│ │ ├── T_Microsoft_ClearScript_IScriptEngine.xml
│ │ ├── T_Microsoft_ClearScript_IScriptObject.xml
│ │ ├── T_Microsoft_ClearScript_V8_V8CpuProfile.xml
│ │ ├── Overload_Microsoft_ClearScript_ScriptEngine__ctor.xml
│ │ ├── T_Microsoft_ClearScript_V8_V8CpuProfile_Sample.xml
│ │ ├── Methods_T_Microsoft_ClearScript_ScriptEngineException.xml
│ │ ├── Overload_Microsoft_ClearScript_ExtendedHostFunctions_lib.xml
│ │ ├── T_Microsoft_ClearScript_JavaScript_ITypedArray.xml
│ │ ├── Fields_T_Microsoft_ClearScript_V8_V8CpuProfile_Node_HitLine.xml
│ │ ├── Overload_Microsoft_ClearScript_ScriptObject_GetProperty.xml
│ │ ├── T_Microsoft_ClearScript_V8_V8RuntimeHeapInfo.xml
│ │ ├── Overload_Microsoft_ClearScript_IScriptObject_GetProperty.xml
│ │ ├── Overload_Microsoft_ClearScript_ScriptObject_SetProperty.xml
│ │ ├── Properties_T_Microsoft_ClearScript_JavaScript_ModuleCategory.xml
│ │ ├── T_Microsoft_ClearScript_Windows_IHostWindow.xml
│ │ ├── Overload_Microsoft_ClearScript_IScriptObject_SetProperty.xml
│ │ ├── Overload_Microsoft_ClearScript_ScriptObject_DeleteProperty.xml
│ │ ├── Properties_T_Microsoft_ClearScript_JavaScript_IJavaScriptObject.xml
│ │ ├── T_Microsoft_ClearScript_V8_FastProxy_V8FastArg.xml
│ │ ├── Methods_T_Microsoft_ClearScript_Extensions.xml
│ │ ├── Overload_Microsoft_ClearScript_IScriptObject_DeleteProperty.xml
│ │ ├── Properties_T_Microsoft_ClearScript_V8_FastProxy_V8FastHostObjectConfiguration_1.xml
│ │ ├── T_Microsoft_ClearScript_ExtendedHostFunctions.xml
│ │ ├── T_Microsoft_ClearScript_V8_FastProxy_V8FastArgs.xml
│ │ ├── Methods_T_Microsoft_ClearScript_ScriptInterruptedException.xml
│ │ ├── Methods_T_Microsoft_ClearScript_V8_FastProxy_IV8FastEnumerator.xml
│ │ ├── Properties_T_Microsoft_ClearScript_V8_V8RuntimeDebuggerEventArgs.xml
│ │ ├── T_Microsoft_ClearScript_JavaScript_IArrayBuffer.xml
│ │ ├── T_Microsoft_ClearScript_V8_V8CpuProfile_Node_HitLine.xml
│ │ ├── Overload_Microsoft_ClearScript_Windows_Core_ISyncInvoker_Invoke.xml
│ │ ├── Properties_T_Microsoft_ClearScript_Document.xml
│ │ ├── T_Microsoft_ClearScript_Document.xml
│ │ ├── T_Microsoft_ClearScript_JavaScript_ITypedArray_1.xml
│ │ ├── T_Microsoft_ClearScript_V8_FastProxy_V8FastResult.xml
│ │ ├── Overload_Microsoft_ClearScript_HostFunctions_getProperty.xml
│ │ ├── Overload_Microsoft_ClearScript_ScriptEngine_AddHostObject.xml
│ │ ├── Overload_Microsoft_ClearScript_V8_V8Runtime_BeginCpuProfile.xml
│ │ ├── Overload_Microsoft_ClearScript_Windows_Core_NullSyncInvoker_Invoke.xml
│ │ ├── Overload_Microsoft_ClearScript_IScriptEngine_AddHostObject.xml
│ │ ├── Overload_Microsoft_ClearScript_JavaScript_ITypedArray_1_Read.xml
│ │ ├── Overload_Microsoft_ClearScript_ScriptUsageAttribute__ctor.xml
│ │ ├── T_Microsoft_ClearScript_Windows_Core_NullSyncInvoker.xml
│ │ ├── T_Microsoft_ClearScript_Windows_IWindowsScriptObject.xml
│ │ ├── Overload_Microsoft_ClearScript_HostFunctions_setProperty.xml
│ │ ├── T_Microsoft_ClearScript_JavaScript_IArrayBufferView.xml
│ │ ├── Methods_T_Microsoft_ClearScript_V8_FastProxy_IV8FastAsyncEnumerator.xml
│ │ ├── Overload_Microsoft_ClearScript_HostFunctions_removeProperty.xml
│ │ ├── Overload_Microsoft_ClearScript_JavaScript_ITypedArray_1_Write.xml
│ │ ├── Overload_Microsoft_ClearScript_V8_V8ScriptEngine_BeginCpuProfile.xml
│ │ ├── T_Microsoft_ClearScript_JavaScript_IJavaScriptObject.xml
│ │ ├── T_Microsoft_ClearScript_V8_V8RuntimeDebuggerEventArgs.xml
│ │ ├── Methods_T_Microsoft_ClearScript_V8_FastProxy_V8FastHostFunction.xml
│ │ ├── T_Microsoft_ClearScript_V8_FastProxy_V8FastHostFunction.xml
│ │ ├── Properties_T_Microsoft_ClearScript_DocumentCategory.xml
│ │ ├── Overload_Microsoft_ClearScript_JavaScript_IArrayBuffer_ReadBytes.xml
│ │ ├── T_Microsoft_ClearScript_StringDocument.xml
│ │ ├── Overload_Microsoft_ClearScript_DefaultScriptUsageAttribute__ctor.xml
│ │ ├── T_Microsoft_ClearScript_V8_FastProxy_V8FastHostObject_1.xml
│ │ ├── T_Microsoft_ClearScript_DocumentInfo.xml
│ │ ├── T_Microsoft_ClearScript_V8_FastProxy_V8FastHostMethod_1.xml
│ │ ├── Overload_Microsoft_ClearScript_JavaScript_IArrayBufferView_ReadBytes.xml
│ │ ├── Overload_Microsoft_ClearScript_JavaScript_IArrayBuffer_WriteBytes.xml
│ │ ├── T_Microsoft_ClearScript_DocumentLoader.xml
│ │ ├── T_Microsoft_ClearScript_ScriptEngine.xml
│ │ ├── Overload_Microsoft_ClearScript_JavaScript_IArrayBufferView_WriteBytes.xml
│ │ ├── Overload_Microsoft_ClearScript_ExtendedHostFunctions_type.xml
│ │ ├── T_Microsoft_ClearScript_DocumentSettings.xml
│ │ ├── Overload_Microsoft_ClearScript_HostTypeCollection_AddType.xml
│ │ ├── Overload_Microsoft_ClearScript_ScriptEngine_AddRestrictedHostObject.xml
│ │ ├── Methods_T_Microsoft_ClearScript_V8_FastProxy_V8FastResult.xml
│ │ ├── Overload_Microsoft_ClearScript_IScriptEngine_AddRestrictedHostObject.xml
│ │ ├── Properties_T_Microsoft_ClearScript_JavaScript_IArrayBufferView.xml
│ │ ├── Properties_T_Microsoft_ClearScript_PropertyBag.xml
│ │ ├── Properties_T_Microsoft_ClearScript_V8_FastProxy_IV8FastHostDynamicProperties.xml
│ │ ├── Properties_T_Microsoft_ClearScript_V8_FastProxy_V8FastHostDynamicObject_1.xml
│ │ ├── Methods_T_Microsoft_ClearScript_Windows_Core_ISyncInvoker.xml
│ │ ├── Overload_Microsoft_ClearScript_V8_FastProxy_V8FastHostDynamicObject_1_HasDynamicProperty.xml
│ │ ├── T_Microsoft_ClearScript_ImmutableValueAttribute.xml
│ │ ├── T_Microsoft_ClearScript_NoScriptAccessAttribute.xml
│ │ ├── T_Microsoft_ClearScript_V8_FastProxy_IV8FastHostDynamicProperties.xml
│ │ ├── T_Microsoft_ClearScript_V8_V8ScriptEngine.xml
│ │ ├── Methods_T_Microsoft_ClearScript_JavaScript_ITypedArray_1.xml
│ │ ├── Methods_T_Microsoft_ClearScript_HostTypeCollection.xml
│ │ ├── T_Microsoft_ClearScript_V8_V8RuntimeConstraints.xml
│ │ ├── Overload_Microsoft_ClearScript_V8_FastProxy_IV8FastHostDynamicProperties_HasDynamicProperty.xml
│ │ ├── Overload_Microsoft_ClearScript_V8_FastProxy_IV8FastHostObjectOperations_QueryProperty.xml
│ │ ├── T_Microsoft_ClearScript_Windows_JScriptEngine.xml
│ │ ├── Methods_T_Microsoft_ClearScript_Windows_Core_NullSyncInvoker.xml
│ │ ├── Overload_Microsoft_ClearScript_V8_FastProxy_IV8FastHostObjectOperations_DeleteProperty.xml
│ │ ├── Overload_Microsoft_ClearScript_V8_FastProxy_IV8FastHostObjectOperations_SetProperty.xml
│ │ ├── T_Microsoft_ClearScript_CustomAttributeLoader.xml
│ │ ├── T_Microsoft_ClearScript_DefaultDocumentLoader.xml
│ │ ├── T_Microsoft_ClearScript_ScriptUsageAttribute.xml
│ │ ├── Overload_Microsoft_ClearScript_V8_FastProxy_V8FastHostDynamicObject_1_DeleteDynamicProperty.xml
│ │ ├── Overload_Microsoft_ClearScript_V8_FastProxy_V8FastHostDynamicObject_1_SetDynamicProperty.xml
│ │ ├── T_Microsoft_ClearScript_Windows_VBScriptEngine.xml
│ │ ├── T_Microsoft_ClearScript_Windows_WindowsScriptEngine.xml
│ │ ├── Overload_Microsoft_ClearScript_V8_FastProxy_V8FastHostDynamicObject_1_GetDynamicProperty.xml
│ │ ├── T_Microsoft_ClearScript_ScriptMemberAttribute.xml
│ │ ├── Overload_Microsoft_ClearScript_V8_FastProxy_IV8FastHostDynamicProperties_DeleteDynamicProperty.xml
│ │ ├── Overload_Microsoft_ClearScript_V8_FastProxy_IV8FastHostDynamicProperties_SetDynamicProperty.xml
│ │ ├── Overload_Microsoft_ClearScript_V8_FastProxy_IV8FastHostObjectOperations_GetProperty.xml
│ │ ├── Properties_T_Microsoft_ClearScript_StringDocument.xml
│ │ ├── Overload_Microsoft_ClearScript_V8_FastProxy_IV8FastHostDynamicProperties_GetDynamicProperty.xml
│ │ ├── T_Microsoft_ClearScript_V8_FastProxy_V8FastHostFunctionOperations_1.xml
│ │ ├── T_Microsoft_ClearScript_V8_FastProxy_V8FastHostObjectOperations_1.xml
│ │ ├── T_Microsoft_ClearScript_Windows_Core_JScriptEngine.xml
│ │ ├── T_Microsoft_ClearScript_V8_FastProxy_V8FastHostMethodOperations_2.xml
│ │ ├── T_Microsoft_ClearScript_Windows_Core_VBScriptEngine.xml
│ │ ├── Properties_T_Microsoft_ClearScript_ScriptObject.xml
│ │ ├── Properties_T_Microsoft_ClearScript_IScriptObject.xml
│ │ ├── Overload_Microsoft_ClearScript_ScriptEngine_ExecuteDocument.xml
│ │ ├── T_Microsoft_ClearScript_NoDefaultScriptAccessAttribute.xml
│ │ ├── Overload_Microsoft_ClearScript_IScriptEngine_ExecuteDocument.xml
│ │ ├── Overload_Microsoft_ClearScript_ScriptEngine_EvaluateDocument.xml
│ │ ├── T_Microsoft_ClearScript_V8_V8Runtime.xml
│ │ ├── T_Microsoft_ClearScript_Windows_Core_WindowsScriptEngine.xml
│ │ ├── Overload_Microsoft_ClearScript_HostFunctions_newObj.xml
│ │ ├── Overload_Microsoft_ClearScript_IScriptEngine_EvaluateDocument.xml
│ │ ├── Overload_Microsoft_ClearScript_ScriptEngine_Execute.xml
│ │ ├── Overload_Microsoft_ClearScript_V8_FastProxy_V8FastHostObjectOperations_1__ctor.xml
│ │ ├── Properties_T_Microsoft_ClearScript_V8_FastProxy_V8FastArg.xml
│ │ ├── T_Microsoft_ClearScript_PropertyBag.xml
│ │ ├── T_Microsoft_ClearScript_DefaultScriptUsageAttribute.xml
│ │ ├── Overload_Microsoft_ClearScript_IScriptEngine_Execute.xml
│ │ ├── Overload_Microsoft_ClearScript_ScriptEngine_Evaluate.xml
│ │ ├── Overload_Microsoft_ClearScript_IScriptEngine_Evaluate.xml
│ │ ├── Overload_Microsoft_ClearScript_PropertyBag__ctor.xml
│ │ └── T_Microsoft_ClearScript_HostTypeCollection.xml
├── index.html
├── archive.md
├── search.md
├── favicon.ico
├── favicon.png
├── ClearScript.png
├── ClearScriptLogo.png
├── ClearScript7-ReadMe.png
├── images
│ ├── LINQPad-7-QuickTest.png
│ ├── DotNetFiddle-QuickTest.png
│ ├── DotNetFiddle-NuGet-Packages.png
│ ├── DotNetFiddle-Compiler-Dropdown.png
│ ├── LINQPad-7-NuGet-Manager-arm64.png
│ └── LINQPad-7-NuGet-Manager-x86-x64.png
├── Gemfile
├── _data
│ └── navigation.yml
├── _includes
│ └── head-custom.html
└── _posts
│ └── 2022-1-9-welcome-to-the-blog.md
├── Misc
├── macOS
│ ├── .zprofile
│ ├── GitConfiguration.txt
│ └── .zshrc
├── ProcessDebugManager
│ ├── CLSID_ProcessDebugManager.reg
│ └── ProcessDebugManager.md
├── JScriptReplacement
│ ├── DisableJScriptReplacement_CurrentUser.reg
│ └── DisableJScriptReplacement_LocalMachine.reg
├── Linux
│ └── SetupNotes.txt
├── asyncBenchNode.js
└── asyncBench.js
├── ClearScriptTest
├── JavaScript
│ ├── Malformed.json
│ ├── Array.json
│ ├── Object.json
│ ├── WebAssembly
│ │ └── HelloWorld.wasm
│ ├── CommonJS
│ │ ├── NewMath.js
│ │ ├── Module.js
│ │ ├── ModuleWithSideEffects.js
│ │ └── Arithmetic
│ │ │ ├── Arithmetic.js
│ │ │ └── Arithmetic.bogus.js
│ ├── CommonJSWithCycles
│ │ ├── Module.js
│ │ ├── ModuleWithSideEffects.js
│ │ └── Arithmetic
│ │ │ └── Arithmetic.js
│ ├── LegacyCommonJS
│ │ ├── Module.js
│ │ ├── ModuleWithSideEffects.js
│ │ └── Arithmetic
│ │ │ ├── Arithmetic.js
│ │ │ └── Arithmetic.bogus.js
│ ├── StandardModuleWithCycles
│ │ ├── Module.js
│ │ ├── ModuleWithSideEffects.js
│ │ └── Arithmetic
│ │ │ ├── Arithmetic.js
│ │ │ └── ArithmeticWithDynamicImport.js
│ ├── LegacyCommonJSWithCycles
│ │ ├── Module.js
│ │ ├── ModuleWithSideEffects.js
│ │ └── Arithmetic
│ │ │ └── Arithmetic.js
│ └── StandardModule
│ │ ├── Module.js
│ │ ├── ModuleWithSideEffects.js
│ │ └── Arithmetic
│ │ ├── Arithmetic.js
│ │ └── Arithmetic.bogus.js
├── VBScript
│ └── Expression.vbs
└── Properties
│ └── AssemblyInfo.cs
├── ClearScript
├── doc
│ ├── Build.docx
│ ├── Examples.docx
│ ├── Reference.chm
│ └── FAQtorial.docx
├── Util
│ ├── INativeCallback.cs
│ ├── IHostTargetContext.cs
│ ├── IScriptMarshalWrapper.cs
│ ├── SpecialParamNames.cs
│ ├── Nonexistent.cs
│ ├── IHostItem.cs
│ ├── AssemblyTable.NetStandard.cs
│ ├── IHostContext.cs
│ ├── TypeTags.cs
│ ├── COM
│ │ └── TypeInfoHelpers.NetStandard.cs
│ ├── IExpando.cs
│ ├── SpecialMemberNames.cs
│ ├── Holder.cs
│ ├── SpecialDispIDs.cs
│ └── ObjectHelpers.UWP.cs
├── V8
│ ├── FastProxy
│ │ ├── V8FastArgKind.cs
│ │ ├── IV8FastJavaScriptObject.cs
│ │ ├── IV8FastHostObject.cs
│ │ ├── IV8FastHostMethod.cs
│ │ └── IV8FastHostFunction.cs
│ ├── ICUData
│ │ └── V8ICUData.cs
│ ├── IV8DebugListener.cs
│ ├── V8ArrayBufferOrViewKind.cs
│ └── SplitProxy
│ │ └── V8SplitProxyNative.UWP.tt
├── Exports
│ ├── VersionSymbols.h
│ └── VersionSymbols.tt
├── DocumentKind.cs
├── Invocability.cs
├── JavaScript
│ └── IDataView.cs
├── ContinuationCallback.cs
├── HostItem.NetFramework.cs
├── Windows
│ └── IWindowsScriptObject.cs
├── DocumentContextCallback.cs
├── DocumentLoadCallback.cs
└── Properties
│ ├── AssemblyInfo.V8.cs
│ ├── AssemblyInfo.Windows.cs
│ └── AssemblyInfo.V8.ICUData.cs
├── UWP
├── ClearScriptTest
│ ├── Assets
│ │ ├── ClearScript.png
│ │ ├── ClearScript150x150.png
│ │ └── ClearScript44x44.png
│ ├── Properties
│ │ └── Default.rd.xml
│ └── UnitTestApp.xaml
├── ClearScriptConsole
│ ├── Assets
│ │ ├── ClearScript.png
│ │ ├── ClearScript44x44.png
│ │ └── ClearScript150x150.png
│ └── Properties
│ │ └── Default.rd.xml
├── ClearScript.Core
│ └── Properties
│ │ └── ClearScript.Core.rd.xml
└── ClearScript.V8
│ └── Properties
│ └── ClearScript.V8.rd.xml
├── Version.tt
├── Unix
└── ClearScriptV8
│ └── entitlements.xml
├── NuGet
└── files
│ ├── Microsoft.ClearScript.V8.Native.win-x64
│ └── tools
│ │ ├── Uninstall.ps1
│ │ └── Install.ps1
│ ├── Microsoft.ClearScript.V8.Native.win-x86
│ └── tools
│ │ ├── Uninstall.ps1
│ │ └── Install.ps1
│ └── Microsoft.ClearScript.V8.Native.win-arm64
│ └── tools
│ ├── Uninstall.ps1
│ └── Install.ps1
├── ClearScriptV8
├── IV8Entity.h
├── RefCount.h
├── HostObjectHolder.h
└── V8GlobalFlags.h
├── .gitignore
├── ClearScriptConsole
└── Properties
│ └── AssemblyInfo.cs
├── ClearScriptBenchmarks
└── Properties
│ └── AssemblyInfo.cs
└── V8
└── BuildPatch.txt
/docs/CNAME:
--------------------------------------------------------------------------------
1 | clearscript.clearfoundry.net
--------------------------------------------------------------------------------
/Misc/macOS/.zprofile:
--------------------------------------------------------------------------------
1 | export PROFILEPATH=$PATH
2 |
--------------------------------------------------------------------------------
/ClearScriptTest/JavaScript/Malformed.json:
--------------------------------------------------------------------------------
1 | This is not JSON!
2 |
--------------------------------------------------------------------------------
/docs/.gitignore:
--------------------------------------------------------------------------------
1 | _site
2 | .sass-cache
3 | .jekyll-metadata
4 |
--------------------------------------------------------------------------------
/docs/Reference/fti/FTI_50.json:
--------------------------------------------------------------------------------
1 | {"256":[76480513,78446593,80543745]}
--------------------------------------------------------------------------------
/docs/Reference/fti/FTI_55.json:
--------------------------------------------------------------------------------
1 | {"789":[9895937],"768":[78446593]}
--------------------------------------------------------------------------------
/docs/index.html:
--------------------------------------------------------------------------------
1 | ---
2 | layout: home
3 | paginate: true
4 | ---
5 |
--------------------------------------------------------------------------------
/ClearScriptTest/JavaScript/Array.json:
--------------------------------------------------------------------------------
1 | [ 123, "foo", 4.56, "bar" ]
2 |
--------------------------------------------------------------------------------
/ClearScriptTest/JavaScript/Object.json:
--------------------------------------------------------------------------------
1 | { "foo": 123, "bar": "baz" }
2 |
--------------------------------------------------------------------------------
/ClearScriptTest/VBScript/Expression.vbs:
--------------------------------------------------------------------------------
1 | CLng(Sin(4 * atn(1)) * 1000e16)
--------------------------------------------------------------------------------
/docs/archive.md:
--------------------------------------------------------------------------------
1 | ---
2 | layout: posts
3 | title: Blog Archive
4 | ---
5 |
--------------------------------------------------------------------------------
/docs/search.md:
--------------------------------------------------------------------------------
1 | ---
2 | layout: search
3 | title: Blog Search
4 | ---
5 |
--------------------------------------------------------------------------------
/docs/Reference/fti/FTI_53.json:
--------------------------------------------------------------------------------
1 | {"5x3":[10289153],"512":[78446593],"536":[78446593]}
--------------------------------------------------------------------------------
/docs/Reference/fti/FTI_122.json:
--------------------------------------------------------------------------------
1 | {"zero":[53936129,54657025,63111169,67567617,71434241]}
--------------------------------------------------------------------------------
/docs/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/favicon.ico
--------------------------------------------------------------------------------
/docs/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/favicon.png
--------------------------------------------------------------------------------
/docs/ClearScript.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/ClearScript.png
--------------------------------------------------------------------------------
/docs/ClearScriptLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/ClearScriptLogo.png
--------------------------------------------------------------------------------
/ClearScript/doc/Build.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/ClearScript/doc/Build.docx
--------------------------------------------------------------------------------
/ClearScript/doc/Examples.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/ClearScript/doc/Examples.docx
--------------------------------------------------------------------------------
/ClearScript/doc/Reference.chm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/ClearScript/doc/Reference.chm
--------------------------------------------------------------------------------
/docs/ClearScript7-ReadMe.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/ClearScript7-ReadMe.png
--------------------------------------------------------------------------------
/ClearScript/doc/FAQtorial.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/ClearScript/doc/FAQtorial.docx
--------------------------------------------------------------------------------
/docs/Reference/icons/Search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/Search.png
--------------------------------------------------------------------------------
/docs/Reference/icons/Static.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/Static.gif
--------------------------------------------------------------------------------
/docs/Reference/styles/branding-cs-CZ.css:
--------------------------------------------------------------------------------
1 | /* Start CS-CZ locale-specific CSS */
2 |
3 | /* End locale-specific CSS */
4 |
--------------------------------------------------------------------------------
/docs/Reference/styles/branding-de-DE.css:
--------------------------------------------------------------------------------
1 | /* Start DE-DE locale-specific CSS */
2 |
3 | /* End locale-specific CSS */
4 |
--------------------------------------------------------------------------------
/docs/Reference/styles/branding-en-US.css:
--------------------------------------------------------------------------------
1 | /* Start EN-US locale-specific CSS */
2 |
3 | /* End locale-specific CSS */
4 |
--------------------------------------------------------------------------------
/docs/Reference/styles/branding-es-ES.css:
--------------------------------------------------------------------------------
1 | /* Start ES-ES locale-specific CSS */
2 |
3 | /* End locale-specific CSS */
4 |
--------------------------------------------------------------------------------
/docs/Reference/styles/branding-fr-FR.css:
--------------------------------------------------------------------------------
1 | /* Start FR-FR locale-specific CSS */
2 |
3 | /* End locale-specific CSS */
4 |
--------------------------------------------------------------------------------
/docs/Reference/styles/branding-it-IT.css:
--------------------------------------------------------------------------------
1 | /* Start IT-IT locale-specific CSS */
2 |
3 | /* End locale-specific CSS */
4 |
--------------------------------------------------------------------------------
/docs/Reference/styles/branding-pl-PL.css:
--------------------------------------------------------------------------------
1 | /* Start PL-PL locale-specific CSS */
2 |
3 | /* End locale-specific CSS */
4 |
--------------------------------------------------------------------------------
/docs/Reference/styles/branding-pt-BR.css:
--------------------------------------------------------------------------------
1 | /* Start PT-BR locale-specific CSS */
2 |
3 | /* End locale-specific CSS */
4 |
--------------------------------------------------------------------------------
/docs/Reference/styles/branding-ru-RU.css:
--------------------------------------------------------------------------------
1 | /* Start RU-RU locale-specific CSS */
2 |
3 | /* End locale-specific CSS */
4 |
--------------------------------------------------------------------------------
/docs/Reference/styles/branding-tr-TR.css:
--------------------------------------------------------------------------------
1 | /* Start TR-TR locale-specific CSS */
2 |
3 | /* End locale-specific CSS */
4 |
--------------------------------------------------------------------------------
/docs/Reference/icons/AlertNote.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/AlertNote.png
--------------------------------------------------------------------------------
/docs/Reference/icons/TocClose.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/TocClose.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/TocOpen.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/TocOpen.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/favicon.ico
--------------------------------------------------------------------------------
/docs/Reference/icons/privClass.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/privClass.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/privEvent.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/privEvent.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/privField.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/privField.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/protClass.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/protClass.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/protEvent.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/protEvent.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/protField.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/protField.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/pubClass.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/pubClass.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/pubEvent.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/pubEvent.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/pubField.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/pubField.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/pubMethod.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/pubMethod.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/CodeExample.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/CodeExample.png
--------------------------------------------------------------------------------
/docs/Reference/icons/TocExpanded.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/TocExpanded.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/privMethod.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/privMethod.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/protMethod.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/protMethod.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/pubDelegate.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/pubDelegate.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/pubOperator.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/pubOperator.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/pubProperty.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/pubProperty.gif
--------------------------------------------------------------------------------
/docs/images/LINQPad-7-QuickTest.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/images/LINQPad-7-QuickTest.png
--------------------------------------------------------------------------------
/docs/Reference/icons/AlertCaution.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/AlertCaution.png
--------------------------------------------------------------------------------
/docs/Reference/icons/AlertSecurity.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/AlertSecurity.png
--------------------------------------------------------------------------------
/docs/Reference/icons/TocCollapsed.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/TocCollapsed.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/privDelegate.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/privDelegate.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/privExtension.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/privExtension.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/privInterface.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/privInterface.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/privProperty.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/privProperty.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/privStructure.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/privStructure.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/protDelegate.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/protDelegate.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/protExtension.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/protExtension.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/protInterface.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/protInterface.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/protOperator.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/protOperator.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/protProperty.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/protProperty.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/protStructure.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/protStructure.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/pubEnumeration.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/pubEnumeration.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/pubExtension.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/pubExtension.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/pubInterface.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/pubInterface.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/pubStructure.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/pubStructure.gif
--------------------------------------------------------------------------------
/docs/images/DotNetFiddle-QuickTest.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/images/DotNetFiddle-QuickTest.png
--------------------------------------------------------------------------------
/docs/Reference/icons/SectionCollapsed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/SectionCollapsed.png
--------------------------------------------------------------------------------
/docs/Reference/icons/SectionExpanded.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/SectionExpanded.png
--------------------------------------------------------------------------------
/docs/Reference/icons/privEnumeration.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/privEnumeration.gif
--------------------------------------------------------------------------------
/docs/Reference/icons/protEnumeration.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/Reference/icons/protEnumeration.gif
--------------------------------------------------------------------------------
/UWP/ClearScriptTest/Assets/ClearScript.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/UWP/ClearScriptTest/Assets/ClearScript.png
--------------------------------------------------------------------------------
/docs/images/DotNetFiddle-NuGet-Packages.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/images/DotNetFiddle-NuGet-Packages.png
--------------------------------------------------------------------------------
/UWP/ClearScriptConsole/Assets/ClearScript.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/UWP/ClearScriptConsole/Assets/ClearScript.png
--------------------------------------------------------------------------------
/docs/images/DotNetFiddle-Compiler-Dropdown.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/images/DotNetFiddle-Compiler-Dropdown.png
--------------------------------------------------------------------------------
/docs/images/LINQPad-7-NuGet-Manager-arm64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/images/LINQPad-7-NuGet-Manager-arm64.png
--------------------------------------------------------------------------------
/UWP/ClearScriptTest/Assets/ClearScript150x150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/UWP/ClearScriptTest/Assets/ClearScript150x150.png
--------------------------------------------------------------------------------
/UWP/ClearScriptTest/Assets/ClearScript44x44.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/UWP/ClearScriptTest/Assets/ClearScript44x44.png
--------------------------------------------------------------------------------
/docs/Gemfile:
--------------------------------------------------------------------------------
1 | source "https://rubygems.org"
2 | gem "github-pages", group: :jekyll_plugins
3 | group :jekyll_plugins do
4 | gem "jekyll-paginate"
5 | end
6 |
--------------------------------------------------------------------------------
/docs/images/LINQPad-7-NuGet-Manager-x86-x64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/docs/images/LINQPad-7-NuGet-Manager-x86-x64.png
--------------------------------------------------------------------------------
/Misc/macOS/GitConfiguration.txt:
--------------------------------------------------------------------------------
1 | The "gclient sync" command fails, indicating "HTTP 500".
2 |
3 | Possible fix: git config --global http.postBuffer 524288000
4 |
--------------------------------------------------------------------------------
/UWP/ClearScriptConsole/Assets/ClearScript44x44.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/UWP/ClearScriptConsole/Assets/ClearScript44x44.png
--------------------------------------------------------------------------------
/ClearScriptTest/JavaScript/WebAssembly/HelloWorld.wasm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/ClearScriptTest/JavaScript/WebAssembly/HelloWorld.wasm
--------------------------------------------------------------------------------
/Misc/ProcessDebugManager/CLSID_ProcessDebugManager.reg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/Misc/ProcessDebugManager/CLSID_ProcessDebugManager.reg
--------------------------------------------------------------------------------
/UWP/ClearScriptConsole/Assets/ClearScript150x150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/UWP/ClearScriptConsole/Assets/ClearScript150x150.png
--------------------------------------------------------------------------------
/docs/Reference/fti/FTI_52.json:
--------------------------------------------------------------------------------
1 | {"42":[10485761,10551297,10747905,10813441,11468801,11534337,11862017,12124161,13041665,13434881,14155777,14286849],"45":[11141121],"456":[9895937]}
--------------------------------------------------------------------------------
/ClearScriptTest/JavaScript/CommonJS/NewMath.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | module.exports = Math;
5 |
--------------------------------------------------------------------------------
/Misc/JScriptReplacement/DisableJScriptReplacement_CurrentUser.reg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/Misc/JScriptReplacement/DisableJScriptReplacement_CurrentUser.reg
--------------------------------------------------------------------------------
/Misc/JScriptReplacement/DisableJScriptReplacement_LocalMachine.reg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ClearFoundry/ClearScript/HEAD/Misc/JScriptReplacement/DisableJScriptReplacement_LocalMachine.reg
--------------------------------------------------------------------------------
/Version.tt:
--------------------------------------------------------------------------------
1 | <#
2 | var version = new Version(7, 5, 1);
3 | var versionSuffix = "-preview";
4 | new Random(versionSuffix.Length); // suppress "versionSuffix not used" warning
5 | #>
6 |
--------------------------------------------------------------------------------
/docs/Reference/toc/roottoc.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/styles/branding-HelpViewer.css:
--------------------------------------------------------------------------------
1 | /* Style adjustments for Help Viewer */
2 | .codeSnippetContainerTabs {
3 | top: 0px;
4 | }
5 |
6 | .codeSnippetToolBarText {
7 | top: -13px;
8 | }
9 |
--------------------------------------------------------------------------------
/Misc/macOS/.zshrc:
--------------------------------------------------------------------------------
1 | export PATH=$HOME/`arch`/bin:$PROFILEPATH
2 | alias ll="ls -alF"
3 | alias zx64="arch -arch x86_64 zsh"
4 | alias zarm64="arch -arch arm64e zsh"
5 | alias ukc="security unlock-keychain ~/Library/Keychains/login.keychain-db"
6 |
--------------------------------------------------------------------------------
/ClearScriptTest/JavaScript/CommonJS/Module.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | let Geometry = require("Geometry/Geometry");
5 |
6 | return new Geometry.Square(25).Area;
7 |
--------------------------------------------------------------------------------
/ClearScriptTest/JavaScript/CommonJSWithCycles/Module.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | let Geometry = require("Geometry/Geometry");
5 |
6 | return new Geometry.Square(25).Area;
7 |
--------------------------------------------------------------------------------
/ClearScriptTest/JavaScript/LegacyCommonJS/Module.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | var Geometry = require("Geometry/Geometry");
5 |
6 | return new Geometry.Square(25).getArea();
7 |
--------------------------------------------------------------------------------
/ClearScriptTest/JavaScript/StandardModuleWithCycles/Module.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | import * as Geometry from 'Geometry/Geometry.js';
5 |
6 | new Geometry.Square(25).Area;
7 |
--------------------------------------------------------------------------------
/docs/_data/navigation.yml:
--------------------------------------------------------------------------------
1 | - title: Home
2 | url: /
3 | - title: About
4 | url: /about
5 | - title: Search
6 | url: /search
7 | - title: Archive
8 | url: /archive
9 | - title: GitHub
10 | url: https://github.com/ClearFoundry/ClearScript
11 |
--------------------------------------------------------------------------------
/ClearScriptTest/JavaScript/LegacyCommonJSWithCycles/Module.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | var Geometry = require("Geometry/Geometry");
5 |
6 | return new Geometry.Square(25).getArea();
7 |
--------------------------------------------------------------------------------
/ClearScriptTest/JavaScript/StandardModule/Module.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | import * as Geometry from 'Geometry/Geometry.js';
5 |
6 | import.meta.setResult(new Geometry.Square(25).Area);
7 |
--------------------------------------------------------------------------------
/docs/Reference/fti/FTI_121.json:
--------------------------------------------------------------------------------
1 | {"yields":[78446593],"young":[53149697,72417282,79364097],"yield":[7929857,9502721,9633793,13500417,14221313,15007745,15335425,16384001,16449537,17301505,17432577,17694721,19136513,19267585,19333121,19464193,20250625,21954561,23199745,23330817,25034753]}
--------------------------------------------------------------------------------
/ClearScriptTest/JavaScript/CommonJS/ModuleWithSideEffects.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | let Geometry = require("Geometry/Geometry");
5 |
6 | foo.bar = new Geometry.Square(25).Area;
7 |
8 | return foo.bar;
9 |
--------------------------------------------------------------------------------
/docs/Reference/styles/branding-Help1.css:
--------------------------------------------------------------------------------
1 | /* Define the userData cache persistence mechanism for Help 1 files */
2 | .userDataStyle {
3 | behavior: url(#default#userdata);
4 | }
5 |
6 | /* Style adjustments for Help 1 */
7 | .codeSnippetToolBarText {
8 | top: -13px;
9 | }
10 |
--------------------------------------------------------------------------------
/ClearScriptTest/JavaScript/CommonJSWithCycles/ModuleWithSideEffects.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | let Geometry = require("Geometry/Geometry");
5 |
6 | foo.bar = new Geometry.Square(25).Area;
7 |
8 | return foo.bar;
9 |
--------------------------------------------------------------------------------
/ClearScriptTest/JavaScript/LegacyCommonJS/ModuleWithSideEffects.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | var Geometry = require("Geometry/Geometry");
5 |
6 | foo.bar = new Geometry.Square(25).getArea();
7 |
8 | return foo.bar;
9 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Fields_T_Microsoft_ClearScript_Undefined.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Fields_T_Microsoft_ClearScript_VoidResult.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScriptTest/JavaScript/StandardModuleWithCycles/ModuleWithSideEffects.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | import * as Geometry from 'Geometry/Geometry.js';
5 |
6 | foo.bar = new Geometry.Square(25).Area;
7 |
8 | foo.bar;
9 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_ValueRef.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScriptTest/JavaScript/LegacyCommonJSWithCycles/ModuleWithSideEffects.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | var Geometry = require("Geometry/Geometry");
5 |
6 | foo.bar = new Geometry.Square(25).getArea();
7 |
8 | return foo.bar;
9 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Fields_T_Microsoft_ClearScript_ValueRef_1.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_Undefined.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_V8_V8Script.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_ValueRef.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_VoidResult.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Fields_T_Microsoft_ClearScript_Windows_Nothing.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_EventSource.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_Extensions.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScriptTest/JavaScript/StandardModule/ModuleWithSideEffects.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | import * as Geometry from 'Geometry/Geometry.js';
5 |
6 | foo.bar = new Geometry.Square(25).Area;
7 |
8 | import.meta.setResult(foo.bar);
9 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_EventSource.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Events_T_Microsoft_ClearScript_PropertyBag.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_Windows_Nothing.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_EventSource_1.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_HostSettings.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_V8Settings.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScript/Util/INativeCallback.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | using System;
5 |
6 | namespace Microsoft.ClearScript.Util
7 | {
8 | internal interface INativeCallback : IDisposable
9 | {
10 | void Invoke();
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_EventConnection.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScript/Util/IHostTargetContext.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | namespace Microsoft.ClearScript.Util
5 | {
6 | internal interface IHostTargetContext : IHostContext
7 | {
8 | HostTargetFlags TargetFlags { get; }
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_DynamicHostObject.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_EventConnection.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_EventConnection_1.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_EventSource_1.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_Windows_IHostWindow.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_V8_V8ScriptEngine_Dispose.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_V8_V8ScriptEngine_Execute.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScript/Util/IScriptMarshalWrapper.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | namespace Microsoft.ClearScript.Util
5 | {
6 | internal interface IScriptMarshalWrapper
7 | {
8 | ScriptEngine Engine { get; }
9 | object Unwrap();
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/ClearScript/V8/FastProxy/V8FastArgKind.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | namespace Microsoft.ClearScript.V8.FastProxy
5 | {
6 | internal enum V8FastArgKind
7 | {
8 | PropertyValue,
9 | MethodArg,
10 | FunctionArg
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/Misc/ProcessDebugManager/ProcessDebugManager.md:
--------------------------------------------------------------------------------
1 | 1. Install [Remote Tools for Visual Studio 2019](https://visualstudio.microsoft.com/downloads/#remote-tools-for-visual-studio-2019).
2 | 1. If necessary, register [CLSID_ProcessDebugManager](https://github.com/ClearFoundry/ClearScript/blob/master/Misc/ProcessDebugManager/CLSID_ProcessDebugManager.reg).
3 | 1.
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_V8_V8ScriptEngine_Evaluate.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_JavaScript_IArrayBuffer.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_JavaScript_ITypedArray.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_V8_FastProxy_V8FastArgs.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_Windows_IHostWindow.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_IScriptableObject.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/fti/FTI_54.json:
--------------------------------------------------------------------------------
1 | {"6ac0":[51052545,52625409,76611585,76873729,77463553,78249985],"65":[78446593],"64":[11468801,12124161,17170435,17956867,18022403,18219011,19070979,21757955,26214401,27131905,28180481,28901377,29360129,30277633,30736385,32309249,36241409,37093377,41943043,43057155,43319299,44564483,46071811,47972355,76480513,78446596,80543745]}
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_Windows_JScriptEngine.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_ScriptUsageAttribute.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScript/V8/ICUData/V8ICUData.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | namespace Microsoft.ClearScript.V8.ICUData
5 | {
6 | internal static class V8ICUData
7 | {
8 | public const string ResourceName = "Microsoft.ClearScript.V8.ICUData.icudtl.dat";
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Fields_T_Microsoft_ClearScript_Windows_Core_NullSyncInvoker.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_IScriptableObject.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_Windows_VBScriptEngine.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_CustomAttributeLoader.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_V8_FastProxy_V8FastResult.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_JavaScript_IJavaScriptObject.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_Windows_Core_ISyncInvoker.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScript/Util/SpecialParamNames.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | namespace Microsoft.ClearScript.Util
5 | {
6 | internal static class SpecialParamNames
7 | {
8 | public static readonly string This = MiscHelpers.GetDispIDName(SpecialDispIDs.This);
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/UWP/ClearScript.Core/Properties/ClearScript.Core.rd.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_Windows_Core_JScriptEngine.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_DefaultDocumentLoader.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_Windows_JScriptEngine.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_JavaScript_ModuleCategory.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_DocumentSettings.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_Windows_Core_VBScriptEngine.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_Windows_VBScriptEngine.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_DefaultScriptUsageAttribute.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_Windows_WindowsScriptEngine.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_IScriptEngineException.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_CustomAttributeLoader.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_Windows_Core_JScriptEngine.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScript/V8/FastProxy/IV8FastJavaScriptObject.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | using Microsoft.ClearScript.JavaScript;
5 |
6 | namespace Microsoft.ClearScript.V8.FastProxy
7 | {
8 | ///
9 | public interface IV8FastJavaScriptObject : IJavaScriptObject
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_Windows_Core_WindowsScriptEngine_Dispose.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_V8_FastProxy_IV8FastHostMethod.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_V8_FastProxy_IV8FastHostObject.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_Windows_Core_VBScriptEngine.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_FastProxy_IV8FastEnumerator.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScript/Util/Nonexistent.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | namespace Microsoft.ClearScript.Util
5 | {
6 | internal sealed class Nonexistent
7 | {
8 | public static readonly Nonexistent Value = new();
9 |
10 | private Nonexistent()
11 | {
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_V8_FastProxy_V8FastHostObject_1.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_Windows_IWindowsScriptObject.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_V8_FastProxy_IV8FastHostFunction.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_JavaScript_JavaScriptExtensions.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_FastProxy_IV8FastHostMethod.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_FastProxy_IV8FastHostObject.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/fti/FTI_113.json:
--------------------------------------------------------------------------------
1 | {"query":[25559042,26476546,50921473],"qualified":[1769473,4653057,5832705,5898241,6094849,9502721,9633793,11075585,11599873,12582913,14221313,15007745,15138817,15335425,16449537,19464193,20250625,21954561,25034753,70582273,71761921,73334785,76414977,77332481],"queryproperty":[3866626,3997698,4521986,25559045,26476549,50921474,71041026,73203714,75038722],"qux":[11796481]}
--------------------------------------------------------------------------------
/ClearScript/Exports/VersionSymbols.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 |
5 |
6 | #pragma once
7 |
8 | #define CLEARSCRIPT_VERSION_STRING "7.5.1"
9 | #define CLEARSCRIPT_VERSION_COMMA_SEPARATED 7,5,1
10 | #define CLEARSCRIPT_VERSION_STRING_INFORMATIONAL "7.5.1-preview"
11 | #define CLEARSCRIPT_FILE_FLAGS VS_FF_PRERELEASE
12 |
--------------------------------------------------------------------------------
/Unix/ClearScriptV8/entitlements.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | com.apple.security.cs.allow-jit
6 |
7 | com.apple.security.cs.allow-unsigned-executable-memory
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_FastProxy_IV8FastHostFunction.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_V8_FastProxy_IV8FastHostMethodOperations.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_IPropertyBag.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_FastProxy_IV8FastAsyncEnumerator.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScript/V8/IV8DebugListener.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | using System;
5 |
6 | namespace Microsoft.ClearScript.V8
7 | {
8 | internal interface IV8DebugListener : IDisposable
9 | {
10 | void ConnectClient();
11 | void SendCommand(string command);
12 | void DisconnectClient();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_V8_FastProxy_IV8FastHostFunctionOperations.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_V8_V8Script.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_Undefined.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_V8_V8CpuProfile.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_VoidResult.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScript/DocumentKind.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | namespace Microsoft.ClearScript
5 | {
6 | internal enum DocumentKind
7 | {
8 | // IMPORTANT: maintain bitwise equivalence with native enum DocumentKind
9 | Script,
10 | JavaScriptModule,
11 | CommonJSModule,
12 | Json
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/ClearScript/Util/IHostItem.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | namespace Microsoft.ClearScript.Util
5 | {
6 | internal interface IHostItem : IScriptMarshalWrapper
7 | {
8 | }
9 |
10 | internal interface IDisposableHostItem : IHostItem
11 | {
12 | void Dispose();
13 | object DisposeAsync();
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/NuGet/files/Microsoft.ClearScript.V8.Native.win-x64/tools/Uninstall.ps1:
--------------------------------------------------------------------------------
1 | param($installPath, $toolsPath, $package, $project)
2 |
3 | if ($project.Type -eq "Web Site")
4 | {
5 | $projectPath = $project.Properties.Item("FullPath").Value
6 |
7 | $filePath = Join-Path $projectPath "bin\ClearScriptV8.win-x64.dll"
8 | if (Test-Path $filePath)
9 | {
10 | Remove-Item $filePath -Force
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/NuGet/files/Microsoft.ClearScript.V8.Native.win-x86/tools/Uninstall.ps1:
--------------------------------------------------------------------------------
1 | param($installPath, $toolsPath, $package, $project)
2 |
3 | if ($project.Type -eq "Web Site")
4 | {
5 | $projectPath = $project.Properties.Item("FullPath").Value
6 |
7 | $filePath = Join-Path $projectPath "bin\ClearScriptV8.win-x86.dll"
8 | if (Test-Path $filePath)
9 | {
10 | Remove-Item $filePath -Force
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/UWP/ClearScriptTest/Properties/Default.rd.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_ScriptEngine_Dispose.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_ScriptObject_Item.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_ValueRef_1.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/NuGet/files/Microsoft.ClearScript.V8.Native.win-arm64/tools/Uninstall.ps1:
--------------------------------------------------------------------------------
1 | param($installPath, $toolsPath, $package, $project)
2 |
3 | if ($project.Type -eq "Web Site")
4 | {
5 | $projectPath = $project.Properties.Item("FullPath").Value
6 |
7 | $filePath = Join-Path $projectPath "bin\ClearScriptV8.win-arm64.dll"
8 | if (Test-Path $filePath)
9 | {
10 | Remove-Item $filePath -Force
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/UWP/ClearScriptConsole/Properties/Default.rd.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_V8_FastProxy_V8FastHostObjectOperations_1.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_HostFunctions_typeOf.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_IScriptObject_Item.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_HostFunctions.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_V8Script.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScript/Invocability.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | namespace Microsoft.ClearScript
5 | {
6 | internal enum Invocability
7 | {
8 | // IMPORTANT: maintain bitwise equivalence with native enum HostObjectUtil::Invocability
9 | None,
10 | Delegate,
11 | Dynamic,
12 | DefaultProperty
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/ClearScript/Util/AssemblyTable.NetStandard.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | namespace Microsoft.ClearScript.Util
5 | {
6 | internal static class AssemblyTable
7 | {
8 | public static string GetFullAssemblyName(string name)
9 | {
10 | return AssemblyHelpers.GetFullAssemblyName(name);
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_JavaScript_IDataView.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_FastProxy_IV8FastHostMethodOperations.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_FastProxy_IV8FastHostObjectOperations.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_Windows_Nothing.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/styles/branding-ja-JP.css:
--------------------------------------------------------------------------------
1 | /* Start JA-JP locale-specific CSS */
2 | body
3 | {
4 | font-family: Segoe UI, Verdana, Arial, MS Pゴシック;
5 | }
6 | pre
7 | {
8 | font-family: Consolas, Courier, monospace, MS ゴシック;
9 | }
10 | span.tt
11 | {
12 | font-family: Consolas, Courier, monospace, MS ゴシック;
13 | }
14 | span.code
15 | {
16 | font-family: Consolas, Courier, monospace, MS ゴシック;
17 | }
18 | /* End locale-specific CSS */
19 |
--------------------------------------------------------------------------------
/docs/Reference/styles/branding-zh-TW.css:
--------------------------------------------------------------------------------
1 | /* Start ZH-TW locale-specific CSS */
2 | body
3 | {
4 | font-family: MS JhengHei, MingLiU, Segoe UI, Verdana, Arial;
5 | }
6 | pre
7 | {
8 | font-family: Consolas, Courier, monospace, 細明體;
9 | }
10 | span.tt
11 | {
12 | font-family: Consolas, Courier, monospace, 細明體;
13 | }
14 | span.code
15 | {
16 | font-family: Consolas, Courier, monospace, 細明體;
17 | }
18 | /* End locale-specific CSS */
19 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_HostFunctions_func.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_HostFunctions_newArr.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_DocumentLoader.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Events_T_Microsoft_ClearScript_V8_V8Runtime.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_ScriptObject.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_FastProxy_IV8FastHostFunctionOperations.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_V8CpuProfile_Node.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_DocumentInfo__ctor.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_HostFunctions_isTypeObj.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_V8_V8CpuProfile_Sample.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_Extensions_ToHostType.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_ScriptMemberAttribute.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_V8_V8Settings.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_DocumentCategory.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_DynamicHostObject.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_IScriptEngine.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_IScriptObject.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_V8CpuProfile.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScriptV8/IV8Entity.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | #pragma once
5 |
6 | //-----------------------------------------------------------------------------
7 | // IV8Entity
8 | //-----------------------------------------------------------------------------
9 |
10 | struct IV8Entity
11 | {
12 | virtual StdString CreateStdString(v8::Local hValue) = 0;
13 | };
14 |
--------------------------------------------------------------------------------
/UWP/ClearScript.V8/Properties/ClearScript.V8.rd.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_ScriptEngine__ctor.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_V8CpuProfile_Sample.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_ScriptEngineException.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_ExtendedHostFunctions_lib.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_JavaScript_ITypedArray.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/UWP/ClearScriptTest/UnitTestApp.xaml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
13 |
14 |
--------------------------------------------------------------------------------
/docs/Reference/styles/branding-ko-KR.css:
--------------------------------------------------------------------------------
1 | /* Start KO-KR locale-specific CSS */
2 | body
3 | {
4 | font-family: Malgun Gothic, Segoe UI, Verdana, Arial;
5 | font-size: 0.75em; /*9pt*/
6 | }
7 | pre
8 | {
9 | font-family: Consolas, Courier, monospace, 돋움체;
10 | }
11 | span.tt
12 | {
13 | font-family: Consolas, Courier, monospace, 돋움체;
14 | }
15 | span.code
16 | {
17 | font-family: Consolas, Courier, monospace, 돋움체;
18 | }
19 | /* End locale-specific CSS */
20 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Fields_T_Microsoft_ClearScript_V8_V8CpuProfile_Node_HitLine.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_ScriptObject_GetProperty.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_V8RuntimeHeapInfo.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScript/Util/IHostContext.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | using System;
5 |
6 | namespace Microsoft.ClearScript.Util
7 | {
8 | internal interface IHostContext
9 | {
10 | CustomAttributeLoader CustomAttributeLoader { get; }
11 | ScriptEngine Engine { get; }
12 | Type AccessContext { get; }
13 | ScriptAccess DefaultAccess { get; }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_IScriptObject_GetProperty.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_ScriptObject_SetProperty.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_JavaScript_ModuleCategory.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_Windows_IHostWindow.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScript/Util/TypeTags.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | namespace Microsoft.ClearScript.Util
5 | {
6 | internal interface INothingTag
7 | {
8 | }
9 |
10 | internal interface IWindowsScriptEngineTag
11 | {
12 | }
13 |
14 | internal interface IVBScriptEngineTag
15 | {
16 | }
17 |
18 | internal interface IWindowsScriptItemTag
19 | {
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_IScriptObject_SetProperty.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_ScriptObject_DeleteProperty.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_JavaScript_IJavaScriptObject.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_FastProxy_V8FastArg.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_Extensions.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_IScriptObject_DeleteProperty.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_V8_FastProxy_V8FastHostObjectConfiguration_1.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_ExtendedHostFunctions.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_FastProxy_V8FastArgs.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/fti/FTI_48.json:
--------------------------------------------------------------------------------
1 | {"096":[78446593],"024":[78446593],"0d43fe01":[8060929,9895937,12976129,13369345,13762561,13893633,15073281,16318465,16908289,17104897,19202049,19857409,19922945,29884417,33161217,34471937,53477377,55246849],"00aa00bbbb58":[51052545,52625409,76611585,76873729,77463553,78249985],"00a0c9054228":[8060929,9895937,12976129,13369345,13762561,13893633,15073281,16318465,16908289,17104897,19202049,19857409,19922945,29884417,33161217,34471937,53477377,55246849],"048":[78446593]}
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_ScriptInterruptedException.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_V8_FastProxy_IV8FastEnumerator.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_V8_V8RuntimeDebuggerEventArgs.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_JavaScript_IArrayBuffer.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_V8CpuProfile_Node_HitLine.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScriptTest/JavaScript/StandardModule/Arithmetic/Arithmetic.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | export const Meta = import.meta;
5 |
6 | export function Add(a, b) {
7 | return a + b;
8 | }
9 |
10 | export function Subtract(a, b) {
11 | return a - b;
12 | }
13 |
14 | export function Multiply(a, b) {
15 | return a * b;
16 | }
17 |
18 | export function Divide(a, b) {
19 | return a / b;
20 | }
21 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_Windows_Core_ISyncInvoker_Invoke.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_Document.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_Document.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/_includes/head-custom.html:
--------------------------------------------------------------------------------
1 |
2 |
21 |
--------------------------------------------------------------------------------
/ClearScript/JavaScript/IDataView.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | namespace Microsoft.ClearScript.JavaScript
5 | {
6 | ///
7 | /// Represents a JavaScript
8 | /// DataView.
9 | ///
10 | public interface IDataView : IArrayBufferView
11 | {
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/ClearScript/Util/COM/TypeInfoHelpers.NetStandard.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | using System;
5 | using System.Runtime.InteropServices.ComTypes;
6 |
7 | namespace Microsoft.ClearScript.Util.COM
8 | {
9 | internal static partial class TypeInfoHelpers
10 | {
11 | public static Type GetManagedType(this ITypeInfo typeInfo)
12 | {
13 | return null;
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_JavaScript_ITypedArray_1.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_FastProxy_V8FastResult.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_HostFunctions_getProperty.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_ScriptEngine_AddHostObject.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_V8_V8Runtime_BeginCpuProfile.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_Windows_Core_NullSyncInvoker_Invoke.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/styles/branding-zh-CN.css:
--------------------------------------------------------------------------------
1 | /* Start ZH-CN locale-specific CSS */
2 | body
3 | {
4 | font-family: "Microsoft YaHei UI","Microsoft YaHei","SimSun","Segoe UI","Lucida Grande",Verdana,Arial,Helvetica,sans-serif
5 | }
6 | pre
7 | {
8 | font-family: Consolas, Courier, monospace!important;
9 | }
10 | span.tt
11 | {
12 | font-family: Consolas, Courier, monospace;
13 | }
14 | span.code
15 | {
16 | font-family: Consolas, Courier, monospace;
17 | }
18 | /* End locale-specific CSS */
19 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_IScriptEngine_AddHostObject.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_JavaScript_ITypedArray_1_Read.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_ScriptUsageAttribute__ctor.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_Windows_Core_NullSyncInvoker.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_Windows_IWindowsScriptObject.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/_posts/2022-1-9-welcome-to-the-blog.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Welcome to the ClearScript Blog!
3 | ---
4 | Sometimes release notes and API documentation aren't enough.
5 |
6 | We'd like to use this space for in-depth articles on ClearScript features, significant changes, and user-requested topics. Please feel free to suggest topics on the project's [Issues](https://github.com/ClearFoundry/ClearScript/issues) or [Discussions](https://github.com/ClearFoundry/ClearScript/discussions) pages.
7 |
8 | Thanks for visiting!
9 |
--------------------------------------------------------------------------------
/ClearScript/Util/IExpando.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | using System.Reflection;
5 |
6 | namespace System.Runtime.InteropServices.Expando
7 | {
8 | internal interface IExpando : IReflect
9 | {
10 | FieldInfo AddField(string name);
11 | PropertyInfo AddProperty(string name);
12 | MethodInfo AddMethod(string name, Delegate method);
13 | void RemoveMember(MemberInfo member);
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/ClearScriptTest/JavaScript/StandardModule/Arithmetic/Arithmetic.bogus.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | export const Meta = import.meta;
5 |
6 | export function BogusAdd(a, b) {
7 | return a + b;
8 | }
9 |
10 | export function BogusSubtract(a, b) {
11 | return a - b;
12 | }
13 |
14 | export function BogusMultiply(a, b) {
15 | return a * b;
16 | }
17 |
18 | export function BogusDivide(a, b) {
19 | return a / b;
20 | }
21 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_HostFunctions_setProperty.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_JavaScript_IArrayBufferView.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_V8_FastProxy_IV8FastAsyncEnumerator.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_HostFunctions_removeProperty.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_JavaScript_ITypedArray_1_Write.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_V8_V8ScriptEngine_BeginCpuProfile.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_JavaScript_IJavaScriptObject.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScriptTest/JavaScript/CommonJS/Arithmetic/Arithmetic.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | exports.Module = module;
5 | exports.Meta = module.meta;
6 |
7 | exports.Add = function (a, b) {
8 | return a + b;
9 | }
10 |
11 | exports.Subtract = function (a, b) {
12 | return a - b;
13 | }
14 |
15 | exports.Multiply = function (a, b) {
16 | return a * b;
17 | }
18 |
19 | exports.Divide = function (a, b) {
20 | return a / b;
21 | }
22 |
--------------------------------------------------------------------------------
/Misc/Linux/SetupNotes.txt:
--------------------------------------------------------------------------------
1 | Ubuntu 20.04
2 |
3 | sudo dpkg --add-architecture i386
4 | sudo apt update
5 | sudo apt install \
6 | g++-10-aarch64-linux-gnu \
7 | g++-10-arm-linux-gnueabihf \
8 | g++-10:i386 \
9 | libatomic1:i386 \
10 | libc6-dev:i386 \
11 | libc6:i386 \
12 | libstdc++6:i386 \
13 | python3.9
14 |
15 | Remove all default GCC pakages (GCC 9).
16 | Make /usr/bin/gcc a symbolic link to /usr/bin/gcc-10.
17 | Python 3.9 is incompatible with many scripts, so use update-alternatives.
18 |
--------------------------------------------------------------------------------
/ClearScriptTest/JavaScript/LegacyCommonJS/Arithmetic/Arithmetic.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | exports.Module = module;
5 | exports.Meta = module.meta;
6 |
7 | exports.Add = function (a, b) {
8 | return a + b;
9 | }
10 |
11 | exports.Subtract = function (a, b) {
12 | return a - b;
13 | }
14 |
15 | exports.Multiply = function (a, b) {
16 | return a * b;
17 | }
18 |
19 | exports.Divide = function (a, b) {
20 | return a / b;
21 | }
22 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_V8RuntimeDebuggerEventArgs.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScript/V8/FastProxy/IV8FastHostObject.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | namespace Microsoft.ClearScript.V8.FastProxy
5 | {
6 | ///
7 | /// Represents a fast host object.
8 | ///
9 | public interface IV8FastHostObject
10 | {
11 | ///
12 | /// Gets the object's operations interface.
13 | ///
14 | IV8FastHostObjectOperations Operations { get; }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_V8_FastProxy_V8FastHostFunction.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_FastProxy_V8FastHostFunction.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_DocumentCategory.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_JavaScript_IArrayBuffer_ReadBytes.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_StringDocument.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScriptTest/JavaScript/CommonJS/Arithmetic/Arithmetic.bogus.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | exports.Module = module;
5 | exports.Meta = module.meta;
6 |
7 | exports.BogusAdd = function (a, b) {
8 | return a + b;
9 | }
10 |
11 | exports.BogusSubtract = function (a, b) {
12 | return a - b;
13 | }
14 |
15 | exports.BogusMultiply = function (a, b) {
16 | return a * b;
17 | }
18 |
19 | exports.BogusDivide = function (a, b) {
20 | return a / b;
21 | }
22 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_DefaultScriptUsageAttribute__ctor.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_FastProxy_V8FastHostObject_1.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScriptTest/JavaScript/LegacyCommonJS/Arithmetic/Arithmetic.bogus.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | exports.Module = module;
5 | exports.Meta = module.meta;
6 |
7 | exports.BogusAdd = function (a, b) {
8 | return a + b;
9 | }
10 |
11 | exports.BogusSubtract = function (a, b) {
12 | return a - b;
13 | }
14 |
15 | exports.BogusMultiply = function (a, b) {
16 | return a * b;
17 | }
18 |
19 | exports.BogusDivide = function (a, b) {
20 | return a / b;
21 | }
22 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_DocumentInfo.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_FastProxy_V8FastHostMethod_1.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScript/V8/FastProxy/IV8FastHostMethod.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | namespace Microsoft.ClearScript.V8.FastProxy
5 | {
6 | ///
7 | /// Represents a fast host method.
8 | ///
9 | public interface IV8FastHostMethod : IV8FastHostObject
10 | {
11 | ///
12 | /// Gets the method's operations interface.
13 | ///
14 | new IV8FastHostMethodOperations Operations { get; }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_JavaScript_IArrayBufferView_ReadBytes.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_JavaScript_IArrayBuffer_WriteBytes.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScriptTest/JavaScript/StandardModuleWithCycles/Arithmetic/Arithmetic.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | import * as Geometry from '../Geometry/Geometry.js';
5 |
6 | export const Meta = import.meta;
7 |
8 | export function Add(a, b) {
9 | return a + b;
10 | }
11 |
12 | export function Subtract(a, b) {
13 | return a - b;
14 | }
15 |
16 | export function Multiply(a, b) {
17 | return a * b;
18 | }
19 |
20 | export function Divide(a, b) {
21 | return a / b;
22 | }
23 |
--------------------------------------------------------------------------------
/NuGet/files/Microsoft.ClearScript.V8.Native.win-x64/tools/Install.ps1:
--------------------------------------------------------------------------------
1 | param($installPath, $toolsPath, $package, $project)
2 |
3 | if ($project.Type -eq "Web Site")
4 | {
5 | $projectPath = $project.Properties.Item("FullPath").Value
6 |
7 | $binPath = Join-Path $projectPath "bin"
8 | if (!(Test-Path $binPath))
9 | {
10 | New-Item -ItemType Directory -Force -Path $binPath
11 | }
12 |
13 | $filePath = Join-Path $installPath "runtimes\win-x64\native\ClearScriptV8.win-x64.dll"
14 | Copy-Item $filePath $binPath -Force
15 | }
16 |
--------------------------------------------------------------------------------
/NuGet/files/Microsoft.ClearScript.V8.Native.win-x86/tools/Install.ps1:
--------------------------------------------------------------------------------
1 | param($installPath, $toolsPath, $package, $project)
2 |
3 | if ($project.Type -eq "Web Site")
4 | {
5 | $projectPath = $project.Properties.Item("FullPath").Value
6 |
7 | $binPath = Join-Path $projectPath "bin"
8 | if (!(Test-Path $binPath))
9 | {
10 | New-Item -ItemType Directory -Force -Path $binPath
11 | }
12 |
13 | $filePath = Join-Path $installPath "runtimes\win-x86\native\ClearScriptV8.win-x86.dll"
14 | Copy-Item $filePath $binPath -Force
15 | }
16 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_DocumentLoader.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | Thumbs.db
2 | *.obj
3 | *.exe
4 | *.pdb
5 | *.user
6 | *.aps
7 | *.pch
8 | *.psess
9 | *.vsp
10 | *.vspscc
11 | *_i.c
12 | *_p.c
13 | *.ncb
14 | *.suo
15 | *.sln.docstates
16 | *.tlb
17 | *.tlh
18 | *.bak
19 | *.cache
20 | *.ilk
21 | *.log
22 | *.snk
23 | [Bb]in
24 | [Dd]ebug*/
25 | *.sbr
26 | obj/
27 | [Rr]elease*/
28 | _ReSharper*/
29 | [Tt]est[Rr]esult*
30 | *.sdf
31 | *.opendb
32 | *.opensdf
33 | *.shfbproj_*
34 | *.VC.db
35 | V8/build/
36 | V8/DepotTools.zip
37 | V8/icudtl.dat
38 | .vs/
39 | packages/
40 | NuGet/Private/
41 | [Bb]undle[Aa]rtifacts/
42 |
--------------------------------------------------------------------------------
/ClearScript/ContinuationCallback.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | namespace Microsoft.ClearScript
5 | {
6 | ///
7 | /// Represents a method that specifies to a script engine whether script execution should continue.
8 | ///
9 | /// True to continue script execution, false to interrupt it.
10 | ///
11 | public delegate bool ContinuationCallback();
12 | }
13 |
--------------------------------------------------------------------------------
/ClearScript/V8/FastProxy/IV8FastHostFunction.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | namespace Microsoft.ClearScript.V8.FastProxy
5 | {
6 | ///
7 | /// Represents a fast host function.
8 | ///
9 | public interface IV8FastHostFunction : IV8FastHostObject
10 | {
11 | ///
12 | /// Gets the function's operations interface.
13 | ///
14 | new IV8FastHostFunctionOperations Operations { get; }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/NuGet/files/Microsoft.ClearScript.V8.Native.win-arm64/tools/Install.ps1:
--------------------------------------------------------------------------------
1 | param($installPath, $toolsPath, $package, $project)
2 |
3 | if ($project.Type -eq "Web Site")
4 | {
5 | $projectPath = $project.Properties.Item("FullPath").Value
6 |
7 | $binPath = Join-Path $projectPath "bin"
8 | if (!(Test-Path $binPath))
9 | {
10 | New-Item -ItemType Directory -Force -Path $binPath
11 | }
12 |
13 | $filePath = Join-Path $installPath "runtimes\win-arm64\native\ClearScriptV8.win-arm64.dll"
14 | Copy-Item $filePath $binPath -Force
15 | }
16 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_ScriptEngine.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_JavaScript_IArrayBufferView_WriteBytes.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_ExtendedHostFunctions_type.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_DocumentSettings.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScript/Util/SpecialMemberNames.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | namespace Microsoft.ClearScript.Util
5 | {
6 | internal static class SpecialMemberNames
7 | {
8 | public static readonly string Default = MiscHelpers.GetDispIDName(SpecialDispIDs.Default);
9 | public static readonly string NewEnum = MiscHelpers.GetDispIDName(SpecialDispIDs.NewEnum);
10 | public static readonly string NewAsyncEnum = MiscHelpers.GetDispIDName(SpecialDispIDs.NewAsyncEnum);
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_HostTypeCollection_AddType.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_ScriptEngine_AddRestrictedHostObject.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_V8_FastProxy_V8FastResult.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_IScriptEngine_AddRestrictedHostObject.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScriptConsole/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 |
5 |
6 | using System.Reflection;
7 | using System.Runtime.InteropServices;
8 |
9 | [assembly: AssemblyTitle("ClearScript Test Console")]
10 | [assembly: AssemblyProduct("ClearScript")]
11 | [assembly: AssemblyCopyright("(c) Microsoft Corporation")]
12 |
13 | [assembly: ComVisible(false)]
14 | [assembly: AssemblyVersion("7.5.1")]
15 | [assembly: AssemblyFileVersion("7.5.1")]
16 | [assembly: AssemblyInformationalVersion("7.5.1-preview")]
17 |
--------------------------------------------------------------------------------
/ClearScriptTest/JavaScript/CommonJSWithCycles/Arithmetic/Arithmetic.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | let Geometry = require("../Geometry/Geometry");
5 |
6 | exports.Module = module;
7 | exports.Meta = module.meta;
8 |
9 | exports.Add = function (a, b) {
10 | return a + b;
11 | }
12 |
13 | exports.Subtract = function (a, b) {
14 | return a - b;
15 | }
16 |
17 | exports.Multiply = function (a, b) {
18 | return a * b;
19 | }
20 |
21 | exports.Divide = function (a, b) {
22 | return a / b;
23 | }
24 |
--------------------------------------------------------------------------------
/ClearScriptTest/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 |
5 |
6 | using System.Reflection;
7 | using System.Runtime.InteropServices;
8 |
9 | [assembly: AssemblyTitle("ClearScript Test Library")]
10 | [assembly: AssemblyProduct("ClearScript")]
11 | [assembly: AssemblyCopyright("(c) Microsoft Corporation")]
12 |
13 | [assembly: ComVisible(false)]
14 | [assembly: AssemblyVersion("7.5.1")]
15 | [assembly: AssemblyFileVersion("7.5.1")]
16 | [assembly: AssemblyInformationalVersion("7.5.1-preview")]
17 |
--------------------------------------------------------------------------------
/Misc/asyncBenchNode.js:
--------------------------------------------------------------------------------
1 | console.time('time');
2 |
3 | const N = 5 * 1000 * 1000;
4 | const primes = [2];
5 |
6 | async function is_prime(x) {
7 | for (let i = 0; primes[i] * primes[i] <= x; ++i) {
8 | if (x % primes[i] === 0) {
9 | return false;
10 | }
11 | }
12 | return true;
13 | }
14 |
15 | (async function() {
16 | for (let x = 3; primes.length < N; ++x) {
17 | if (await is_prime(x)) {
18 | primes.push(x);
19 | }
20 | }
21 | console.log(primes[primes.length - 1]);
22 | console.timeEnd('time');
23 | })();
24 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_JavaScript_IArrayBufferView.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_PropertyBag.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScriptTest/JavaScript/LegacyCommonJSWithCycles/Arithmetic/Arithmetic.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | var Geometry = require("../Geometry/Geometry");
5 |
6 | exports.Module = module;
7 | exports.Meta = module.meta;
8 |
9 | exports.Add = function (a, b) {
10 | return a + b;
11 | }
12 |
13 | exports.Subtract = function (a, b) {
14 | return a - b;
15 | }
16 |
17 | exports.Multiply = function (a, b) {
18 | return a * b;
19 | }
20 |
21 | exports.Divide = function (a, b) {
22 | return a / b;
23 | }
24 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_V8_FastProxy_IV8FastHostDynamicProperties.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_V8_FastProxy_V8FastHostDynamicObject_1.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScript/HostItem.NetFramework.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | namespace Microsoft.ClearScript
5 | {
6 | internal partial class HostItem
7 | {
8 | #region initialization
9 |
10 | private static HostItem Create(ScriptEngine engine, HostTarget target, HostItemFlags flags)
11 | {
12 | return TargetSupportsExpandoMembers(target, flags) ? new ExpandoHostItem(engine, target, flags) : new HostItem(engine, target, flags);
13 | }
14 |
15 | #endregion
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_Windows_Core_ISyncInvoker.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_V8_FastProxy_V8FastHostDynamicObject_1_HasDynamicProperty.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_ImmutableValueAttribute.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_NoScriptAccessAttribute.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_FastProxy_IV8FastHostDynamicProperties.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_V8ScriptEngine.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScriptBenchmarks/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 |
5 |
6 | using System.Reflection;
7 | using System.Runtime.InteropServices;
8 |
9 | [assembly: AssemblyTitle("ClearScript Benchmark Application")]
10 | [assembly: AssemblyProduct("ClearScript")]
11 | [assembly: AssemblyCopyright("(c) Microsoft Corporation")]
12 |
13 | [assembly: ComVisible(false)]
14 | [assembly: AssemblyVersion("7.5.1")]
15 | [assembly: AssemblyFileVersion("7.5.1")]
16 | [assembly: AssemblyInformationalVersion("7.5.1-preview")]
17 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_JavaScript_ITypedArray_1.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_HostTypeCollection.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_V8RuntimeConstraints.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScript/Util/Holder.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | namespace Microsoft.ClearScript.Util
5 | {
6 | internal interface IHolder
7 | {
8 | object Value { get; set; }
9 | }
10 |
11 | internal sealed class Holder : IHolder
12 | {
13 | public T Value { get; set; }
14 |
15 | #region IHolder implementation
16 |
17 | object IHolder.Value
18 | {
19 | get => Value;
20 | set => Value = (T)value;
21 | }
22 |
23 | #endregion
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/ClearScript/V8/V8ArrayBufferOrViewKind.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | namespace Microsoft.ClearScript.V8
5 | {
6 | internal enum V8ArrayBufferOrViewKind
7 | {
8 | None,
9 | ArrayBuffer,
10 | DataView,
11 | Uint8Array,
12 | Uint8ClampedArray,
13 | Int8Array,
14 | Uint16Array,
15 | Int16Array,
16 | Uint32Array,
17 | Int32Array,
18 | BigUint64Array,
19 | BigInt64Array,
20 | Float32Array,
21 | Float64Array
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_V8_FastProxy_IV8FastHostDynamicProperties_HasDynamicProperty.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_V8_FastProxy_IV8FastHostObjectOperations_QueryProperty.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_Windows_JScriptEngine.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Methods_T_Microsoft_ClearScript_Windows_Core_NullSyncInvoker.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_V8_FastProxy_IV8FastHostObjectOperations_DeleteProperty.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_V8_FastProxy_IV8FastHostObjectOperations_SetProperty.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_CustomAttributeLoader.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_DefaultDocumentLoader.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_ScriptUsageAttribute.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_V8_FastProxy_V8FastHostDynamicObject_1_DeleteDynamicProperty.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_V8_FastProxy_V8FastHostDynamicObject_1_SetDynamicProperty.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_Windows_VBScriptEngine.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_Windows_WindowsScriptEngine.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScript/V8/SplitProxy/V8SplitProxyNative.UWP.tt:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | <#@ template debug="false" hostspecific="false" language="C#" #>
5 | <#@ output extension=".Generated.cs" #>
6 |
7 | <#@ assembly name="System.Core" #>
8 | <#@ import namespace="System.Linq" #>
9 |
10 | <#
11 | (string, string, string)[] platforms = new[]
12 | {
13 | ("Windows", "X86", "win-x86.dll"),
14 | ("Windows", "X64", "win-x64.dll"),
15 | ("Windows", "Arm64", "win-arm64.dll")
16 | };
17 | #>
18 |
19 | <#@ include file="V8SplitProxyNative.Common.tt" #>
20 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_V8_FastProxy_V8FastHostDynamicObject_1_GetDynamicProperty.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_ScriptMemberAttribute.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScriptV8/RefCount.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | #pragma once
5 |
6 | //-----------------------------------------------------------------------------
7 | // RefCount
8 | //-----------------------------------------------------------------------------
9 |
10 | class RefCount final
11 | {
12 | PROHIBIT_COPY(RefCount)
13 |
14 | public:
15 |
16 | explicit RefCount(size_t count);
17 |
18 | size_t Increment();
19 | size_t Decrement();
20 |
21 | ~RefCount();
22 |
23 | private:
24 |
25 | class Impl;
26 | Impl* m_pImpl;
27 | };
28 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_V8_FastProxy_IV8FastHostDynamicProperties_DeleteDynamicProperty.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_V8_FastProxy_IV8FastHostDynamicProperties_SetDynamicProperty.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_V8_FastProxy_IV8FastHostObjectOperations_GetProperty.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_StringDocument.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScript/Util/SpecialDispIDs.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | namespace Microsoft.ClearScript.Util
5 | {
6 | internal static class SpecialDispIDs
7 | {
8 | public const int Default = 0;
9 | public const int Unknown = -1;
10 | public const int StartEnum = Unknown;
11 | public const int PropertyPut = -3;
12 | public const int NewEnum = -4;
13 | public const int This = -613;
14 | public const int GetEnumerator = -1024 * 96;
15 | public const int NewAsyncEnum = -1024 * 256;
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/Misc/asyncBench.js:
--------------------------------------------------------------------------------
1 | let sw = System.Diagnostics.Stopwatch.StartNew();
2 |
3 | const N = 5 * 1000 * 1000;
4 | const primes = [2];
5 |
6 | async function is_prime(x) {
7 | for (let i = 0; primes[i] * primes[i] <= x; ++i) {
8 | if (x % primes[i] === 0) {
9 | return false;
10 | }
11 | }
12 | return true;
13 | }
14 |
15 | (async function() {
16 | for (let x = 3; primes.length < N; ++x) {
17 | if (await is_prime(x)) {
18 | primes.push(x);
19 | }
20 | }
21 | System.Console.WriteLine(primes[primes.length - 1]);
22 | System.Console.WriteLine(sw.Elapsed);
23 | })();
24 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_V8_FastProxy_IV8FastHostDynamicProperties_GetDynamicProperty.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_FastProxy_V8FastHostFunctionOperations_1.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_FastProxy_V8FastHostObjectOperations_1.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_Windows_Core_JScriptEngine.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScript/Windows/IWindowsScriptObject.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | namespace Microsoft.ClearScript.Windows
5 | {
6 | ///
7 | /// Represents a Windows Script object.
8 | ///
9 | public interface IWindowsScriptObject : IScriptObject
10 | {
11 | ///
12 | /// Provides access to the underlying unmanaged COM object.
13 | ///
14 | /// An object that represents the underlying unmanaged COM object.
15 | object GetUnderlyingObject();
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_FastProxy_V8FastHostMethodOperations_2.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_Windows_Core_VBScriptEngine.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScript/DocumentContextCallback.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | using System.Collections.Generic;
5 |
6 | namespace Microsoft.ClearScript
7 | {
8 | ///
9 | /// Represents a method that retrieves context information for a document.
10 | ///
11 | /// A structure containing meta-information for the document.
12 | /// A property collection containing context information for the document.
13 | public delegate IDictionary DocumentContextCallback(DocumentInfo info);
14 | }
15 |
--------------------------------------------------------------------------------
/ClearScript/DocumentLoadCallback.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | namespace Microsoft.ClearScript
5 | {
6 | ///
7 | /// Represents a method to be called when a document is loaded.
8 | ///
9 | /// A structure containing meta-information for the document.
10 | ///
11 | /// The callback can modify the document meta-information by specifying or overriding any of
12 | /// its mutable properties.
13 | ///
14 | public delegate void DocumentLoadCallback(ref DocumentInfo info);
15 | }
16 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_ScriptObject.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScriptV8/HostObjectHolder.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | #pragma once
5 |
6 | //-----------------------------------------------------------------------------
7 | // HostObjectHolder
8 | //-----------------------------------------------------------------------------
9 |
10 | class HostObjectHolder
11 | {
12 | public:
13 |
14 | virtual HostObjectHolder* Clone() const = 0;
15 |
16 | virtual void* GetObject() const = 0;
17 | virtual uint8_t GetSubtype() const = 0;
18 | virtual uint16_t GetFlags() const = 0;
19 |
20 | virtual ~HostObjectHolder() {}
21 | };
22 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_IScriptObject.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScript/Util/ObjectHelpers.UWP.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | using System;
5 |
6 | namespace Microsoft.ClearScript.Util
7 | {
8 | internal static partial class ObjectHelpers
9 | {
10 | // ReSharper disable UnusedParameter.Local
11 |
12 | private static bool GetPrimaryInteropAssembly(Guid libid, int major, int minor, out string name, out string codeBase)
13 | {
14 | name = null;
15 | codeBase = null;
16 | return false;
17 | }
18 |
19 | // ReSharper restore UnusedParameter.Local
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_ScriptEngine_ExecuteDocument.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_NoDefaultScriptAccessAttribute.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_IScriptEngine_ExecuteDocument.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_ScriptEngine_EvaluateDocument.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_V8_V8Runtime.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_Windows_Core_WindowsScriptEngine.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_HostFunctions_newObj.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_IScriptEngine_EvaluateDocument.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_ScriptEngine_Execute.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_V8_FastProxy_V8FastHostObjectOperations_1__ctor.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Properties_T_Microsoft_ClearScript_V8_FastProxy_V8FastArg.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_PropertyBag.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_DefaultScriptUsageAttribute.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_IScriptEngine_Execute.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_ScriptEngine_Evaluate.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScript/Exports/VersionSymbols.tt:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | <#@ template debug="false" hostspecific="false" language="C#" #>
5 | <#@ output extension=".h" #>
6 | <#@ include file="..\..\Version.tt" #>
7 |
8 | #pragma once
9 |
10 | #define CLEARSCRIPT_VERSION_STRING "<#= version.ToString(3) #>"
11 | #define CLEARSCRIPT_VERSION_COMMA_SEPARATED <#= version.Major #>,<#= version.Minor #>,<#= version.Build #>
12 | #define CLEARSCRIPT_VERSION_STRING_INFORMATIONAL "<#= version.ToString(3) + versionSuffix #>"
13 | #define CLEARSCRIPT_FILE_FLAGS <#= string.IsNullOrEmpty(versionSuffix) ? "0L" : "VS_FF_PRERELEASE" #>
14 |
--------------------------------------------------------------------------------
/ClearScript/Properties/AssemblyInfo.V8.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 |
5 |
6 |
7 |
8 | using System.Reflection;
9 | using System.Runtime.CompilerServices;
10 | using System.Runtime.InteropServices;
11 |
12 | [assembly: AssemblyTitle("ClearScript V8 Library")]
13 | [assembly: AssemblyProduct("ClearScript")]
14 | [assembly: AssemblyCopyright("(c) Microsoft Corporation")]
15 | [assembly: InternalsVisibleTo("ClearScriptTest")]
16 |
17 | [assembly: ComVisible(false)]
18 | [assembly: AssemblyVersion("7.5.1")]
19 | [assembly: AssemblyFileVersion("7.5.1")]
20 | [assembly: AssemblyInformationalVersion("7.5.1-preview")]
21 |
--------------------------------------------------------------------------------
/ClearScriptV8/V8GlobalFlags.h:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | #pragma once
5 |
6 | //-----------------------------------------------------------------------------
7 | // V8GlobalFlags
8 | //-----------------------------------------------------------------------------
9 |
10 | enum class V8GlobalFlags : uint32_t
11 | {
12 | // IMPORTANT: maintain bitwise equivalence with managed enum V8.V8GlobalFlags
13 | None = 0,
14 | EnableTopLevelAwait = 0x00000001,
15 | DisableJITCompilation = 0x00000002,
16 | DisableBackgroundWork = 0x00000004,
17 | DisableExplicitResourceManagement = 0x00000008
18 | };
19 |
--------------------------------------------------------------------------------
/V8/BuildPatch.txt:
--------------------------------------------------------------------------------
1 | diff --git a/config/posix/BUILD.gn b/config/posix/BUILD.gn
2 | index 9638527df..330e16690 100644
3 | --- a/config/posix/BUILD.gn
4 | +++ b/config/posix/BUILD.gn
5 | @@ -27,7 +27,7 @@ config("runtime_library") {
6 |
7 | if (!is_apple && sysroot != "" && current_os != "zos") {
8 | # Pass the sysroot to all C compiler variants, the assembler, and linker.
9 | - sysroot_flags = [ "--sysroot=" + rebase_path(sysroot, root_build_dir) ]
10 | + sysroot_flags = []
11 | if (is_linux || is_chromeos) {
12 | # This is here so that all files get recompiled after a sysroot roll and
13 | # when turning the sysroot on or off. (defines are passed via the command
14 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_IScriptEngine_Evaluate.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/fti/FTI_49.json:
--------------------------------------------------------------------------------
1 | {"192":[78446593],"12":[9961473],"123":[9895937,11141121],"128":[76480513,78446594,80543745],"11cf":[8060929,9895937,12976129,13369345,13762561,13893633,15073281,16318465,16908289,17104897,19202049,19857409,19922945,29884417,33161217,34471937,51052545,52625409,53477377,55246849,76611585,76873729,77463553,78249985],"1024":[59637761,59768833,63045633],"100":[10616833],"1048576":[69926913,70647809,71630849,72417281],"16777216":[69926913,70647809,71630849,72417281],"16":[14155777,14286849,26869761,27000833,28442625,28770305,30081025,32440321,33226753,33751041,34865153,35586049,69468161,69926914,70647810,71630850,72417282,76480513,78446594,80543745,80936961],"1000":[63897601,71565313]}
--------------------------------------------------------------------------------
/ClearScript/Properties/AssemblyInfo.Windows.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 |
5 |
6 |
7 |
8 | using System.Reflection;
9 | using System.Runtime.CompilerServices;
10 | using System.Runtime.InteropServices;
11 |
12 | [assembly: AssemblyTitle("ClearScript Windows Library")]
13 | [assembly: AssemblyProduct("ClearScript")]
14 | [assembly: AssemblyCopyright("(c) Microsoft Corporation")]
15 | [assembly: InternalsVisibleTo("ClearScriptTest")]
16 |
17 | [assembly: ComVisible(false)]
18 | [assembly: AssemblyVersion("7.5.1")]
19 | [assembly: AssemblyFileVersion("7.5.1")]
20 | [assembly: AssemblyInformationalVersion("7.5.1-preview")]
21 |
--------------------------------------------------------------------------------
/ClearScript/Properties/AssemblyInfo.V8.ICUData.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 |
5 |
6 |
7 |
8 | using System.Reflection;
9 | using System.Runtime.CompilerServices;
10 | using System.Runtime.InteropServices;
11 |
12 | [assembly: AssemblyTitle("ClearScript V8 ICU Data Library")]
13 | [assembly: AssemblyProduct("ClearScript")]
14 | [assembly: AssemblyCopyright("(c) Microsoft Corporation")]
15 | [assembly: InternalsVisibleTo("ClearScript.V8")]
16 |
17 | [assembly: ComVisible(false)]
18 | [assembly: AssemblyVersion("7.5.1")]
19 | [assembly: AssemblyFileVersion("7.5.1")]
20 | [assembly: AssemblyInformationalVersion("7.5.1-preview")]
21 |
--------------------------------------------------------------------------------
/docs/Reference/toc/Overload_Microsoft_ClearScript_PropertyBag__ctor.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/Reference/toc/T_Microsoft_ClearScript_HostTypeCollection.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ClearScriptTest/JavaScript/StandardModuleWithCycles/Arithmetic/ArithmeticWithDynamicImport.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT license.
3 |
4 | let Geometry;
5 | (async function() {
6 | // ReSharper disable once UseOfImplicitGlobalInFunctionScope
7 | Geometry = await import('../Geometry/GeometryWithDynamicImport.js');
8 | })();
9 |
10 | export const Meta = import.meta;
11 |
12 | export function Add(a, b) {
13 | return a + b;
14 | }
15 |
16 | export function Subtract(a, b) {
17 | return a - b;
18 | }
19 |
20 | export function Multiply(a, b) {
21 | return a * b;
22 | }
23 |
24 | export function Divide(a, b) {
25 | return a / b;
26 | }
27 |
--------------------------------------------------------------------------------