Searched refs:sourceURL (Results 1 - 25 of 86) sorted by relevance

1234

/external/webkit/Source/WebCore/workers/
H A DWorkerReportingProxy.h47 virtual void postExceptionToWorkerObject(const String& errorMessage, int lineNumber, const String& sourceURL) = 0;
49 virtual void postConsoleMessageToWorkerObject(MessageSource, MessageType, MessageLevel, const String& message, int lineNumber, const String& sourceURL) = 0;
H A DWorkerMessagingProxy.cpp109 static PassOwnPtr<WorkerExceptionTask> create(const String& errorMessage, int lineNumber, const String& sourceURL, WorkerMessagingProxy* messagingProxy) argument
111 return new WorkerExceptionTask(errorMessage, lineNumber, sourceURL, messagingProxy);
115 WorkerExceptionTask(const String& errorMessage, int lineNumber, const String& sourceURL, WorkerMessagingProxy* messagingProxy) argument
118 , m_sourceURL(sourceURL.crossThreadString())
277 void WorkerMessagingProxy::postExceptionToWorkerObject(const String& errorMessage, int lineNumber, const String& sourceURL) argument
279 m_scriptExecutionContext->postTask(WorkerExceptionTask::create(errorMessage, lineNumber, sourceURL, this));
282 static void postConsoleMessageTask(ScriptExecutionContext* context, WorkerMessagingProxy* messagingProxy, MessageSource source, MessageType type, MessageLevel level, const String& message, unsigned lineNumber, const String& sourceURL) argument
286 context->addMessage(source, type, level, message, lineNumber, sourceURL, 0);
289 void WorkerMessagingProxy::postConsoleMessageToWorkerObject(MessageSource source, MessageType type, MessageLevel level, const String& message, int lineNumber, const String& sourceURL) argument
291 m_scriptExecutionContext->postTask(createCallbackTask(&postConsoleMessageTask, this, source, type, level, message, lineNumber, sourceURL));
[all...]
/external/webkit/Source/WebCore/inspector/front-end/
H A DScript.js26 WebInspector.Script = function(sourceID, sourceURL, lineOffset, columnOffset, length, errorLine, errorMessage, isContentScript)
29 this.sourceURL = sourceURL;
H A DDebuggerModel.js82 if (url === script.sourceURL && lineNumber === script.lineOffset)
134 return this.queryScripts(function(s) { return s.sourceURL === url; });
182 _parsedScriptSource: function(sourceID, sourceURL, lineOffset, columnOffset, length, isContentScript)
184 var script = new WebInspector.Script(sourceID, sourceURL, lineOffset, columnOffset, length, undefined, undefined, isContentScript);
189 _failedToParseScriptSource: function(sourceURL, source, startingLine, errorLine, errorMessage)
191 var script = new WebInspector.Script(null, sourceURL, startingLine, errorLine, errorMessage, undefined);
230 scriptParsed: function(sourceID, sourceURL, lineOffset, columnOffset, length, isContentScript)
232 this._debuggerModel._parsedScriptSource(sourceID, sourceURL, lineOffset, columnOffset, length, isContentScript);
235 scriptFailedToParse: function(sourceURL, source, startingLine, errorLine, errorMessage)
237 this._debuggerModel._failedToParseScriptSource(sourceURL, sourc
[all...]
/external/webkit/Source/WebCore/bindings/js/
H A DScriptEventListener.cpp60 String sourceURL; local
69 sourceURL = node->document()->url().string();
72 return JSLazyEventListener::create(attr->localName().string(), eventParameterName(node->isSVGElement()), attr->value(), node, sourceURL, lineNumber, 0, mainThreadNormalWorld());
85 String sourceURL; local
92 sourceURL = frame->document()->url().string();
94 return JSLazyEventListener::create(attr->localName().string(), eventParameterName(frame->document()->isSVGDocument()), attr->value(), 0, sourceURL, lineNumber, wrapper, mainThreadNormalWorld());
H A DJSLazyEventListener.h32 static PassRefPtr<JSLazyEventListener> create(const String& functionName, const String& eventParameterName, const String& code, Node* node, const String& sourceURL, int lineNumber, JSC::JSObject* wrapper, DOMWrapperWorld* isolatedWorld) argument
34 return adoptRef(new JSLazyEventListener(functionName, eventParameterName, code, node, sourceURL, lineNumber, wrapper, isolatedWorld));
39 JSLazyEventListener(const String& functionName, const String& eventParameterName, const String& code, Node*, const String& sourceURL, int lineNumber, JSC::JSObject* wrapper, DOMWrapperWorld* isolatedWorld);
/external/webkit/Source/WebKit2/UIProcess/
H A DWebHistoryClient.h43 void didPerformClientRedirect(WebContext*, WebPageProxy*, const String& sourceURL, const String& destinationURL, WebFrameProxy*);
44 void didPerformServerRedirect(WebContext*, WebPageProxy*, const String& sourceURL, const String& destinationURL, WebFrameProxy*);
H A DWebHistoryClient.cpp46 void WebHistoryClient::didPerformClientRedirect(WebContext* context, WebPageProxy* page, const String& sourceURL, const String& destinationURL, WebFrameProxy* frame) argument
51 m_client.didPerformClientRedirect(toAPI(context), toAPI(page), toURLRef(sourceURL.impl()), toURLRef(destinationURL.impl()), toAPI(frame), m_client.clientInfo);
54 void WebHistoryClient::didPerformServerRedirect(WebContext* context, WebPageProxy* page, const String& sourceURL, const String& destinationURL, WebFrameProxy* frame) argument
59 m_client.didPerformServerRedirect(toAPI(context), toAPI(page), toURLRef(sourceURL.impl()), toURLRef(destinationURL.impl()), toAPI(frame), m_client.clientInfo);
/external/webkit/Source/WebKit/chromium/public/
H A DWebCommonWorkerClient.h56 const WebString& sourceURL) = 0;
62 const WebString& message, int lineNumber, const WebString& sourceURL) = 0;
65 const WebString& message, int lineNumber, const WebString& sourceURL)
68 message, lineNumber, sourceURL);
64 postConsoleMessageToWorkerObject(int sourceIdentifier, int messageType, int messageLevel, const WebString& message, int lineNumber, const WebString& sourceURL) argument
/external/webkit/Source/WebKit/mac/WebView/
H A DWebHistoryDelegate.h36 - (void)webView:(WebView *)webView didPerformClientRedirectFromURL:(NSString *)sourceURL toURL:(NSString *)destinationURL inFrame:(WebFrame *)webFrame;
38 - (void)webView:(WebView *)webView didPerformServerRedirectFromURL:(NSString *)sourceURL toURL:(NSString *)destinationURL inFrame:(WebFrame *)webFrame;
/external/webkit/Tools/DumpRenderTree/mac/
H A DHistoryDelegate.mm56 - (void)webView:(WebView *)webView didPerformClientRedirectFromURL:(NSString *)sourceURL toURL:(NSString *)destinationURL inFrame:(WebFrame *)webFrame
58 NSURL *source = [NSURL URLWithString:sourceURL];
63 - (void)webView:(WebView *)webView didPerformServerRedirectFromURL:(NSString *)sourceURL toURL:(NSString *)destinationURL inFrame:(WebFrame *)webFrame
65 NSURL *source = [NSURL URLWithString:sourceURL];
/external/webkit/Source/JavaScriptCore/API/
H A DJSBase.cpp45 JSValueRef JSEvaluateScript(JSContextRef ctx, JSStringRef script, JSObjectRef thisObject, JSStringRef sourceURL, int startingLineNumber, JSValueRef* exception) argument
54 SourceCode source = makeSource(script->ustring(), sourceURL->ustring(), startingLineNumber);
70 bool JSCheckScriptSyntax(JSContextRef ctx, JSStringRef script, JSStringRef sourceURL, int startingLineNumber, JSValueRef* exception) argument
75 SourceCode source = makeSource(script->ustring(), sourceURL->ustring(), startingLineNumber);
H A DJSBase.h100 @param sourceURL A JSString containing a URL for the script's source file. This is only used when reporting exceptions. Pass NULL if you do not care to include source file information in exceptions.
101 @param startingLineNumber An integer value specifying the script's starting line number in the file located at sourceURL. This is only used when reporting exceptions.
105 JS_EXPORT JSValueRef JSEvaluateScript(JSContextRef ctx, JSStringRef script, JSObjectRef thisObject, JSStringRef sourceURL, int startingLineNumber, JSValueRef* exception);
112 @param sourceURL A JSString containing a URL for the script's source file. This is only used when reporting exceptions. Pass NULL if you do not care to include source file information in exceptions.
113 @param startingLineNumber An integer value specifying the script's starting line number in the file located at sourceURL. This is only used when reporting exceptions.
117 JS_EXPORT bool JSCheckScriptSyntax(JSContextRef ctx, JSStringRef script, JSStringRef sourceURL, int startingLineNumber, JSValueRef* exception);
/external/webkit/Source/JavaScriptCore/runtime/
H A DFunctionConstructor.h39 JSObject* constructFunction(ExecState*, JSGlobalObject*, const ArgList&, const Identifier& functionName, const UString& sourceURL, int lineNumber);
/external/webkit/Source/WebCore/inspector/
H A DScriptCallFrame.h47 const String& sourceURL() const { return m_scriptName; } function in class:WebCore::ScriptCallFrame
/external/webkit/Source/WebKit/win/Interfaces/
H A DIWebHistoryDelegate.idl45 HRESULT didPerformClientRedirectFromURL([in] IWebView* webView, [in] BSTR sourceURL, [in] BSTR destinationURL, [in] IWebFrame* webFrame);
46 HRESULT didPerformServerRedirectFromURL([in] IWebView* webView, [in] BSTR sourceURL, [in] BSTR destinationURL, [in] IWebFrame* webFrame);
/external/webkit/Source/JavaScriptCore/profiler/
H A DProfiler.h57 static CallIdentifier createCallIdentifier(ExecState* exec, JSValue, const UString& sourceURL, int lineNumber);
64 void willExecute(ExecState* callerCallFrame, const UString& sourceURL, int startingLineNumber);
66 void didExecute(ExecState* callerCallFrame, const UString& sourceURL, int startingLineNumber);
/external/webkit/Source/WebCore/bindings/v8/
H A DV8LazyEventListener.h49 static PassRefPtr<V8LazyEventListener> create(const String& functionName, bool isSVGEvent, const String& code, const String& sourceURL, const TextPosition0& position, const WorldContextHandle& worldContext) argument
51 return adoptRef(new V8LazyEventListener(functionName, isSVGEvent, code, sourceURL, position, worldContext));
60 V8LazyEventListener(const String& functionName, bool isSVGEvent, const String& code, const String sourceURL, const TextPosition0& position, const WorldContextHandle& worldContext);
H A DScriptEventListener.cpp54 String sourceURL; local
62 sourceURL = node->document()->url().string();
65 return V8LazyEventListener::create(attr->localName().string(), node->isSVGElement(), attr->value(), sourceURL, position, WorldContextHandle(UseMainWorld));
82 String sourceURL = frame->document()->url().string(); local
83 return V8LazyEventListener::create(attr->localName().string(), frame->document()->isSVGDocument(), attr->value(), sourceURL, position, WorldContextHandle(UseMainWorld));
/external/webkit/Source/WebKit/chromium/src/
H A DWebWorkerClientImpl.cpp236 const WebString& sourceURL)
243 String(sourceURL)));
248 sourceURL,
251 m_scriptExecutionContext->reportException(errorMessage, lineNumber, sourceURL, 0);
260 const WebString& sourceURL)
270 String(sourceURL)));
278 String(sourceURL), 0);
286 const WebString& sourceURL)
288 postConsoleMessageToWorkerObject(0, sourceId, messageType, messageLevel, message, lineNumber, sourceURL);
377 const String& sourceURL)
234 postExceptionToWorkerObject(const WebString& errorMessage, int lineNumber, const WebString& sourceURL) argument
254 postConsoleMessageToWorkerObject(int destination, int sourceId, int messageType, int messageLevel, const WebString& message, int lineNumber, const WebString& sourceURL) argument
281 postConsoleMessageToWorkerObject(int sourceId, int messageType, int messageLevel, const WebString& message, int lineNumber, const WebString& sourceURL) argument
372 postExceptionToWorkerObjectTask( ScriptExecutionContext* context, WebWorkerClientImpl* thisPtr, const String& errorMessage, int lineNumber, const String& sourceURL) argument
388 postConsoleMessageToWorkerObjectTask(ScriptExecutionContext* context, WebWorkerClientImpl* thisPtr, int sourceId, int messageType, int messageLevel, const String& message, int lineNumber, const String& sourceURL) argument
400 message, lineNumber, sourceURL, 0); local
[all...]
/external/webkit/Source/WebCore/page/
H A DConsole.cpp71 static void printSourceURLAndLine(const String& sourceURL, unsigned lineNumber) argument
73 if (!sourceURL.isEmpty()) {
75 printf("%s:%d: ", sourceURL.utf8().data(), lineNumber);
77 printf("%s: ", sourceURL.utf8().data());
135 void Console::addMessage(MessageSource source, MessageType type, MessageLevel level, const String& message, unsigned lineNumber, const String& sourceURL) argument
137 addMessage(source, type, level, message, lineNumber, sourceURL, 0);
140 void Console::addMessage(MessageSource source, MessageType type, MessageLevel level, const String& message, unsigned lineNumber, const String& sourceURL, PassRefPtr<ScriptCallStack> callStack) argument
146 page->chrome()->client()->addMessageToConsole(source, type, level, message, lineNumber, sourceURL);
151 InspectorInstrumentation::addMessageToConsole(page, source, type, level, message, lineNumber, sourceURL);
156 printSourceURLAndLine(sourceURL, lineNumbe
[all...]
H A DNavigator.cpp95 const String* sourceURL = frame->script()->sourceURL(); local
96 if (!sourceURL)
98 if (!(sourceURL->endsWith("/dqm_script.js") || sourceURL->endsWith("/dqm_loader.js") || sourceURL->endsWith("/tdqm_loader.js")))
/external/webkit/Tools/DumpRenderTree/win/
H A DHistoryDelegate.cpp152 HRESULT HistoryDelegate::didPerformClientRedirectFromURL(IWebView*, BSTR sourceURL, BSTR destinationURL, IWebFrame*) argument
158 if (sourceURL)
159 source = urlSuitableForTestResult(wstringFromBSTR(sourceURL));
169 HRESULT HistoryDelegate::didPerformServerRedirectFromURL(IWebView* webView, BSTR sourceURL, BSTR destinationURL, IWebFrame* webFrame) argument
175 if (sourceURL)
176 source = urlSuitableForTestResult(wstringFromBSTR(sourceURL));
H A DHistoryDelegate.h50 /* [in] */ BSTR sourceURL,
56 /* [in] */ BSTR sourceURL,
/external/webkit/Source/WebCore/dom/
H A DScriptExecutionContext.h94 bool sanitizeScriptError(String& errorMessage, int& lineNumber, String& sourceURL);
95 void reportException(const String& errorMessage, int lineNumber, const String& sourceURL, PassRefPtr<ScriptCallStack>);
96 virtual void addMessage(MessageSource, MessageType, MessageLevel, const String& message, unsigned lineNumber, const String& sourceURL, PassRefPtr<ScriptCallStack>) = 0;
173 virtual void logExceptionToConsole(const String& errorMessage, int lineNumber, const String& sourceURL, PassRefPtr<ScriptCallStack>) = 0;
174 bool dispatchErrorEvent(const String& errorMessage, int lineNumber, const String& sourceURL);

Completed in 511 milliseconds

1234