Home
last modified time | relevance | path

Searched refs:injectedScript (Results 1 – 9 of 9) sorted by relevance

/external/v8/src/inspector/
Dv8-inspector-session-impl.cc199 int contextId, InjectedScript*& injectedScript) { in findInjectedScript() argument
200 injectedScript = nullptr; in findInjectedScript()
204 injectedScript = context->getInjectedScript(m_sessionId); in findInjectedScript()
205 if (!injectedScript) { in findInjectedScript()
211 injectedScript = context->getInjectedScript(m_sessionId); in findInjectedScript()
213 injectedScript->setCustomObjectFormatterEnabled(true); in findInjectedScript()
219 RemoteObjectIdBase* objectId, InjectedScript*& injectedScript) { in findInjectedScript() argument
220 return findInjectedScript(objectId->contextId(), injectedScript); in findInjectedScript()
231 InjectedScript* injectedScript = context->getInjectedScript(sessionId); in releaseObjectGroup() local
232 if (injectedScript) injectedScript->releaseObjectGroup(objectGroup); in releaseObjectGroup()
[all …]
Dinjected-script-source.js265 var description = injectedScript._describe(e);
379 name = /** @type {string} */ (injectedScript._describe(property));
718 var injectedScript = new InjectedScript();
735 if (this.type === "undefined" && injectedScript._isHTMLAllCollection(object))
738 if (injectedScript.isPrimitiveValue(object) || object === null || forceValueType) {
771 if (injectedScript._shouldPassByValue(object)) {
773 this.subtype = injectedScript._subtype(object);
774 this.description = injectedScript._describeIncludingPrimitives(object);
781 this.objectId = injectedScript._bind(object, objectGroupName);
782 var subtype = injectedScript._subtype(object);
[all …]
Dv8-runtime-agent-impl.cc90 bool wrapEvaluateResultAsync(InjectedScript* injectedScript, in wrapEvaluateResultAsync() argument
98 Response response = injectedScript->wrapEvaluateResult( in wrapEvaluateResultAsync()
127 Response response = scope.injectedScript()->resolveCallArgument( in innerCallFunctionOn()
161 wrapEvaluateResultAsync(scope.injectedScript(), maybeFunctionValue, in innerCallFunctionOn()
191 wrapEvaluateResultAsync(scope.injectedScript(), maybeResultValue, in innerCallFunctionOn()
197 scope.injectedScript()->addPromiseCallback( in innerCallFunctionOn()
288 wrapEvaluateResultAsync(scope.injectedScript(), maybeResultValue, in evaluate()
294 scope.injectedScript()->addPromiseCallback( in evaluate()
315 scope.injectedScript()->addPromiseCallback( in awaitPromise()
398 response = scope.injectedScript()->getProperties( in getProperties()
[all …]
Dinjected-script.cc167 scope.injectedScript()->setLastEvaluationResult(result); in thenCallback()
170 scope.injectedScript()->takeEvaluateCallback(m_callback); in thenCallback()
173 response = scope.injectedScript()->wrapObject( in thenCallback()
192 scope.injectedScript()->takeEvaluateCallback(m_callback); in catchCallback()
195 response = scope.injectedScript()->wrapObject( in catchCallback()
245 scope.injectedScript()->takeEvaluateCallback(m_callback); in sendPromiseCollected()
312 std::unique_ptr<InjectedScript> injectedScript(new InjectedScript( in create() local
319 context, privateKey, v8::External::New(isolate, injectedScript.get())); in create()
320 return injectedScript; in create()
759 InjectedScript* injectedScript = nullptr; in findInjectedScript() local
[all …]
Dinspected-context.cc113 std::unique_ptr<InjectedScript> injectedScript = in createInjectedScript() local
116 if (!injectedScript) return false; in createInjectedScript()
118 m_injectedScripts[sessionId] = std::move(injectedScript); in createInjectedScript()
Dv8-debugger-agent-impl.cc254 InjectedScript* injectedScript, in buildScopes() argument
257 if (!injectedScript) return Response::OK(); in buildScopes()
264 Response result = injectedScript->wrapObject( in buildScopes()
1093 return scope.injectedScript()->wrapEvaluateResult( in evaluateOnCallFrame()
1109 response = scope.injectedScript()->resolveCallArgument(newValueArgument.get(), in setVariableValue()
1151 response = scope.injectedScript()->resolveCallArgument(protocolNewValue.get(), in setReturnValue()
1259 InjectedScript* injectedScript = nullptr; in currentCallFrames() local
1260 if (contextId) m_session->findInjectedScript(contextId, injectedScript); in currentCallFrames()
1269 buildScopes(m_isolate, scopeIterator.get(), injectedScript, &scopes); in currentCallFrames()
1273 if (injectedScript) { in currentCallFrames()
[all …]
Dv8-console.cc49 InjectedScript* injectedScript(int sessionId) { in injectedScript() function in v8_inspector::__anon89dc04360111::ConsoleHelper
566 InjectedScript* injectedScript = helper.injectedScript(sessionId); in lastEvaluationResultCallback() local
567 if (!injectedScript) return; in lastEvaluationResultCallback()
568 info.GetReturnValue().Set(injectedScript->lastEvaluationResult()); in lastEvaluationResultCallback()
578 InjectedScript* injectedScript = helper.injectedScript(sessionId); in inspectImpl() local
579 if (!injectedScript) return; in inspectImpl()
582 injectedScript->wrapObject(value, "", false /** forceValueType */, in inspectImpl()
Dv8-injected-script-host.cc333 InjectedScript* injectedScript = in bindCallback() local
335 if (!injectedScript) return; in bindCallback()
342 int id = injectedScript->bindObject(info[0], groupName); in bindCallback()
Dinjected-script.h125 InjectedScript* injectedScript() const { return m_injectedScript; } in injectedScript() function