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/
DInspectorRuntimeAgent.cpp71 InjectedScript injectedScript = injectedScriptForEval(errorString, executionContextId); in evaluate() local
72 if (injectedScript.hasNoValue()) in evaluate()
80injectedScript.evaluate(errorString, expression, objectGroup ? *objectGroup : "", asBool(includeCo… in evaluate()
90 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptForObjectId(objectId); in callFunctionOn() local
91 if (injectedScript.hasNoValue()) { in callFunctionOn()
105injectedScript.callFunctionOn(errorString, objectId, expression, arguments, asBool(returnByValue),… in callFunctionOn()
115 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptForObjectId(objectId); in getProperties() local
116 if (injectedScript.hasNoValue()) { in getProperties()
125injectedScript.getProperties(errorString, objectId, ownProperties && *ownProperties, accessorPrope… in getProperties()
128 injectedScript.getInternalProperties(errorString, objectId, &internalProperties); in getProperties()
[all …]
DInjectedScriptModule.cpp49 InjectedScript injectedScript = injectedScriptManager->injectedScriptFor(scriptState); in ensureInjected() local
50 ASSERT(!injectedScript.hasNoValue()); in ensureInjected()
51 if (injectedScript.hasNoValue()) in ensureInjected()
55 ScriptFunctionCall function(injectedScript.injectedScriptObject(), "module"); in ensureInjected()
58 ScriptValue resultValue = injectedScript.callFunctionWithEvalEnabled(function, hadException); in ensureInjected()
62 ScriptFunctionCall function(injectedScript.injectedScriptObject(), "injectModule"); in ensureInjected()
65 resultValue = injectedScript.callFunctionWithEvalEnabled(function, hadException); in ensureInjected()
DInspectorDebuggerAgent.cpp441 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptForObjectId(callFrameId); in getStepInPositions() local
442 if (injectedScript.hasNoValue()) { in getStepInPositions()
447 injectedScript.getStepInPositions(errorString, m_currentCallStack, callFrameId, positions); in getStepInPositions()
618 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptForObjectId(callFrameId); in restartFrame() local
619 if (injectedScript.hasNoValue()) { in restartFrame()
624 injectedScript.restartFrame(errorString, m_currentCallStack, callFrameId, &result); in restartFrame()
641 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptForObjectId(functionId); in getFunctionDetails() local
642 if (injectedScript.hasNoValue()) { in getFunctionDetails()
646 injectedScript.getFunctionDetails(errorString, functionId, &details); in getFunctionDetails()
741 … InjectedScript injectedScript = m_injectedScriptManager->injectedScriptForObjectId(*callFrameId); in resolveCallFrame() local
[all …]
DInjectedScriptSource.js209 switch (injectedScript._describe(object)) {
242 var description = injectedScript._describe(e);
919 var injectedScript = new InjectedScript();
933 if (injectedScript.isPrimitiveValue(object) || object === null || forceValueType) {
950 this.objectId = injectedScript._bind(object, objectGroupName);
951 var subtype = injectedScript._subtype(object);
955 this.description = injectedScript._describe(object);
957 if (generatePreview && (this.type === "object" || injectedScript._isHTMLAllCollection(object)))
985 var descriptors = injectedScript._propertyDescriptors(object);
1033 if (type === "undefined" && injectedScript._isHTMLAllCollection(value))
[all …]
DInspectorHeapProfilerAgent.cpp301 …InjectedScript injectedScript = m_injectedScriptManager->injectedScriptFor(heapObject.scriptState(… in getObjectByHeapObjectId() local
302 if (injectedScript.hasNoValue()) { in getObjectByHeapObjectId()
306 result = injectedScript.wrapObject(heapObject, objectGroup ? *objectGroup : ""); in getObjectByHeapObjectId()
313 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptForObjectId(objectId); in getHeapObjectId() local
314 if (injectedScript.hasNoValue()) { in getHeapObjectId()
318 ScriptValue value = injectedScript.findObjectById(objectId); in getHeapObjectId()
319 ScriptScope scope(injectedScript.scriptState()); in getHeapObjectId()
DPageDebuggerAgent.cpp120 … InjectedScript injectedScript = injectedScriptManager()->injectedScriptForId(*executionContextId); in injectedScriptForEval() local
121 if (injectedScript.hasNoValue()) in injectedScriptForEval()
123 return injectedScript; in injectedScriptForEval()
DPageRuntimeAgent.cpp145 … InjectedScript injectedScript = injectedScriptManager()->injectedScriptForId(*executionContextId); in injectedScriptForEval() local
146 if (injectedScript.hasNoValue()) in injectedScriptForEval()
148 return injectedScript; in injectedScriptForEval()
DInspectorIndexedDBAgent.cpp388 …static PassRefPtr<OpenCursorCallback> create(InjectedScript injectedScript, PassRefPtr<RequestData… in create() argument
390 … return adoptRef(new OpenCursorCallback(injectedScript, requestCallback, skipCount, pageSize)); in create()
458 …OpenCursorCallback(InjectedScript injectedScript, PassRefPtr<RequestDataCallback> requestCallback,… in OpenCursorCallback() argument
460 , m_injectedScript(injectedScript) in OpenCursorCallback()
476 …ssRefPtr<RequestDataCallback> requestCallback, const InjectedScript& injectedScript, const String&… in create() argument
478 …return adoptRef(new DataLoader(context, requestCallback, injectedScript, objectStoreName, indexNam… in create()
517 …ssRefPtr<RequestDataCallback> requestCallback, const InjectedScript& injectedScript, const String&… in DataLoader() argument
520 , m_injectedScript(injectedScript) in DataLoader()
651 …InjectedScript injectedScript = m_injectedScriptManager->injectedScriptFor(mainWorldScriptState(fr… in requestData() local
665 …RefPtr<DataLoader> dataLoader = DataLoader::create(document, requestCallback, injectedScript, obje… in requestData()
DConsoleMessage.cpp205 …InjectedScript injectedScript = injectedScriptManager->injectedScriptFor(m_arguments->globalState(… in addToFrontend() local
206 if (!injectedScript.hasNoValue()) { in addToFrontend()
211 …RefPtr<TypeBuilder::Runtime::RemoteObject> inspectorValue = injectedScript.wrapTable(table, column… in addToFrontend()
219 …RefPtr<TypeBuilder::Runtime::RemoteObject> inspectorValue = injectedScript.wrapObject(m_arguments-… in addToFrontend()
DInspectorCanvasAgent.cpp253 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptForObjectId(objectId); in injectedScriptCanvasModule() local
254 if (injectedScript.hasNoValue()) { in injectedScriptCanvasModule()
258 return injectedScriptCanvasModule(errorString, injectedScript.scriptState()); in injectedScriptCanvasModule()
DInspectorController.cpp292 …InjectedScript injectedScript = m_injectedScriptManager->injectedScriptFor(mainWorldScriptState(fr… in inspect() local
293 if (injectedScript.hasNoValue()) in inspect()
295 injectedScript.inspectNode(node); in inspect()
DInspectorDOMAgent.cpp1213 … InjectedScript injectedScript = m_injectedScriptManager->injectedScriptForObjectId(*objectId); in highlightNode() local
1214 node = injectedScript.nodeForObjectId(*objectId); in highlightNode()
1414 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptForObjectId(objectId); in requestNode() local
1415 Node* node = injectedScript.nodeForObjectId(objectId); in requestNode()
1613 … InjectedScript injectedScript = m_injectedScriptManager->injectedScriptFor(scriptState); in buildObjectForEventListener() local
1614 if (!injectedScript.hasNoValue()) { in buildObjectForEventListener()
1615 …RefPtr<TypeBuilder::Runtime::RemoteObject> valueJson = injectedScript.wrapObject(functionValue, *o… in buildObjectForEventListener()
2020 …InjectedScript injectedScript = m_injectedScriptManager->injectedScriptFor(mainWorldScriptState(fr… in resolveNode() local
2021 if (injectedScript.hasNoValue()) in resolveNode()
2024 return injectedScript.wrapNode(node, objectGroup); in resolveNode()
DInjectedScriptCanvasModuleSource.js37 (function (InjectedScriptHost, inspectedWindow, injectedScriptId, injectedScript) { argument
3476 var remoteObject = injectedScript.wrapObject(value, objectGroup || "", true, false);
3489 injectedScript.releaseObject(remoteObject.objectId);
4299 injectedScript.releaseObjectGroup(id);
4371 injectedScript.releaseObjectGroup(traceLogId);
4447 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/
DExtensionServer.js339 var injectedScript;
340 if (options.injectedScript)
341 injectedScript = "(function(){" + options.injectedScript + "})()";
343 …WebInspector.resourceTreeModel.reloadPage(!!options.ignoreCache, injectedScript, preprocessingScri…
Dexterns.js396 this.injectedScript = "";