C# Class Skybound.Gecko.AutoJSContext

Creates a scoped, fake "system principal" security context. This class is used primarly to work around bugs in gecko which prevent methods on nsIDOMCSSStyleSheet from working outside of javascript.
Inheritance: IDisposable
Afficher le fichier Open project: tophatmonocle/DirtyGecko Class Usage Examples

Méthodes publiques

Méthode Description
AutoJSContext ( ) : System
Dispose ( ) : void

Private Methods

Méthode Description
JS_BeginRequest ( IntPtr cx ) : IntPtr
JS_CompileScriptForPrincipals ( IntPtr aJSContext, IntPtr aJSObject, IntPtr aJSPrincipals, string bytes, int length, string filename, int lineNumber ) : IntPtr
JS_DestroyContextNoGC ( IntPtr cx ) : void
JS_EndRequest ( IntPtr cx ) : IntPtr
JS_GetGlobalObject ( IntPtr aJSContext ) : IntPtr
JS_NewContext ( IntPtr aJSRuntime, int stackchunksize ) : IntPtr

Method Details

AutoJSContext() public méthode

public AutoJSContext ( ) : System
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void