HomeSort by relevance Sort by last modified time
    Searched refs:scriptId (Results 1 - 25 of 49) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DefaultScriptMapping.js 53 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 script.addEventListener(WebInspector.Script.Events.ScriptEdited, this._scriptEdited.bind(this, script.scriptId));
92 * @param {string} scriptId
95 _scriptEdited: function(scriptId, event)
98 this._uiSourceCodeForScriptId[scriptId].addRevision(content)
    [all...]
Script.js 30 * @param {string} scriptId
40 WebInspector.Script = function(scriptId, sourceURL, startLine, startColumn, endLine, endColumn, isContentScript, sourceMapURL, hasSourceURL)
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(this));
164 if (this.scriptId)
165 DebuggerAgent.setScriptSource(this.scriptId, newSource, undefined, didEditScriptSource.bind(this))
    [all...]
LiveEditSupport.js 51 var script = WebInspector.debuggerModel.scriptForId(debuggerModelLocation.scriptId);
57 if (this._uiSourceCodeForScriptId[script.scriptId])
58 return this._uiSourceCodeForScriptId[script.scriptId];
63 liveEditUISourceCode.setScriptFile(new WebInspector.LiveEditScriptFile(uiSourceCode, liveEditUISourceCode, script.scriptId));
64 this._uiSourceCodeForScriptId[script.scriptId] = liveEditUISourceCode;
65 this._scriptIdForUISourceCode.put(liveEditUISourceCode, script.scriptId);
114 * @param {string} scriptId
116 WebInspector.LiveEditScriptFile = function(uiSourceCode, liveEditUISourceCode, scriptId)
121 this._scriptId = scriptId;
144 WebInspector.debuggerModel.setScriptSource(script.scriptId, this._liveEditUISourceCode.workingCopy(), innerCallback.bind(this))
    [all...]
DebuggerModel.js 69 * @param {string} scriptId
73 WebInspector.DebuggerModel.Location = function(scriptId, lineNumber, columnNumber)
75 this.scriptId = scriptId;
268 var script = this.scriptForId(rawLocation.scriptId);
375 * @param {!DebuggerAgent.ScriptId} scriptId
378 scriptForId: function(scriptId)
380 return this._scripts[scriptId] || null;
394 * @param {!DebuggerAgent.ScriptId} scriptI
    [all...]
PresentationConsoleMessageHelper.js 106 if (script.scriptId === rawLocation.scriptId)
ScriptSnippetModel.js 221 * @param {string=} scriptId
225 function compileCallback(error, scriptId, syntaxErrorMessage)
235 if (!scriptId) {
247 this._runScript(scriptId);
252 * @param {!DebuggerAgent.ScriptId} scriptId
254 _runScript: function(scriptId)
257 DebuggerAgent.runScript(scriptId, currentExecutionContext ? currentExecutionContext.id : undefined, "console", false, runCallback.bind(this));
293 var uiSourceCode = this._uiSourceCodeForScriptId[rawLocation.scriptId];
328 this._uiSourceCodeForScriptId[script.scriptId] = uiSourceCode
    [all...]
AllocationProfile.js 259 WebInspector.FunctionAllocationInfo = function(functionName, scriptName, scriptId, line, column)
263 this.scriptId = scriptId;
CompilerScriptMapping.js 63 var sourceMap = this._sourceMapForScriptId[debuggerModelLocation.scriptId];
115 this._sourceMapForScriptId[script.scriptId] = sourceMap;
120 this._sourceMapForScriptId[script.scriptId] = sourceMap;
ContentProviders.js 131 result = result.concat(results[scripts[i].scriptId]);
142 results[script.scriptId] = [];
145 results[script.scriptId].push(searchMatch);
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
InjectedScriptHost.cpp 132 void InjectedScriptHost::debugFunction(const String& scriptId, int lineNumber, int columnNumber)
135 debuggerAgent->setBreakpoint(scriptId, lineNumber, columnNumber, InspectorDebuggerAgent::DebugCommandBreakpointSource);
138 void InjectedScriptHost::undebugFunction(const String& scriptId, int lineNumber, int columnNumber)
141 debuggerAgent->removeBreakpoint(scriptId, lineNumber, columnNumber, InspectorDebuggerAgent::DebugCommandBreakpointSource);
144 void InjectedScriptHost::monitorFunction(const String& scriptId, int lineNumber, int columnNumber, const String& functionName)
154 debuggerAgent->setBreakpoint(scriptId, lineNumber, columnNumber, InspectorDebuggerAgent::MonitorCommandBreakpointSource, builder.toString());
157 void InjectedScriptHost::unmonitorFunction(const String& scriptId, int lineNumber, int columnNumber)
160 debuggerAgent->removeBreakpoint(scriptId, lineNumber, columnNumber, InspectorDebuggerAgent::MonitorCommandBreakpointSource);
ScriptCallFrame.h 42 ScriptCallFrame(const String& functionName, const String& scriptId, const String& scriptName, unsigned lineNumber, unsigned column = 0);
46 const String& scriptId() const { return m_scriptId; }
InjectedScriptHost.h 88 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& functionName);
91 void unmonitorFunction(const String& scriptId, int lineNumber, int columnNumber);
ScriptCallFrame.cpp 36 ScriptCallFrame::ScriptCallFrame(const String& functionName, const String& scriptId, const String& scriptName, unsigned lineNumber, unsigned column)
38 , m_scriptId(scriptId)
InspectorDebuggerAgent.cpp 54 using WebCore::TypeBuilder::Debugger::ScriptId;
96 static String generateBreakpointId(const String& scriptId, int lineNumber, int columnNumber, InspectorDebuggerAgent::BreakpointSource source)
98 return scriptId + ':' + String::number(lineNumber) + ':' + String::number(columnNumber) + breakpointIdSuffix(source);
350 static bool parseLocation(ErrorString* errorString, PassRefPtr<JSONObject> location, String* scriptId, int* lineNumber, int* columnNumber)
352 if (!location->getString("scriptId", scriptId) || !location->getNumber("lineNumber", lineNumber)) {
354 *errorString = "scriptId and lineNumber are required.";
364 String scriptId;
368 if (!parseLocation(errorString, location, &scriptId, &lineNumber, &columnNumber))
373 String breakpointId = generateBreakpointId(scriptId, lineNumber, columnNumber, UserBreakpointSource)
    [all...]
ScriptDebugListener.h 68 virtual void didParseSource(const String& scriptId, const Script&) = 0;
InspectorDebuggerAgent.h 104 virtual void searchInContent(ErrorString*, const String& scriptId, const String& query, const bool* optionalCaseSensitive, const bool* optionalIsRegex, RefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch> >&);
105 virtual void setScriptSource(ErrorString*, RefPtr<TypeBuilder::Debugger::SetScriptSourceError>&, const String& scriptId, const String& newContent, const bool* preview, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> >& newCallFrames, RefPtr<JSONObject>& result, RefPtr<TypeBuilder::Debugger::StackTrace>& asyncStackTrace);
107 virtual void getScriptSource(ErrorString*, const String& scriptId, String* scriptSource);
125 void compileScript(ErrorString*, const String& expression, const String& sourceURL, TypeBuilder::OptOutput<TypeBuilder::Debugger::ScriptId>*, TypeBuilder::OptOutput<String>* syntaxErrorMessage);
126 void runScript(ErrorString*, const TypeBuilder::Debugger::ScriptId&, const int* executionContextId, const String* objectGroup, const bool* doNotPauseOnExceptionsAndMuteConsole, RefPtr<TypeBuilder::Runtime::RemoteObject>& result, TypeBuilder::OptOutput<bool>* wasThrown);
158 void setBreakpoint(const String& scriptId, int lineNumber, int columnNumber, BreakpointSource, const String& condition = String());
159 void removeBreakpoint(const String& scriptId, int lineNumber, int columnNumber, BreakpointSource);
191 virtual void didParseSource(const String& scriptId, const Script&);
196 PassRefPtr<TypeBuilder::Debugger::Location> resolveBreakpoint(const String& breakpointId, const String& scriptId, const ScriptBreakpoint&, BreakpointSource);
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
ScriptEventListener.h 52 bool eventListenerHandlerLocation(Document*, EventListener*, String& sourceName, String& scriptId, int& lineNumber);
PageScriptDebugServer.h 63 virtual void compileScript(ScriptState*, const String& expression, const String& sourceURL, String* scriptId, String* exceptionMessage);
65 virtual void runScript(ScriptState*, const String& scriptId, ScriptValue* result, bool* wasThrown, String* exceptionMessage);
PageScriptDebugServer.cpp 144 void PageScriptDebugServer::compileScript(ScriptState* state, const String& expression, const String& sourceURL, String* scriptId, String* exceptionMessage)
148 ScriptDebugServer::compileScript(state, expression, sourceURL, scriptId, exceptionMessage);
149 if (!scriptId->isNull())
150 m_compiledScriptURLs.set(*scriptId, sourceURL);
159 void PageScriptDebugServer::runScript(ScriptState* state, const String& scriptId, ScriptValue* result, bool* wasThrown, String* exceptionMessage)
161 String sourceURL = m_compiledScriptURLs.take(scriptId);
170 ScriptDebugServer::runScript(state, scriptId, result, wasThrown, exceptionMessage);
ScriptCallStackFactory.cpp 55 String scriptId = stringBuilder.toString();
68 return ScriptCallFrame(functionName, scriptId, sourceName, sourceLineNumber, sourceColumn);
ScriptDebugServer.h 99 virtual void compileScript(ScriptState*, const String& expression, const String& sourceURL, String* scriptId, String* exceptionMessage);
101 virtual void runScript(ScriptState*, const String& scriptId, ScriptValue* result, bool* wasThrown, String* exceptionMessage);
DebuggerScript.js 236 DebuggerScript.liveEditScriptSource = function(scriptId, newSource, preview)
241 if (scripts[i].id == scriptId) {
375 var scriptId = String(script.id());
378 scriptId: scriptId,
  /external/chromium_org/v8/test/mjsunit/
debug-clearbreakpointgroup.js 37 var scriptId = null;
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/v8/test/mjsunit/
debug-clearbreakpointgroup.js 37 var scriptId = null;
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/bindings/v8/custom/
V8InjectedScriptHostCustom.cpp 213 location->Set(v8AtomicString(isolate, "scriptId"), v8::Integer::New(function->ScriptId(), isolate)->ToString());
376 static bool getFunctionLocation(const v8::FunctionCallbackInfo<v8::Value>& info, String* scriptId, int* lineNumber, int* columnNumber)
388 *scriptId = String::number(function->ScriptId());
394 String scriptId;
397 if (!getFunctionLocation(info, &scriptId, &lineNumber, &columnNumber))
401 host->debugFunction(scriptId, lineNumber, columnNumber);
406 String scriptId;
409 if (!getFunctionLocation(info, &scriptId, &lineNumber, &columnNumber)
    [all...]

Completed in 333 milliseconds

1 2