Home
last modified time | relevance | path

Searched refs:scriptId (Results 1 – 25 of 46) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DDefaultScriptMapping.js53 var script = WebInspector.debuggerModel.scriptForId(debuggerModelLocation.scriptId);
54 var uiSourceCode = this._uiSourceCodeForScriptId[script.scriptId];
68 var scriptId = this._scriptIdForUISourceCode.get(uiSourceCode);
69 var script = WebInspector.debuggerModel.scriptForId(scriptId);
84 this._uiSourceCodeForScriptId[script.scriptId] = uiSourceCode;
85 this._scriptIdForUISourceCode.put(uiSourceCode, script.scriptId);
88 …tListener(WebInspector.Script.Events.ScriptEdited, this._scriptEdited.bind(this, script.scriptId));
95 _scriptEdited: function(scriptId, event) argument
98 this._uiSourceCodeForScriptId[scriptId].addRevision(content);
145 name = "VM" + script.scriptId + (name ? " " + name : "");
DScript.js40 WebInspector.Script = function(scriptId, sourceURL, startLine, startColumn, endLine, endColumn, isC… argument
42 this.scriptId = scriptId;
100 if (this.scriptId) {
102 DebuggerAgent.getScriptSource(this.scriptId, didGetScriptSource.bind(this));
132 if (this.scriptId) {
134 …DebuggerAgent.searchInContent(this.scriptId, query, caseSensitive, isRegex, innerCallback.bind(thi…
164 if (this.scriptId)
165 …DebuggerAgent.setScriptSource(this.scriptId, newSource, undefined, didEditScriptSource.bind(this));
203 …var rawLocation = new WebInspector.DebuggerModel.Location(this.scriptId, lineNumber, columnNumber …
233 console.assert(rawLocation.scriptId === this.scriptId);
DLiveEditSupport.js51 var script = WebInspector.debuggerModel.scriptForId(debuggerModelLocation.scriptId);
57 if (this._uiSourceCodeForScriptId[script.scriptId])
58 return this._uiSourceCodeForScriptId[script.scriptId];
63 …riptFile(new WebInspector.LiveEditScriptFile(uiSourceCode, liveEditUISourceCode, script.scriptId));
64 this._uiSourceCodeForScriptId[script.scriptId] = liveEditUISourceCode;
65 this._scriptIdForUISourceCode.put(liveEditUISourceCode, script.scriptId);
116 WebInspector.LiveEditScriptFile = function(uiSourceCode, liveEditUISourceCode, scriptId) argument
121 this._scriptId = scriptId;
144 …WebInspector.debuggerModel.setScriptSource(script.scriptId, this._liveEditUISourceCode.workingCopy…
DDebuggerModel.js73 WebInspector.DebuggerModel.Location = function(scriptId, lineNumber, columnNumber) argument
75 this.scriptId = scriptId;
268 var script = this.scriptForId(rawLocation.scriptId);
378 scriptForId: function(scriptId) argument
380 return this._scripts[scriptId] || null;
398 setScriptSource: function(scriptId, newSource, callback) argument
400 …this._scripts[scriptId].editSource(newSource, this._didEditScriptSource.bind(this, scriptId, newSo…
413 …_didEditScriptSource: function(scriptId, newSource, callback, error, errorData, callFrames, asyncS… argument
472 …mnNumber == requestedLocation.columnNumber && topLocation.scriptId == requestedLocation.scriptId) {
499 …_parsedScriptSource: function(scriptId, sourceURL, startLine, startColumn, endLine, endColumn, isC… argument
[all …]
DScriptSnippetModel.js225 function compileCallback(error, scriptId, syntaxErrorMessage) argument
235 if (!scriptId) {
247 this._runScript(scriptId);
254 _runScript: function(scriptId) argument
257 …DebuggerAgent.runScript(scriptId, currentExecutionContext ? currentExecutionContext.id : undefined…
293 var uiSourceCode = this._uiSourceCodeForScriptId[rawLocation.scriptId];
328 this._uiSourceCodeForScriptId[script.scriptId] = uiSourceCode;
370 delete this._uiSourceCodeForScriptId[script.scriptId];
DCompilerScriptMapping.js63 var sourceMap = this._sourceMapForScriptId[debuggerModelLocation.scriptId];
115 this._sourceMapForScriptId[script.scriptId] = sourceMap;
120 this._sourceMapForScriptId[script.scriptId] = sourceMap;
DContentProviders.js131 result = result.concat(results[scripts[i].scriptId]);
142 results[script.scriptId] = [];
145 results[script.scriptId].push(searchMatch);
DPresentationConsoleMessageHelper.js106 if (script.scriptId === rawLocation.scriptId)
DAllocationProfile.js259 WebInspector.FunctionAllocationInfo = function(functionName, scriptName, scriptId, line, column) argument
263 this.scriptId = scriptId;
/external/v8/test/mjsunit/
Ddebug-clearbreakpointgroup.js37 var scriptId = null; variable
71 scriptId = event_data.script().id();
87 assertNotNull(scriptId);
92 var bp1 = Debug.setScriptBreakPointById(scriptId, 1, null, null, groupId1);
93 var bp2 = Debug.setScriptBreakPointById(scriptId, 1, null, null, groupId2);
94 var bp3 = Debug.setScriptBreakPointById(scriptId, 1, null, null, null);
95 var bp4 = Debug.setScriptBreakPointById(scriptId, 3, null, null, groupId1);
96 var bp5 = Debug.setScriptBreakPointById(scriptId, 4, null, null, groupId2);
/external/chromium_org/v8/test/mjsunit/
Ddebug-clearbreakpointgroup.js37 var scriptId = null; variable
71 scriptId = event_data.script().id();
87 assertNotNull(scriptId);
92 var bp1 = Debug.setScriptBreakPointById(scriptId, 1, null, null, groupId1);
93 var bp2 = Debug.setScriptBreakPointById(scriptId, 1, null, null, groupId2);
94 var bp3 = Debug.setScriptBreakPointById(scriptId, 1, null, null, null);
95 var bp4 = Debug.setScriptBreakPointById(scriptId, 3, null, null, groupId1);
96 var bp5 = Debug.setScriptBreakPointById(scriptId, 4, null, null, groupId2);
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInjectedScriptHost.cpp132 void InjectedScriptHost::debugFunction(const String& scriptId, int lineNumber, int columnNumber) in debugFunction() argument
135 …debuggerAgent->setBreakpoint(scriptId, lineNumber, columnNumber, InspectorDebuggerAgent::DebugComm… in debugFunction()
138 void InjectedScriptHost::undebugFunction(const String& scriptId, int lineNumber, int columnNumber) in undebugFunction() argument
141 …debuggerAgent->removeBreakpoint(scriptId, lineNumber, columnNumber, InspectorDebuggerAgent::DebugC… in undebugFunction()
144 void InjectedScriptHost::monitorFunction(const String& scriptId, int lineNumber, int columnNumber, … in monitorFunction() argument
154 …debuggerAgent->setBreakpoint(scriptId, lineNumber, columnNumber, InspectorDebuggerAgent::MonitorCo… in monitorFunction()
157 void InjectedScriptHost::unmonitorFunction(const String& scriptId, int lineNumber, int columnNumber) in unmonitorFunction() argument
160 …debuggerAgent->removeBreakpoint(scriptId, lineNumber, columnNumber, InspectorDebuggerAgent::Monito… in unmonitorFunction()
DInspectorDebuggerAgent.cpp96 static String generateBreakpointId(const String& scriptId, int lineNumber, int columnNumber, Inspec… in generateBreakpointId() argument
98 …return scriptId + ':' + String::number(lineNumber) + ':' + String::number(columnNumber) + breakpoi… in generateBreakpointId()
350 …tion(ErrorString* errorString, PassRefPtr<JSONObject> location, String* scriptId, int* lineNumber,… in parseLocation() argument
352 …if (!location->getString("scriptId", scriptId) || !location->getNumber("lineNumber", lineNumber)) { in parseLocation()
364 String scriptId; in setBreakpoint() local
368 if (!parseLocation(errorString, location, &scriptId, &lineNumber, &columnNumber)) in setBreakpoint()
373 …String breakpointId = generateBreakpointId(scriptId, lineNumber, columnNumber, UserBreakpointSourc… in setBreakpoint()
379 actualLocation = resolveBreakpoint(breakpointId, scriptId, breakpoint, UserBreakpointSource); in setBreakpoint()
423 String scriptId; in continueToLocation() local
427 if (!parseLocation(errorString, location, &scriptId, &lineNumber, &columnNumber)) in continueToLocation()
[all …]
DInjectedScriptHost.h88 void debugFunction(const String& scriptId, int lineNumber, int columnNumber);
89 void undebugFunction(const String& scriptId, int lineNumber, int columnNumber);
90 …void monitorFunction(const String& scriptId, int lineNumber, int columnNumber, const String& funct…
91 void unmonitorFunction(const String& scriptId, int lineNumber, int columnNumber);
DInspectorDebuggerAgent.h104 …virtual void searchInContent(ErrorString*, const String& scriptId, const String& query, const bool…
105 …g*, RefPtr<TypeBuilder::Debugger::SetScriptSourceError>&, const String& scriptId, const String& ne…
107 virtual void getScriptSource(ErrorString*, const String& scriptId, String* scriptSource);
158 …void setBreakpoint(const String& scriptId, int lineNumber, int columnNumber, BreakpointSource, con…
159 … void removeBreakpoint(const String& scriptId, int lineNumber, int columnNumber, BreakpointSource);
191 virtual void didParseSource(const String& scriptId, const Script&);
196 …::Location> resolveBreakpoint(const String& breakpointId, const String& scriptId, const ScriptBrea…
DScriptCallFrame.h42 …ScriptCallFrame(const String& functionName, const String& scriptId, const String& scriptName, unsi…
46 const String& scriptId() const { return m_scriptId; } in scriptId() function
DScriptCallFrame.cpp36 ScriptCallFrame::ScriptCallFrame(const String& functionName, const String& scriptId, const String& … in ScriptCallFrame() argument
38 , m_scriptId(scriptId) in ScriptCallFrame()
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
DV8InjectedScriptHostCustom.cpp376 static bool getFunctionLocation(const v8::FunctionCallbackInfo<v8::Value>& info, String* scriptId, … in getFunctionLocation() argument
388 *scriptId = String::number(function->ScriptId()); in getFunctionLocation()
394 String scriptId; in debugFunctionMethodCustom() local
397 if (!getFunctionLocation(info, &scriptId, &lineNumber, &columnNumber)) in debugFunctionMethodCustom()
401 host->debugFunction(scriptId, lineNumber, columnNumber); in debugFunctionMethodCustom()
406 String scriptId; in undebugFunctionMethodCustom() local
409 if (!getFunctionLocation(info, &scriptId, &lineNumber, &columnNumber)) in undebugFunctionMethodCustom()
413 host->undebugFunction(scriptId, lineNumber, columnNumber); in undebugFunctionMethodCustom()
418 String scriptId; in monitorFunctionMethodCustom() local
421 if (!getFunctionLocation(info, &scriptId, &lineNumber, &columnNumber)) in monitorFunctionMethodCustom()
[all …]
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DPageScriptDebugServer.cpp144 …tate* state, const String& expression, const String& sourceURL, String* scriptId, String* exceptio… in compileScript() argument
148 ScriptDebugServer::compileScript(state, expression, sourceURL, scriptId, exceptionMessage); in compileScript()
149 if (!scriptId->isNull()) in compileScript()
150 m_compiledScriptURLs.set(*scriptId, sourceURL); in compileScript()
159 void PageScriptDebugServer::runScript(ScriptState* state, const String& scriptId, ScriptValue* resu… in runScript() argument
161 String sourceURL = m_compiledScriptURLs.take(scriptId); in runScript()
170 ScriptDebugServer::runScript(state, scriptId, result, wasThrown, exceptionMessage); in runScript()
DPageScriptDebugServer.h63 …criptState*, const String& expression, const String& sourceURL, String* scriptId, String* exceptio…
65 …virtual void runScript(ScriptState*, const String& scriptId, ScriptValue* result, bool* wasThrown,…
DDebuggerScript.js236 DebuggerScript.liveEditScriptSource = function(scriptId, newSource, preview) argument
241 if (scripts[i].id == scriptId) {
375 var scriptId = String(script.id());
378 scriptId: scriptId, property
DScriptCallStackFactory.cpp55 String scriptId = stringBuilder.toString(); in toScriptCallFrame() local
68 return ScriptCallFrame(functionName, scriptId, sourceName, sourceLineNumber, sourceColumn); in toScriptCallFrame()
DScriptEventListener.h52 …rHandlerLocation(Document*, EventListener*, String& sourceName, String& scriptId, int& lineNumber);
DScriptDebugServer.h99 …criptState*, const String& expression, const String& sourceURL, String* scriptId, String* exceptio…
101 …virtual void runScript(ScriptState*, const String& scriptId, ScriptValue* result, bool* wasThrown,…
DScriptEventListener.cpp140 …Document* document, EventListener* listener, String& sourceName, String& scriptId, int& lineNumber) in eventListenerHandlerLocation() argument
155 scriptId = String::number(scriptIdValue); in eventListenerHandlerLocation()

12