Home
last modified time | relevance | path

Searched refs:sourceURL (Results 1 – 25 of 70) sorted by relevance

123

/external/webkit/WebCore/page/
DConsole.cpp67 static void printSourceURLAndLine(const String& sourceURL, unsigned lineNumber) in printSourceURLAndLine() argument
69 if (!sourceURL.isEmpty()) { in printSourceURLAndLine()
71 printf("%s:%d: ", sourceURL.utf8().data(), lineNumber); in printSourceURLAndLine()
73 printf("%s: ", sourceURL.utf8().data()); in printSourceURLAndLine()
141 …Type type, MessageLevel level, const String& message, unsigned lineNumber, const String& sourceURL) in addMessage() argument
148 …page->chrome()->client()->addMessageToConsole(source, type, level, message, lineNumber, sourceURL); in addMessage()
150 …e->inspectorController()->addMessageToConsole(source, type, level, message, lineNumber, sourceURL); in addMessage()
155 printSourceURLAndLine(sourceURL, lineNumber); in addMessage()
174 …SMessageSource, type, level, message, lastCaller.lineNumber(), lastCaller.sourceURL().prettyURL()); in addMessage()
181 printSourceURLAndLine(lastCaller.sourceURL().prettyURL(), 0); in addMessage()
[all …]
DNavigator.cpp75 const String* sourceURL = frame->script()->sourceURL(); in shouldHideFourDot() local
76 if (!sourceURL) in shouldHideFourDot()
78 …if (!(sourceURL->endsWith("/dqm_script.js") || sourceURL->endsWith("/dqm_loader.js") || sourceURL-… in shouldHideFourDot()
/external/webkit/WebCore/inspector/front-end/
DScript.js26 WebInspector.Script = function(sourceID, sourceURL, source, startingLine, errorLine, errorMessage) argument
29 this.sourceURL = sourceURL;
39 if (!sourceURL) {
45 this.sourceURL = WebInspector.UIString("(program): %s", match[1]);
DScriptsPanel.js272 addScript: function(sourceID, sourceURL, source, startingLine, errorLine, errorMessage) argument
274 …var script = new WebInspector.Script(sourceID, sourceURL, source, startingLine, errorLine, errorMe…
276 if (sourceURL in WebInspector.resourceURLMap) {
277 var resource = WebInspector.resourceURLMap[sourceURL];
281 if (sourceURL in this._breakpointsURLMap && sourceID) {
282 var breakpoints = this._breakpointsURLMap[sourceURL];
657 if (script.resource && this._scriptsForURLsInFilesSelect[script.sourceURL])
660 this._scriptsForURLsInFilesSelect[script.sourceURL] = script;
666 …option.text = (script.sourceURL ? WebInspector.displayNameForURL(script.sourceURL) : WebInspector.…
/external/webkit/WebCore/workers/
DWorkerMessagingProxy.cpp114 …nTask> create(const String& errorMessage, int lineNumber, const String& sourceURL, WorkerMessaging… in create() argument
116 … return adoptRef(new WorkerExceptionTask(errorMessage, lineNumber, sourceURL, messagingProxy)); in create()
120 …WorkerExceptionTask(const String& errorMessage, int lineNumber, const String& sourceURL, WorkerMes… in WorkerExceptionTask() argument
123 , m_sourceURL(sourceURL.copy()) in WorkerExceptionTask()
261 …y::postExceptionToWorkerObject(const String& errorMessage, int lineNumber, const String& sourceURL) in postExceptionToWorkerObject() argument
263 …ExecutionContext->postTask(WorkerExceptionTask::create(errorMessage, lineNumber, sourceURL, this)); in postExceptionToWorkerObject()
266 …Type type, MessageLevel level, const String& message, unsigned lineNumber, const String& sourceURL) in postConsoleMessageTask() argument
270 context->addMessage(destination, source, type, level, message, lineNumber, sourceURL); in postConsoleMessageTask()
273 …ssageType type, MessageLevel level, const String& message, int lineNumber, const String& sourceURL) in postConsoleMessageToWorkerObject() argument
275 …(&postConsoleMessageTask, this, destination, source, type, level, message, lineNumber, sourceURL)); in postConsoleMessageToWorkerObject()
DDedicatedWorkerContext.cpp56 …orkerContext::forwardException(const String& errorMessage, int lineNumber, const String& sourceURL) in forwardException() argument
58 thread()->workerObjectProxy().postExceptionToWorkerObject(errorMessage, lineNumber, sourceURL); in forwardException()
61 …Type type, MessageLevel level, const String& message, unsigned lineNumber, const String& sourceURL) in addMessage() argument
63 …postConsoleMessageToWorkerObject(destination, source, type, level, message, lineNumber, sourceURL); in addMessage()
DWorkerObjectProxy.h52 …stExceptionToWorkerObject(const String& errorMessage, int lineNumber, const String& sourceURL) = 0;
54 …ce, MessageType, MessageLevel, const String& message, int lineNumber, const String& sourceURL) = 0;
DSharedWorkerContext.h54 …e, MessageType, MessageLevel, const String& message, unsigned lineNumber, const String& sourceURL);
56 …virtual void forwardException(const String& errorMessage, int lineNumber, const String& sourceURL);
DDedicatedWorkerContext.h57 …e, MessageType, MessageLevel, const String& message, unsigned lineNumber, const String& sourceURL);
59 …virtual void forwardException(const String& errorMessage, int lineNumber, const String& sourceURL);
DWorkerMessagingProxy.h65 …d postExceptionToWorkerObject(const String& errorMessage, int lineNumber, const String& sourceURL);
66 …Source, MessageType, MessageLevel, const String& message, int lineNumber, const String& sourceURL);
DWorkerContext.cpp267 …WorkerContext::reportException(const String& errorMessage, int lineNumber, const String& sourceURL) in reportException() argument
271 errorHandled = onerror()->reportError(errorMessage, sourceURL, lineNumber); in reportException()
274 forwardException(errorMessage, lineNumber, sourceURL); in reportException()
/external/webkit/JavaScriptCore/runtime/
DError.cpp41 …rrorType type, const UString& message, int lineNumber, intptr_t sourceID, const UString& sourceURL) in create() argument
89 if (!sourceURL.isNull()) in create()
90 …error->putWithAttributes(exec, Identifier(exec, "sourceURL"), jsString(exec, sourceURL), ReadOnly … in create()
121 …xec, ErrorType type, const UString& message, int line, intptr_t sourceID, const UString& sourceURL) in throwError() argument
123 JSObject* error = Error::create(exec, type, message, line, sourceID, sourceURL); in throwError()
DError.h54 …*, ErrorType, const UString& message, int lineNumber, intptr_t sourceID, const UString& sourceURL);
58 …*, ErrorType, const UString& message, int lineNumber, intptr_t sourceID, const UString& sourceURL);
DExceptionHelpers.cpp77 …enceError, message, line, codeBlock->ownerNode()->sourceID(), codeBlock->ownerNode()->sourceURL()); in createUndefinedVariableError()
139 …rror, errorMessage, line, codeBlock->ownerNode()->sourceID(), codeBlock->ownerNode()->sourceURL()); in createInvalidParamError()
160 …rror, errorMessage, line, codeBlock->ownerNode()->sourceID(), codeBlock->ownerNode()->sourceURL()); in createNotAConstructorError()
174 …, errorMessage, line, codeBlock->ownerNode()->sourceID(), codeBlock->ownerNode()->sourceURL()); in createNotAFunctionError()
204 …rror, errorMessage, line, codeBlock->ownerNode()->sourceID(), codeBlock->ownerNode()->sourceURL()); in createNotAnObjectError()
/external/webkit/JavaScriptCore/API/
DJSBase.cpp43 …ContextRef ctx, JSStringRef script, JSObjectRef thisObject, JSStringRef sourceURL, int startingLin… in JSEvaluateScript() argument
53 SourceCode source = makeSource(script->ustring(), sourceURL->ustring(), startingLineNumber); in JSEvaluateScript()
69 bool JSCheckScriptSyntax(JSContextRef ctx, JSStringRef script, JSStringRef sourceURL, int startingL… in JSCheckScriptSyntax() argument
75 SourceCode source = makeSource(script->ustring(), sourceURL->ustring(), startingLineNumber); in JSCheckScriptSyntax()
DJSBase.h111 …ContextRef ctx, JSStringRef script, JSObjectRef thisObject, JSStringRef sourceURL, int startingLin…
123 JS_EXPORT bool JSCheckScriptSyntax(JSContextRef ctx, JSStringRef script, JSStringRef sourceURL, int…
/external/webkit/JavaScriptCore/profiler/
DProfiler.cpp114 void Profiler::willExecute(ExecState* exec, const UString& sourceURL, int startingLineNumber) in willExecute() argument
118 …CallIdentifier callIdentifier = createCallIdentifier(&exec->globalData(), JSValue(), sourceURL, st… in willExecute()
130 void Profiler::didExecute(ExecState* exec, const UString& sourceURL, int startingLineNumber) in didExecute() argument
134 …rator::didExecute, createCallIdentifier(&exec->globalData(), JSValue(), sourceURL, startingLineNum… in didExecute()
156 …return CallIdentifier(name.isEmpty() ? AnonymousFunction : name, function->body()->sourceURL(), fu… in createCallIdentifierFromFunctionImp()
DProfiler.h55 …static CallIdentifier createCallIdentifier(JSGlobalData*, JSValue, const UString& sourceURL, int l…
61 void willExecute(ExecState*, const UString& sourceURL, int startingLineNumber);
63 void didExecute(ExecState*, const UString& sourceURL, int startingLineNumber);
DProfileGenerator.cpp61 UString sourceURL; in addParentForConsoleStart() local
64 exec->interpreter()->retrieveLastCaller(exec, lineNumber, sourceID, sourceURL, function); in addParentForConsoleStart()
65 …tifier(&exec->globalData(), function ? function.toThisObject(exec) : 0, sourceURL, lineNumber), m_… in addParentForConsoleStart()
/external/webkit/WebCore/bindings/js/
DJSWorkerContextCustom.cpp99 UString sourceURL; in importScripts() local
101 exec->interpreter()->retrieveLastCaller(exec, signedLineNumber, sourceID, sourceURL, function); in importScripts()
103 impl()->importScripts(urls, sourceURL, signedLineNumber >= 0 ? signedLineNumber : 0, ec); in importScripts()
DScriptController.cpp85 String sourceURL = jsSourceCode.provider()->url(); in evaluate() local
87 if (sourceURL.isNull() && !m_XSSAuditor->canEvaluateJavaScriptURL(sourceCode.source())) { in evaluate()
92 if (!sourceURL.isNull() && !m_XSSAuditor->canEvaluate(sourceCode.source())) { in evaluate()
107 m_sourceURL = &sourceURL; in evaluate()
DJSLazyEventListener.cpp100 UString sourceURL(executionContext->url().string()); in parseCode() local
106 …m_jsFunction = constructFunction(exec, args, Identifier(exec, m_functionName), sourceURL, m_lineNu… in parseCode()
DJSXMLHttpRequestCustom.cpp136 UString sourceURL; in send() local
138 exec->interpreter()->retrieveLastCaller(exec, signedLineNumber, sourceID, sourceURL, function); in send()
140 impl()->setLastSendURL(sourceURL); in send()
/external/webkit/WebCore/inspector/
DInspectorController.h245 void endGroup(MessageSource source, unsigned lineNumber, const String& sourceURL);
248 void addProfile(PassRefPtr<JSC::Profile>, unsigned lineNumber, const JSC::UString& sourceURL);
249 …shedMessageToConsole(PassRefPtr<JSC::Profile>, unsigned lineNumber, const JSC::UString& sourceURL);
250 …ingMessageToConsole(const JSC::UString& title, unsigned lineNumber, const JSC::UString& sourceURL);
/external/webkit/WebCore/dom/
DScriptExecutionContext.h66 …tual void reportException(const String& errorMessage, int lineNumber, const String& sourceURL) = 0;
67 …essageType, MessageLevel, const String& message, unsigned lineNumber, const String& sourceURL) = 0;

123