/external/chromium_org/v8/test/mjsunit/ |
H A D | debug-clearbreakpointgroup.js | 38 var scriptId = null; variable 72 scriptId = event_data.script().id(); 88 assertNotNull(scriptId); 93 var bp1 = Debug.setScriptBreakPointById(scriptId, 1, null, null, groupId1); 94 var bp2 = Debug.setScriptBreakPointById(scriptId, 1, null, null, groupId2); 95 var bp3 = Debug.setScriptBreakPointById(scriptId, 1, null, null, null); 96 var bp4 = Debug.setScriptBreakPointById(scriptId, 3, null, null, groupId1); 97 var bp5 = Debug.setScriptBreakPointById(scriptId, 4, null, null, groupId2);
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
H A D | ScriptCallFrame.cpp | 45 ScriptCallFrame::ScriptCallFrame(const String& functionName, const String& scriptId, const String& scriptName, unsigned lineNumber, unsigned column) argument 47 , m_scriptId(scriptId)
|
H A D | ScriptCallFrame.h | 43 ScriptCallFrame(const String& functionName, const String& scriptId, const String& scriptName, unsigned lineNumber, unsigned column = 0); 47 const String& scriptId() const { return m_scriptId; } function in class:blink::ScriptCallFrame
|
H A D | ConsoleMessage.cpp | 50 int ConsoleMessage::scriptId() const function in class:blink::ConsoleMessage 55 void ConsoleMessage::setScriptId(int scriptId) argument 57 m_scriptId = scriptId;
|
H A D | InjectedScriptHost.cpp | 118 void InjectedScriptHost::debugFunction(const String& scriptId, int lineNumber, int columnNumber) argument 121 debuggerAgent->setBreakpoint(scriptId, lineNumber, columnNumber, InspectorDebuggerAgent::DebugCommandBreakpointSource); 124 void InjectedScriptHost::undebugFunction(const String& scriptId, int lineNumber, int columnNumber) argument 127 debuggerAgent->removeBreakpoint(scriptId, lineNumber, columnNumber, InspectorDebuggerAgent::DebugCommandBreakpointSource); 130 void InjectedScriptHost::monitorFunction(const String& scriptId, int lineNumber, int columnNumber, const String& functionName) argument 140 debuggerAgent->setBreakpoint(scriptId, lineNumber, columnNumber, InspectorDebuggerAgent::MonitorCommandBreakpointSource, builder.toString()); 143 void InjectedScriptHost::unmonitorFunction(const String& scriptId, int lineNumber, int columnNumber) argument 146 debuggerAgent->removeBreakpoint(scriptId, lineNumber, columnNumber, InspectorDebuggerAgent::MonitorCommandBreakpointSource);
|
H A D | InjectedScriptBase.cpp | 72 int scriptId = 0; local 73 stackFrame->getNumber("scriptId", &scriptId); 81 .setScriptId(String::number(scriptId))
|
H A D | InspectorTraceEvents.cpp | 343 PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorFunctionCallEvent::data(ExecutionContext* context, int scriptId, const String& scriptName, int scriptLine) argument 346 value->setString("scriptId", String::number(scriptId));
|
H A D | TimelineRecordFactory.cpp | 80 PassRefPtr<JSONObject> TimelineRecordFactory::createFunctionCallData(int scriptId, const String& scriptName, int scriptLine) argument 83 data->setString("scriptId", String::number(scriptId));
|
H A D | InjectedScriptSource.js | 1385 this.location = { scriptId: toString(callFrame.sourceID), lineNumber: callFrame.line, columnNumber: callFrame.column, __proto__: null };
|
H A D | InspectorDOMAgent.cpp | 1726 String scriptId; local 1729 if (!eventListenerHandlerLocation(&node->document(), eventListener.get(), sourceName, scriptId, lineNumber, columnNumber)) 1734 .setScriptId(scriptId)
|
H A D | InspectorDebuggerAgent.cpp | 114 static String generateBreakpointId(const String& scriptId, int lineNumber, int columnNumber, InspectorDebuggerAgent::BreakpointSource source) argument 116 return scriptId + ':' + String::number(lineNumber) + ':' + String::number(columnNumber) + breakpointIdSuffix(source); 380 static bool parseLocation(ErrorString* errorString, PassRefPtr<JSONObject> location, String* scriptId, int* lineNumber, int* columnNumber) argument 382 if (!location->getString("scriptId", scriptId) || !location->getNumber("lineNumber", lineNumber)) { 384 *errorString = "scriptId and lineNumber are required."; 394 String scriptId; local 398 if (!parseLocation(errorString, location, &scriptId, &lineNumber, &columnNumber)) 403 String breakpointId = generateBreakpointId(scriptId, lineNumber, columnNumber, UserBreakpointSource); 409 actualLocation = resolveBreakpoint(breakpointId, scriptId, breakpoin 452 String scriptId; local 606 resolveBreakpoint(const String& breakpointId, const String& scriptId, const ScriptBreakpoint& breakpoint, BreakpointSource source) argument 636 searchInContent(ErrorString* error, const String& scriptId, const String& query, const bool* const optionalCaseSensitive, const bool* const optionalIsRegex, RefPtr<Array<blink::TypeBuilder::Page::SearchMatch> >& results) argument 645 setScriptSource(ErrorString* error, RefPtr<TypeBuilder::Debugger::SetScriptSourceError>& errorData, const String& scriptId, const String& newContent, const bool* const preview, RefPtr<Array<CallFrame> >& newCallFrames, RefPtr<JSONObject>& result, RefPtr<StackTrace>& asyncStackTrace) argument 681 getScriptSource(ErrorString* error, const String& scriptId, String* scriptSource) argument 1066 compileScript(ErrorString* errorString, const String& expression, const String& sourceURL, const int* executionContextId, TypeBuilder::OptOutput<ScriptId>* scriptId, RefPtr<ExceptionDetails>& exceptionDetails) argument 1095 runScript(ErrorString* errorString, const ScriptId& scriptId, const int* executionContextId, const String* const objectGroup, const bool* const doNotPauseOnExceptionsAndMuteConsole, RefPtr<RemoteObject>& result, RefPtr<ExceptionDetails>& exceptionDetails) argument 1286 String scriptId = stringBuilder.toString(); local 1339 didParseSource(const String& scriptId, const Script& parsedScript, CompileResult compileResult) argument 1512 setBreakpoint(const String& scriptId, int lineNumber, int columnNumber, BreakpointSource source, const String& condition) argument 1519 removeBreakpoint(const String& scriptId, int lineNumber, int columnNumber, BreakpointSource source) argument [all...] |
H A D | InspectorTimelineAgent.cpp | 484 bool InspectorTimelineAgent::willCallFunction(ExecutionContext* context, int scriptId, const String& scriptName, int scriptLine) argument 486 pushCurrentRecord(TimelineRecordFactory::createFunctionCallData(scriptId, scriptName, scriptLine), TimelineRecordType::FunctionCall, true, frameForExecutionContext(context));
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
H A D | V8WorkerGlobalScopeEventListener.cpp | 85 int scriptId = 0; local 88 GetDevToolsFunctionInfo(handlerFunction, isolate(), scriptId, resourceName, lineNumber); 89 cookie = InspectorInstrumentation::willCallFunction(scriptState()->executionContext(), scriptId, resourceName, lineNumber);
|
H A D | ScriptCallStackFactory.cpp | 53 String scriptId = stringBuilder.toString(); local 66 return ScriptCallFrame(functionName, scriptId, sourceName, sourceLineNumber, sourceColumn);
|
H A D | ScriptEventListener.cpp | 155 bool eventListenerHandlerLocation(Document* document, EventListener* listener, String& sourceName, String& scriptId, int& lineNumber, int& columnNumber) argument 172 scriptId = String::number(scriptIdValue);
|
H A D | V8Initializer.cpp | 106 int scriptId = message->GetScriptOrigin().ScriptID()->Value(); local 111 int topScriptId = callStack->at(0).scriptId().toInt(&success); 112 if (success && topScriptId == scriptId) 113 scriptId = 0; 152 enteredWindow->document()->reportException(event.release(), scriptId, callStack, corsStatus); 154 enteredWindow->document()->reportException(event.release(), scriptId, callStack, corsStatus); 246 int scriptId = message->GetScriptOrigin().ScriptID()->Value(); local 255 context->reportException(event.release(), scriptId, nullptr, corsStatus);
|
H A D | PageScriptDebugServer.cpp | 171 void PageScriptDebugServer::compileScript(ScriptState* scriptState, const String& expression, const String& sourceURL, String* scriptId, String* exceptionDetailsText, int* lineNumber, int* columnNumber, RefPtrWillBeRawPtr<ScriptCallStack>* stackTrace) argument 175 ScriptDebugServer::compileScript(scriptState, expression, sourceURL, scriptId, exceptionDetailsText, lineNumber, columnNumber, stackTrace); 176 if (!scriptId->isNull()) 177 m_compiledScriptURLs.set(*scriptId, sourceURL); 186 void PageScriptDebugServer::runScript(ScriptState* scriptState, const String& scriptId, ScriptValue* result, bool* wasThrown, String* exceptionDetailsText, int* lineNumber, int* columnNumber, RefPtrWillBeRawPtr<ScriptCallStack>* stackTrace) argument 188 String sourceURL = m_compiledScriptURLs.take(scriptId); 200 ScriptDebugServer::runScript(scriptState, scriptId, result, wasThrown, exceptionDetailsText, lineNumber, columnNumber, stackTrace);
|
H A D | ScriptController.cpp | 156 int scriptId = 0; local 159 GetDevToolsFunctionInfo(function, isolate, scriptId, resourceName, lineNumber); 160 cookie = InspectorInstrumentation::willCallFunction(context, scriptId, resourceName, lineNumber);
|
H A D | DebuggerScript.js | 274 DebuggerScript.liveEditScriptSource = function(scriptId, newSource, preview) 279 if (scripts[i].id == scriptId) { 471 var scriptId = String(script.id()); 474 scriptId: scriptId,
|
H A D | ScriptDebugServer.cpp | 652 void ScriptDebugServer::compileScript(ScriptState* scriptState, const String& expression, const String& sourceURL, String* scriptId, String* exceptionDetailsText, int* lineNumber, int* columnNumber, RefPtrWillBeRawPtr<ScriptCallStack>* stackTrace) argument 674 *scriptId = String::number(script->GetUnboundScript()->GetId()); 675 m_compiledScripts.set(*scriptId, adoptPtr(new ScopedPersistent<v8::Script>(m_isolate, script))); 683 void ScriptDebugServer::runScript(ScriptState* scriptState, const String& scriptId, ScriptValue* result, bool* wasThrown, String* exceptionDetailsText, int* lineNumber, int* columnNumber, RefPtrWillBeRawPtr<ScriptCallStack>* stackTrace) argument 685 if (!m_compiledScripts.contains(scriptId)) 688 ScopedPersistent<v8::Script>* scriptHandle = m_compiledScripts.get(scriptId); 690 m_compiledScripts.remove(scriptId);
|
H A D | V8Binding.cpp | 961 void GetDevToolsFunctionInfo(v8::Handle<v8::Function> function, v8::Isolate* isolate, int& scriptId, String& resourceName, int& lineNumber) argument 964 scriptId = originalFunction->ScriptId(); 980 int scriptId = 0; local 983 GetDevToolsFunctionInfo(function, isolate, scriptId, resourceName, lineNumber); 984 return InspectorFunctionCallEvent::data(context, scriptId, resourceName, lineNumber);
|
/external/chromium_org/third_party/WebKit/Source/core/workers/ |
H A D | SharedWorkerGlobalScope.cpp | 81 void SharedWorkerGlobalScope::logExceptionToConsole(const String& errorMessage, int scriptId, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<ScriptCallStack> callStack) argument 83 WorkerGlobalScope::logExceptionToConsole(errorMessage, scriptId, sourceURL, lineNumber, columnNumber, callStack); 85 consoleMessage->setScriptId(scriptId);
|
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/ |
H A D | ServiceWorkerGlobalScope.cpp | 190 void ServiceWorkerGlobalScope::logExceptionToConsole(const String& errorMessage, int scriptId, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<ScriptCallStack> callStack) argument 192 WorkerGlobalScope::logExceptionToConsole(errorMessage, scriptId, sourceURL, lineNumber, columnNumber, callStack); 194 consoleMessage->setScriptId(scriptId);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | ExecutionContext.cpp | 48 PendingException(const String& errorMessage, int lineNumber, int columnNumber, int scriptId, const String& sourceURL, PassRefPtrWillBeRawPtr<ScriptCallStack> callStack) argument 52 , m_scriptId(scriptId) 135 void ExecutionContext::reportException(PassRefPtrWillBeRawPtr<ErrorEvent> event, int scriptId, PassRefPtrWillBeRawPtr<ScriptCallStack> callStack, AccessControlStatus corsStatus) argument 141 m_pendingExceptions->append(adoptPtrWillBeNoop(new PendingException(errorEvent->messageForConsole(), errorEvent->lineno(), errorEvent->colno(), scriptId, errorEvent->filename(), callStack))); 147 logExceptionToConsole(errorEvent->messageForConsole(), scriptId, errorEvent->filename(), errorEvent->lineno(), errorEvent->colno(), callStack);
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/ |
H A D | V8InjectedScriptHostCustom.cpp | 207 location->Set(v8AtomicString(isolate, "scriptId"), v8::Integer::New(isolate, function->ScriptId())->ToString()); 392 static bool getFunctionLocation(const v8::FunctionCallbackInfo<v8::Value>& info, String* scriptId, int* lineNumber, int* columnNumber) argument 401 *scriptId = String::number(function->ScriptId()); 407 String scriptId; local 410 if (!getFunctionLocation(info, &scriptId, &lineNumber, &columnNumber)) 414 host->debugFunction(scriptId, lineNumber, columnNumber); 419 String scriptId; local 422 if (!getFunctionLocation(info, &scriptId, &lineNumber, &columnNumber)) 426 host->undebugFunction(scriptId, lineNumber, columnNumber); 431 String scriptId; local 451 String scriptId; local [all...] |