Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInjectedScriptModule.cpp48 InjectedScript injectedScript = injectedScriptManager->injectedScriptFor(scriptState); in ensureInjected() local
49 ASSERT(!injectedScript.isEmpty()); in ensureInjected()
50 if (injectedScript.isEmpty()) in ensureInjected()
54 ScriptFunctionCall function(injectedScript.injectedScriptObject(), "module"); in ensureInjected()
57 ScriptValue resultValue = injectedScript.callFunctionWithEvalEnabled(function, hadException); in ensureInjected()
61 ScriptFunctionCall function(injectedScript.injectedScriptObject(), "injectModule"); in ensureInjected()
64 resultValue = injectedScript.callFunctionWithEvalEnabled(function, hadException); in ensureInjected()
DInspectorRuntimeAgent.cpp78 InjectedScript injectedScript = injectedScriptForEval(errorString, executionContextId); in evaluate() local
79 if (injectedScript.isEmpty()) in evaluate()
87injectedScript.evaluate(errorString, expression, objectGroup ? *objectGroup : "", asBool(includeCo… in evaluate()
97 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptForObjectId(objectId); in callFunctionOn() local
98 if (injectedScript.isEmpty()) { in callFunctionOn()
112injectedScript.callFunctionOn(errorString, objectId, expression, arguments, asBool(returnByValue),… in callFunctionOn()
122 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptForObjectId(objectId); in getProperties() local
123 if (injectedScript.isEmpty()) { in getProperties()
132injectedScript.getProperties(errorString, objectId, ownProperties && *ownProperties, accessorPrope… in getProperties()
135 injectedScript.getInternalProperties(errorString, objectId, &internalProperties); in getProperties()
[all …]
DInspectorDebuggerAgent.cpp448 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptForObjectId(callFrameId); in getStepInPositions() local
449 if (injectedScript.isEmpty()) { in getStepInPositions()
454 injectedScript.getStepInPositions(errorString, m_currentCallStack, callFrameId, positions); in getStepInPositions()
616 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptForObjectId(callFrameId); in restartFrame() local
617 if (injectedScript.isEmpty()) { in restartFrame()
622 injectedScript.restartFrame(errorString, m_currentCallStack, callFrameId, &result); in restartFrame()
639 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptForObjectId(functionId); in getFunctionDetails() local
640 if (injectedScript.isEmpty()) { in getFunctionDetails()
644 injectedScript.getFunctionDetails(errorString, functionId, &details); in getFunctionDetails()
850 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptForObjectId(callFrameId); in evaluateOnCallFrame() local
[all …]
DInspectorHeapProfilerAgent.cpp288 …InjectedScript injectedScript = m_injectedScriptManager->injectedScriptFor(heapObject.scriptState(… in getObjectByHeapObjectId() local
289 if (injectedScript.isEmpty()) { in getObjectByHeapObjectId()
293 result = injectedScript.wrapObject(heapObject, objectGroup ? *objectGroup : ""); in getObjectByHeapObjectId()
300 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptForObjectId(objectId); in getHeapObjectId() local
301 if (injectedScript.isEmpty()) { in getHeapObjectId()
305 ScriptValue value = injectedScript.findObjectById(objectId); in getHeapObjectId()
306 ScriptState::Scope scope(injectedScript.scriptState()); in getHeapObjectId()
DWorkerRuntimeAgent.cpp76 … InjectedScript injectedScript = injectedScriptManager()->injectedScriptForId(*executionContextId); in injectedScriptForEval() local
77 if (injectedScript.isEmpty()) in injectedScriptForEval()
79 return injectedScript; in injectedScriptForEval()
DInjectedScriptSource.js318 var description = injectedScript._describe(e);
515 name = injectedScript._describe(property);
1059 var injectedScript = new InjectedScript();
1073 if (injectedScript.isPrimitiveValue(object) || object === null || forceValueType) {
1101 this.objectId = injectedScript._bind(object, objectGroupName);
1102 var subtype = injectedScript._subtype(object);
1108 this.description = injectedScript._describe(object);
1110 if (generatePreview && (this.type === "object" || injectedScript._isHTMLAllCollection(object)))
1137 var descriptors = injectedScript._propertyDescriptors(object);
1214 if (type === "undefined" && injectedScript._isHTMLAllCollection(value))
[all …]
DPageDebuggerAgent.cpp120 … InjectedScript injectedScript = injectedScriptManager()->injectedScriptForId(*executionContextId); in injectedScriptForEval() local
121 if (injectedScript.isEmpty()) in injectedScriptForEval()
123 return injectedScript; in injectedScriptForEval()
DPageRuntimeAgent.cpp114 … InjectedScript injectedScript = injectedScriptManager()->injectedScriptForId(*executionContextId); in injectedScriptForEval() local
115 if (injectedScript.isEmpty()) in injectedScriptForEval()
117 return injectedScript; in injectedScriptForEval()
DConsoleMessage.cpp208 …InjectedScript injectedScript = injectedScriptManager->injectedScriptFor(m_arguments->scriptState(… in addToFrontend() local
209 if (!injectedScript.isEmpty()) { in addToFrontend()
214 …RefPtr<TypeBuilder::Runtime::RemoteObject> inspectorValue = injectedScript.wrapTable(table, column… in addToFrontend()
222 …RefPtr<TypeBuilder::Runtime::RemoteObject> inspectorValue = injectedScript.wrapObject(m_arguments-… in addToFrontend()
DInspectorCanvasAgent.cpp252 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptForObjectId(objectId); in injectedScriptCanvasModule() local
253 if (injectedScript.isEmpty()) { in injectedScriptCanvasModule()
257 return injectedScriptCanvasModule(errorString, injectedScript.scriptState()); in injectedScriptCanvasModule()
DInspectorController.cpp315 …InjectedScript injectedScript = m_injectedScriptManager->injectedScriptFor(ScriptState::forMainWor… in inspect() local
316 if (injectedScript.isEmpty()) in inspect()
318 injectedScript.inspectNode(node); in inspect()
DInspectorDOMAgent.cpp1240 … InjectedScript injectedScript = m_injectedScriptManager->injectedScriptForObjectId(*objectId); in highlightNode() local
1241 node = injectedScript.nodeForObjectId(*objectId); in highlightNode()
1447 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptForObjectId(objectId); in requestNode() local
1448 Node* node = injectedScript.nodeForObjectId(objectId); in requestNode()
1664 … InjectedScript injectedScript = m_injectedScriptManager->injectedScriptFor(scriptState); in buildObjectForEventListener() local
1665 if (!injectedScript.isEmpty()) { in buildObjectForEventListener()
1666 …RefPtr<TypeBuilder::Runtime::RemoteObject> valueJson = injectedScript.wrapObject(functionValue, *o… in buildObjectForEventListener()
2088 …InjectedScript injectedScript = m_injectedScriptManager->injectedScriptFor(ScriptState::forMainWor… in resolveNode() local
2089 if (injectedScript.isEmpty()) in resolveNode()
2092 return injectedScript.wrapNode(node, objectGroup); in resolveNode()
DInjectedScriptCanvasModuleSource.js43 (function (InjectedScriptHost, inspectedWindow, injectedScriptId, injectedScript) { argument
3573 var remoteObject = injectedScript.wrapObject(value, objectGroup || "", true, false);
3586 injectedScript.releaseObject(remoteObject.objectId);
4398 injectedScript.releaseObjectGroup(id);
4470 injectedScript.releaseObjectGroup(traceLogId);
4546 var remoteObject = injectedScript.wrapObject(value, objectGroup, true, false);
/external/chromium_org/chrome/common/extensions/docs/examples/api/devtools/inspectedWindow/chrome-preprocessor/Panel/
DPreprocessorPanel.js27 function reloadWithPreprocessor(injectedScript) { argument
31 injectedScript: '(' + injectedScript + ')()', property
42 reloadWithPreprocessor(loadMonitor.injectedScript);
DInspectedWindowLoadMonitor.js39 injectedScript: function() { method in LoadMonitor
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/extensions/
DExtensionServer.js364 var injectedScript;
365 if (options.injectedScript)
366 injectedScript = "(function(){" + options.injectedScript + "})()";
368 …WebInspector.resourceTreeModel.reloadPage(!!options.ignoreCache, injectedScript, preprocessingScri…
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
Dexterns.js302 this.injectedScript = "";