Searched refs:scriptState (Results 1 - 25 of 29) sorted by relevance

12

/external/webkit/Source/WebCore/bindings/js/
H A DScriptObject.cpp47 ScriptObject::ScriptObject(ScriptState* scriptState, JSObject* object) argument
48 : ScriptValue(scriptState->globalData(), object)
49 , m_scriptState(scriptState)
53 static bool handleException(ScriptState* scriptState) argument
55 if (!scriptState->hadException())
58 reportException(scriptState, scriptState->exception());
62 bool ScriptGlobalObject::set(ScriptState* scriptState, const char* name, const ScriptObject& value) argument
65 scriptState->lexicalGlobalObject()->putDirect(scriptState
70 set(ScriptState* scriptState, const char* name, InspectorFrontendHost* value) argument
78 set(ScriptState* scriptState, const char* name, InjectedScriptHost* value) argument
87 get(ScriptState* scriptState, const char* name, ScriptObject& value) argument
101 remove(ScriptState* scriptState, const char* name) argument
[all...]
H A DScriptValue.cpp47 bool ScriptValue::getString(ScriptState* scriptState, String& result) const argument
53 if (!m_value.get().getString(scriptState, ustring))
59 String ScriptValue::toString(ScriptState* scriptState) const
61 String result = ustringToString(m_value.get().toString(scriptState));
63 if (scriptState->hadException())
64 scriptState->clearException();
68 bool ScriptValue::isEqual(ScriptState* scriptState, const ScriptValue& anotherValue) const argument
73 return JSValueIsEqual(toRef(scriptState), toRef(scriptState, jsValue()), toRef(scriptState, anotherValu
103 serialize(ScriptState* scriptState, SerializationErrorMode throwExceptions) argument
108 deserialize(ScriptState* scriptState, SerializedScriptValue* value, SerializationErrorMode throwExceptions) argument
114 jsToInspectorValue(ScriptState* scriptState, JSValue value) argument
[all...]
H A DJSInjectedScriptManager.cpp51 ScriptObject InjectedScriptManager::createInjectedScript(const String& source, ScriptState* scriptState, long id) argument
55 JSDOMGlobalObject* globalObject = static_cast<JSDOMGlobalObject*>(scriptState->lexicalGlobalObject());
56 JSValue globalThisValue = scriptState->globalThisValue();
57 Completion comp = JSMainThreadExecState::evaluate(scriptState, globalObject->globalScopeChain(), sourceCode, globalThisValue);
67 args.append(toJS(scriptState, globalObject, m_injectedScriptHost.get()));
70 JSValue result = JSC::call(scriptState, functionValue, callType, callData, globalThisValue, args);
72 return ScriptObject(scriptState, result.getObject());
76 void InjectedScriptManager::discardInjectedScript(ScriptState* scriptState) argument
78 JSDOMGlobalObject* globalObject = static_cast<JSDOMGlobalObject*>(scriptState->lexicalGlobalObject());
82 InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState* scriptState) argument
100 canAccessInspectedWindow(ScriptState* scriptState) argument
[all...]
H A DScriptState.cpp50 ScriptStateProtectedPtr::ScriptStateProtectedPtr(ScriptState* scriptState) argument
51 : m_globalObject(scriptState->globalData(), scriptState->lexicalGlobalObject())
H A DScriptObject.h49 ScriptState* scriptState() const { return m_scriptState; } function in class:WebCore::ScriptObject
H A DScriptFunctionCall.cpp47 if (argument.scriptState() != m_exec) {
118 : ScriptCallArgumentHandler(thisObject.scriptState())
/external/webkit/Source/WebCore/bindings/v8/
H A DScriptScope.cpp40 ScriptScope::ScriptScope(ScriptState* scriptState, bool reportExceptions) argument
41 : m_context(scriptState->context())
43 , m_scriptState(scriptState)
H A DScriptObject.cpp48 ScriptObject::ScriptObject(ScriptState* scriptState, v8::Handle<v8::Object> v8Object) argument
50 , m_scriptState(scriptState)
60 bool ScriptGlobalObject::set(ScriptState* scriptState, const char* name, const ScriptObject& value) argument
62 ScriptScope scope(scriptState);
68 bool ScriptGlobalObject::set(ScriptState* scriptState, const char* name, InspectorFrontendHost* value) argument
70 ScriptScope scope(scriptState);
75 bool ScriptGlobalObject::set(ScriptState* scriptState, const char* name, InjectedScriptHost* value) argument
77 ScriptScope scope(scriptState);
83 bool ScriptGlobalObject::get(ScriptState* scriptState, const char* name, ScriptObject& value) argument
85 ScriptScope scope(scriptState);
97 remove(ScriptState* scriptState, const char* name) argument
[all...]
H A DScriptFunctionCall.h45 ScriptCallArgumentHandler(ScriptState* scriptState) : m_scriptState(scriptState) { } argument
H A DScriptScope.h41 ScriptScope(ScriptState* scriptState, bool reportExceptions = true);
H A DScriptValue.cpp41 PassRefPtr<SerializedScriptValue> ScriptValue::serialize(ScriptState* scriptState) argument
43 ScriptScope scope(scriptState);
47 ScriptValue ScriptValue::deserialize(ScriptState* scriptState, SerializedScriptValue* value) argument
49 ScriptScope scope(scriptState);
128 PassRefPtr<InspectorValue> ScriptValue::toInspectorValue(ScriptState* scriptState) const
132 v8::Context::Scope contextScope(scriptState->context());
H A DScriptState.h88 ScriptStateProtectedPtr(ScriptState* scriptState) : m_scriptState(scriptState) argument
92 m_context = v8::Persistent<v8::Context>::New(scriptState->context());
H A DV8HiddenPropertyName.h42 V(scriptState) \
H A DScriptState.cpp70 v8::Handle<v8::String> key = V8HiddenPropertyName::scriptState();
93 ScriptState* scriptState = static_cast<ScriptState*>(parameter); local
94 delete scriptState;
H A DScriptObject.h50 ScriptState* scriptState() const { return m_scriptState; } function in class:WebCore::ScriptObject
H A DScriptFunctionCall.cpp49 if (argument.scriptState() != m_scriptState) {
109 : ScriptCallArgumentHandler(thisObject.scriptState())
/external/webkit/Source/WebCore/inspector/
H A DScriptArguments.cpp38 PassRefPtr<ScriptArguments> ScriptArguments::create(ScriptState* scriptState, Vector<ScriptValue>& arguments) argument
40 return adoptRef(new ScriptArguments(scriptState, arguments));
43 ScriptArguments::ScriptArguments(ScriptState* scriptState, Vector<ScriptValue>& arguments) argument
44 : m_scriptState(scriptState)
H A DInjectedScriptManager.cpp100 discardInjectedScript(it->second.scriptState());
120 pair<long, ScriptObject> InjectedScriptManager::injectScript(const String& source, ScriptState* scriptState) argument
123 return std::make_pair(id, createInjectedScript(source, scriptState, id));
H A DInjectedScript.h74 ScriptState* scriptState() const { return m_injectedScriptObject.scriptState(); } function in class:WebCore::InjectedScript
H A DInjectedScript.cpp139 RefPtr<InspectorValue> result = callFramesValue.toInspectorValue(m_injectedScriptObject.scriptState());
160 return r.toInspectorValue(m_injectedScriptObject.scriptState())->asObject();
187 return m_inspectedStateAccessCheck(m_injectedScriptObject.scriptState());
202 *result = resultValue.toInspectorValue(m_injectedScriptObject.scriptState());
225 return InjectedScriptHost::nodeAsScriptValue(m_injectedScriptObject.scriptState(), node);
H A DInspectorProfilerAgent.cpp302 JSC::ExecState* scriptState = toJSDOMWindow(m_inspectedPage->mainFrame(), debuggerWorld())->globalExec(); local
304 ScriptState* scriptState = 0; local
306 ScriptProfiler::start(scriptState, title);
319 JSC::ExecState* scriptState = toJSDOMWindow(m_inspectedPage->mainFrame(), debuggerWorld())->globalExec(); local
323 ScriptState* scriptState = 0; local
325 RefPtr<ScriptProfile> profile = ScriptProfiler::stop(scriptState, title);
H A DInspectorPageAgent.cpp248 ScriptState* scriptState = mainWorldScriptState(frame); local
251 m_injectedScriptManager->injectScript(*it, scriptState);
H A DInspectorDebuggerAgent.cpp407 void InspectorDebuggerAgent::didPause(ScriptState* scriptState) argument
409 ASSERT(scriptState && !m_pausedScriptState);
410 m_pausedScriptState = scriptState;
/external/webkit/Source/WebCore/css/
H A DMediaQueryMatcher.cpp143 ScriptState* scriptState = mainWorldScriptState(m_document->frame()); local
144 if (!scriptState)
153 m_listeners[i]->evaluate(scriptState, evaluator.get());
/external/webkit/Source/WebCore/bindings/v8/custom/
H A DV8InjectedScriptManager.cpp154 bool InjectedScriptManager::canAccessInspectedWindow(ScriptState* scriptState) argument
157 v8::Local<v8::Context> context = scriptState->context();

Completed in 207 milliseconds

12