Search completed in 1.16 seconds.
JSObjectPrincipalsFinder
sure that watchpoint handlers are invoked only when the watcher is permitted to watch the currently executing script. Another example: when the Function constructor is called, the JavaScript engine calls the object principals finder callback to obtain principals for the local scope object, to check that the caller has access to that object. The two debugger functions JS_StackFramePrincipals and
JS_EvalFramePrincipals also use this callback. Since it is very common for JSObjectOps.checkAccess or JSClass.checkAccess hooks to call these functions, the object principals finder callback is a key security feature. The callback returns a pointer to the principals associated with obj, possibly via the immutable parent chain leading from obj to a top-level container (such as a window object in the DOM). If there are ...
JSDBGAPI
Interrupt Watchpoints JS_SetWatchPoint JS_ClearWatchPoint JS_ClearWatchPointsForObject JS_ClearAllWatchPoints Inspecting the stack JS_PCToLineNumber JS_LineNumberToPC JS_GetFunctionScript JS_GetFunctionNative JS_GetFunctionFastNative JS_GetScriptPrincipals typedef JSStackFrame JS_FrameIterator JS_GetFrameScript JS_GetFramePC JS_GetScriptedCaller JS_StackFramePrincipals
JS_EvalFramePrincipals JS_GetFrameAnnotation JS_SetFrameAnnotation JS_GetFramePrincipalArray JS_IsNativeFrame JS_GetFrameObject JS_GetFrameScopeChain JS_GetFrameCallObject JS_GetFrameThis JS_GetFrameFunction JS_GetFrameFunctionObject JS_IsConstructorFrame JS_IsDebuggerFrame JS_GetFrameReturnValue JS_SetFrameReturnValue JS_GetFrameCalleeObject JS_GetScriptFilename JS_GetScriptBaseLineNumber JS_Get...