/macosx-10.10/JavaScriptCore-7600.1.17/bindings/ |
H A D | ScriptObject.cpp | 41 ScriptObject::ScriptObject(ExecState* scriptState, JSObject* object) argument 42 : ScriptValue(scriptState->vm(), object) 43 , m_scriptState(scriptState) 47 ScriptObject::ScriptObject(ExecState* scriptState, const ScriptValue& scriptValue) argument 48 : ScriptValue(scriptState->vm(), scriptValue.jsValue()) 49 , m_scriptState(scriptState)
|
H A D | ScriptValue.cpp | 47 bool ScriptValue::getString(ExecState* scriptState, String& result) const argument 51 JSLockHolder lock(scriptState); 52 if (!m_value.get().getString(scriptState, result)) 57 String ScriptValue::toString(ExecState* scriptState) const 59 String result = m_value.get().toString(scriptState)->value(scriptState); 61 if (scriptState->hadException()) 62 scriptState->clearException(); 66 bool ScriptValue::isEqual(ExecState* scriptState, const ScriptValue& anotherValue) const argument 70 return JSValueIsEqual(toRef(scriptState), toRe 101 jsToInspectorValue(ExecState* scriptState, JSValue value, int maxDepth) argument [all...] |
H A D | ScriptObject.h | 47 JSC::ExecState* scriptState() const { return m_scriptState; } function in class:Deprecated::ScriptObject
|
H A D | ScriptFunctionCall.cpp | 46 if (argument.scriptState() != m_exec) { 111 : ScriptCallArgumentHandler(thisObject.scriptState())
|
/macosx-10.10/WebCore-7600.1.25/bindings/js/ |
H A D | ScriptGlobalObject.cpp | 47 static bool handleException(JSC::ExecState* scriptState) argument 49 if (!scriptState->hadException()) 52 reportException(scriptState, scriptState->exception()); 56 bool ScriptGlobalObject::set(JSC::ExecState* scriptState, const char* name, const Deprecated::ScriptObject& value) argument 58 JSLockHolder lock(scriptState); 59 scriptState->lexicalGlobalObject()->putDirect(scriptState->vm(), Identifier(scriptState, name), value.jsObject()); 60 return handleException(scriptState); 64 set(JSC::ExecState* scriptState, const char* name, InspectorFrontendHost* value) argument 73 get(JSC::ExecState* scriptState, const char* name, Deprecated::ScriptObject& value) argument 87 remove(JSC::ExecState* scriptState, const char* name) argument [all...] |
H A D | ScriptState.cpp | 50 DOMWindow* domWindowFromExecState(JSC::ExecState* scriptState) argument 52 JSC::JSGlobalObject* globalObject = scriptState->lexicalGlobalObject(); 58 Frame* frameFromExecState(JSC::ExecState* scriptState) argument 60 ScriptExecutionContext* context = scriptExecutionContextFromExecState(scriptState); 65 ScriptExecutionContext* scriptExecutionContextFromExecState(JSC::ExecState* scriptState) argument 67 JSC::JSGlobalObject* globalObject = scriptState->lexicalGlobalObject();
|
H A D | JSNodeCustom.cpp | 263 JSC::ExecState* scriptState = mainWorldExecState(root->document().frame()); local 264 if (!scriptState) 267 JSLockHolder lock(scriptState); 268 toJS(scriptState, static_cast<JSDOMGlobalObject*>(scriptState->lexicalGlobalObject()), root);
|
/macosx-10.10/WebCore-7600.1.25/inspector/ |
H A D | WebInjectedScriptManager.cpp | 64 JSC::ExecState* scriptState = it.value.scriptState(); local 65 if (window != domWindowFromExecState(scriptState)) 67 m_scriptStateToId.remove(scriptState); 77 JSC::ExecState* scriptState = it.key; local 78 if (window == domWindowFromExecState(scriptState)) 79 scriptStatesToRemove.append(scriptState);
|
H A D | PageRuntimeAgent.cpp | 110 JSC::ExecState* scriptState = mainWorldExecState(frame); local 111 notifyContextCreated(frameId, scriptState, nullptr, true); 114 void PageRuntimeAgent::didCreateIsolatedContext(Frame* frame, JSC::ExecState* scriptState, SecurityOrigin* origin) argument 121 notifyContextCreated(frameId, scriptState, origin, false); 132 JSC::ExecState* scriptState = mainWorldExecState(&m_inspectedPage->mainFrame()); local 133 InjectedScript result = injectedScriptManager()->injectedScriptFor(scriptState); 163 JSC::ExecState* scriptState = mainWorldExecState(frame); local 164 notifyContextCreated(frameId, scriptState, nullptr, true); 174 void PageRuntimeAgent::notifyContextCreated(const String& frameId, JSC::ExecState* scriptState, SecurityOrigin* securityOrigin, bool isPageContext) argument 177 int executionContextId = injectedScriptManager()->injectedScriptIdFor(scriptState); [all...] |
H A D | WorkerRuntimeAgent.cpp | 74 JSC::ExecState* scriptState = execStateFromWorkerGlobalScope(m_workerGlobalScope); local 75 return injectedScriptManager()->injectedScriptFor(scriptState);
|
H A D | WorkerInspectorController.cpp | 164 void WorkerInspectorController::willCallInjectedScriptFunction(JSC::ExecState* scriptState, const String& scriptName, int scriptLine) argument 166 ScriptExecutionContext* scriptExecutionContext = scriptExecutionContextFromExecState(scriptState); 171 void WorkerInspectorController::didCallInjectedScriptFunction(JSC::ExecState* scriptState) argument 174 ScriptExecutionContext* scriptExecutionContext = scriptExecutionContextFromExecState(scriptState);
|
H A D | InspectorController.cpp | 410 bool InspectorController::canAccessInspectedScriptState(JSC::ExecState* scriptState) const 412 JSLockHolder lock(scriptState); 413 JSDOMWindow* inspectedWindow = toJSDOMWindow(scriptState->lexicalGlobalObject()); 417 return BindingSecurity::shouldAllowAccessToDOMWindow(scriptState, inspectedWindow->impl(), DoNotReportSecurityError); 430 void InspectorController::willCallInjectedScriptFunction(JSC::ExecState* scriptState, const String& scriptName, int scriptLine) argument 432 ScriptExecutionContext* scriptExecutionContext = scriptExecutionContextFromExecState(scriptState); 437 void InspectorController::didCallInjectedScriptFunction(JSC::ExecState* scriptState) argument 440 ScriptExecutionContext* scriptExecutionContext = scriptExecutionContextFromExecState(scriptState);
|
H A D | PageDebuggerAgent.cpp | 127 JSC::ExecState* scriptState = mainWorldExecState(m_pageAgent->mainFrame()); local 128 return injectedScriptManager()->injectedScriptFor(scriptState);
|
H A D | WorkerDebuggerAgent.cpp | 147 JSC::ExecState* scriptState = execStateFromWorkerGlobalScope(m_inspectedWorkerGlobalScope); local 148 return injectedScriptManager()->injectedScriptFor(scriptState);
|
H A D | WebConsoleAgent.cpp | 61 JSC::ExecState* exec = m_consoleMessages[i]->scriptState();
|
H A D | InspectorDOMAgent.cpp | 1003 JSC::ExecState* scriptState = mainWorldExecState(frame); 1004 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptFor(scriptState); 1008 injectedScript.inspectObject(InspectorDOMAgent::nodeAsScriptValue(scriptState, node.get())); 1997 JSC::ExecState* scriptState = mainWorldExecState(frame); 1998 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptFor(scriptState); 2002 return injectedScript.wrapObject(InspectorDOMAgent::nodeAsScriptValue(scriptState, node), objectGroup);
|
/macosx-10.10/JavaScriptCore-7600.1.17/inspector/ |
H A D | InjectedScriptBase.cpp | 70 return m_environment && m_environment->canAccessInspectedScriptState(m_injectedScriptObject.scriptState()); 81 m_environment->willCallInjectedScriptFunction(m_injectedScriptObject.scriptState(), name(), 1); 83 JSC::ExecState* scriptState = m_injectedScriptObject.scriptState(); local 85 if (scriptState) { 86 evalIsDisabled = !scriptState->lexicalGlobalObject()->evalEnabled(); 89 scriptState->lexicalGlobalObject()->setEvalEnabled(true); 95 scriptState->lexicalGlobalObject()->setEvalEnabled(false); 98 m_environment->didCallInjectedScriptFunction(m_injectedScriptObject.scriptState()); 115 *result = resultValue.toInspectorValue(m_injectedScriptObject.scriptState()); [all...] |
H A D | InjectedScriptModule.cpp | 53 void InjectedScriptModule::ensureInjected(InjectedScriptManager* injectedScriptManager, JSC::ExecState* scriptState) argument 55 InjectedScript injectedScript = injectedScriptManager->injectedScriptFor(scriptState); 66 JSC::JSLockHolder locker(injectedScript.scriptState()); 76 function.appendArgument(host(injectedScriptManager, injectedScript.scriptState())); 85 Deprecated::ScriptObject moduleObject(injectedScript.scriptState(), resultValue);
|
H A D | InjectedScriptManager.cpp | 84 int InjectedScriptManager::injectedScriptIdFor(ExecState* scriptState) argument 86 auto it = m_scriptStateToId.find(scriptState); 91 m_scriptStateToId.set(scriptState, id); 126 Deprecated::ScriptObject InjectedScriptManager::createInjectedScript(const String& source, ExecState* scriptState, int id) argument 128 JSLockHolder lock(scriptState); 131 JSGlobalObject* globalObject = scriptState->lexicalGlobalObject(); 132 JSValue globalThisValue = scriptState->globalThisValue(); 136 JSValue functionValue = evaluateHandler(scriptState, sourceCode, globalThisValue, &evaluationException); 146 args.append(m_injectedScriptHost->jsWrapper(scriptState, globalObject)); 150 JSValue result = JSC::call(scriptState, functionValu [all...] |
H A D | InjectedScriptBase.h | 57 JSC::ExecState* scriptState() const { return m_injectedScriptObject.scriptState(); } function in class:Inspector::InjectedScriptBase
|
H A D | ScriptArguments.cpp | 40 PassRefPtr<ScriptArguments> ScriptArguments::create(JSC::ExecState* scriptState, Vector<Deprecated::ScriptValue>& arguments) argument 42 return adoptRef(new ScriptArguments(scriptState, arguments));
|
H A D | ConsoleMessage.h | 66 JSC::ExecState* scriptState() const;
|
H A D | InjectedScript.cpp | 154 RefPtr<InspectorValue> result = callFramesValue.toInspectorValue(scriptState()); 175 RefPtr<InspectorObject> rawResult = r.toInspectorValue(scriptState())->asObject(); 195 RefPtr<InspectorObject> rawResult = r.toInspectorValue(scriptState())->asObject();
|
/macosx-10.10/JavaScriptCore-7600.1.17/inspector/agents/ |
H A D | JSGlobalObjectRuntimeAgent.cpp | 66 JSC::ExecState* scriptState = m_globalObject.globalExec(); local 67 InjectedScript injectedScript = injectedScriptManager()->injectedScriptFor(scriptState);
|
H A D | InspectorDebuggerAgent.cpp | 626 void InspectorDebuggerAgent::didPause(JSC::ExecState* scriptState, const Deprecated::ScriptValue& callFrames, const Deprecated::ScriptValue& exception) argument 628 ASSERT(scriptState && !m_pausedScriptState); 629 m_pausedScriptState = scriptState; 633 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptFor(scriptState); 658 void InspectorDebuggerAgent::breakpointActionProbe(JSC::ExecState* scriptState, const ScriptBreakpointAction& action, int hitCount, const Deprecated::ScriptValue& sample) argument 662 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptFor(scriptState);
|