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

1234

/macosx-10.9.5/WebCore-7537.78.1/page/
H A DNavigator.cpp61 const String* sourceURL = frame->script()->sourceURL(); local
62 if (!sourceURL)
64 if (!(sourceURL->endsWith("/dqm_script.js") || sourceURL->endsWith("/dqm_loader.js") || sourceURL->endsWith("/tdqm_loader.js")))
H A DPageConsole.h48 static void printSourceURLAndLine(const String& sourceURL, unsigned lineNumber);
51 void addMessage(MessageSource, MessageLevel, const String& message, const String& sourceURL, unsigned lineNumber, unsigned columnNumber, PassRefPtr<ScriptCallStack> = 0, ScriptState* = 0, unsigned long requestIdentifier = 0);
/macosx-10.9.5/WebCore-7537.78.1/workers/
H A DWorkerReportingProxy.h46 virtual void postExceptionToWorkerObject(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL) = 0;
48 virtual void postConsoleMessageToWorkerObject(MessageSource, MessageLevel, const String& message, int lineNumber, int columnNumber, const String& sourceURL) = 0;
H A DSharedWorkerContext.cpp82 void SharedWorkerContext::logExceptionToConsole(const String& errorMessage, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtr<ScriptCallStack> callStack) argument
84 WorkerContext::logExceptionToConsole(errorMessage, sourceURL, lineNumber, columnNumber, callStack);
85 addMessageToWorkerConsole(JSMessageSource, ErrorMessageLevel, errorMessage, sourceURL, lineNumber, columnNumber, callStack);
/macosx-10.9.5/WebKit2-7537.78.2/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);
/macosx-10.9.5/WebKit-7537.78.2/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;
/macosx-10.9.5/WebCore-7537.78.1/inspector/front-end/
H A DCompilerScriptMapping.js118 var sourceURL = sourceURLs[i];
119 if (this._sourceMapForURL[sourceURL])
121 this._sourceMapForURL[sourceURL] = sourceMap;
122 if (!this._workspace.hasMappingForURL(sourceURL) && !this._workspace.uiSourceCodeForURL(sourceURL)) {
123 var sourceContent = sourceMap.sourceContent(sourceURL);
128 contentProvider = new WebInspector.CompilerSourceMappingContentProvider(sourceURL);
129 this._networkWorkspaceProvider.addFileForURL(sourceURL, contentProvider, true);
131 var uiSourceCode = this._workspace.uiSourceCodeForURL(sourceURL);
165 // script.sourceURL ca
[all...]
H A DScript.js31 * @param {string} sourceURL
40 WebInspector.Script = function(scriptId, sourceURL, startLine, startColumn, endLine, endColumn, isContentScript, sourceMapURL, hasSourceURL)
43 this.sourceURL = sourceURL;
67 return this.sourceURL;
171 return !!this.sourceURL && !startsAtZero;
179 return !this.sourceURL;
203 return this.sourceURL && this.sourceURL.startsWith(WebInspector.Script.snippetSourceURLPrefix);
H A DNetworkUISourceCodeProvider.js70 if (!script.sourceURL || script.isInlineScript())
77 // - scripts with explicit sourceURL comment;
80 var requestURL = script.sourceURL.replace(/#.*/, "");
86 var parsedURL = new WebInspector.ParsedURL(script.sourceURL);
90 this._addFile(script.sourceURL, script, script.isContentScript);
H A DDebuggerModel.js173 if (script.sourceURL)
174 this.setBreakpointByURL(script.sourceURL, rawLocation.lineNumber, rawLocation.columnNumber, condition, callback);
367 * @param {string} sourceURL
376 _parsedScriptSource: function(scriptId, sourceURL, startLine, startColumn, endLine, endColumn, isContentScript, sourceMapURL, hasSourceURL)
378 var script = new WebInspector.Script(scriptId, sourceURL, startLine, startColumn, endLine, endColumn, isContentScript, sourceMapURL, hasSourceURL);
380 var existingScripts = this._scriptsBySourceURL[script.sourceURL] || [];
398 if (script.sourceURL) {
399 var scripts = this._scriptsBySourceURL[script.sourceURL];
402 this._scriptsBySourceURL[script.sourceURL] = scripts;
416 if (script.sourceURL)
[all...]
H A DResourceScriptMapping.js94 scriptsForSourceURL[script.sourceURL] = scriptsForSourceURL[script.sourceURL] || [];
95 scriptsForSourceURL[script.sourceURL].push(script);
150 if (!script.isInlineScript() && this._inlineScriptsForSourceURL[script.sourceURL])
152 return this._workspace.uiSourceCodeForURL(script.sourceURL);
220 for (var sourceURL in scriptsForSourceURL) {
221 var scripts = scriptsForSourceURL[sourceURL];
313 source += "\n //@ sourceURL=" + this._script.sourceURL;
H A DSourceMap.js88 * @param {string} sourceURL
91 sourceContent: function(sourceURL)
93 return this._sourceContentByURL[sourceURL];
145 * @param {string} sourceURL of the originating resource
149 findEntryReversed: function(sourceURL, lineNumber)
151 var mappings = this._reverseMappingsBySourceURL[sourceURL];
185 var sourceURL = sources[sourceIndex];
209 sourceURL = sources[sourceIndex];
216 this._mappings.push([lineNumber, columnNumber, sourceURL, sourceLineNumber, sourceColumnNumber]);
H A DLinkifier.js58 * @param {string} sourceURL
64 linkifyLocation: function(sourceURL, lineNumber, columnNumber, classes)
66 var rawLocation = WebInspector.debuggerModel.createRawLocationByURL(sourceURL, lineNumber, columnNumber || 0);
68 return WebInspector.linkifyResourceAsNode(sourceURL, lineNumber, classes);
H A DPresentationConsoleMessageHelper.js98 var messages = this._pendingConsoleMessages[script.sourceURL];
113 this._pendingConsoleMessages[script.sourceURL] = pendingMessages;
115 delete this._pendingConsoleMessages[script.sourceURL];
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/efl/
H A DContextHistoryClientEfl.h51 static void didPerformClientRedirect(WKContextRef, WKPageRef, WKURLRef sourceURL, WKURLRef, WKFrameRef, const void*);
52 static void didPerformServerRedirect(WKContextRef, WKPageRef, WKURLRef sourceURL, WKURLRef, WKFrameRef, const void*);
H A DContextHistoryClientEfl.cpp59 void ContextHistoryClientEfl::didPerformClientRedirect(WKContextRef, WKPageRef page, WKURLRef sourceURL, WKURLRef destinationURL, WKFrameRef, const void* clientInfo) argument
66 WKEinaSharedString sourceURLString(sourceURL);
72 void ContextHistoryClientEfl::didPerformServerRedirect(WKContextRef, WKPageRef page, WKURLRef sourceURL, WKURLRef destinationURL, WKFrameRef, const void* clientInfo) argument
79 WKEinaSharedString sourceURLString(sourceURL);
/macosx-10.9.5/WebKit-7537.78.2/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);
/macosx-10.9.5/JavaScriptCore-7537.78.1/profiler/
H A DLegacyProfiler.h51 static CallIdentifier createCallIdentifier(ExecState*, JSValue, const WTF::String& sourceURL, int lineNumber);
58 void willExecute(ExecState* callerCallFrame, const WTF::String& sourceURL, int startingLineNumber);
60 void didExecute(ExecState* callerCallFrame, const WTF::String& sourceURL, int startingLineNumber);
/macosx-10.9.5/WebCore-7537.78.1/bindings/js/
H A DJSLazyEventListener.h33 static PassRefPtr<JSLazyEventListener> create(const String& functionName, const String& eventParameterName, const String& code, Node* node, const String& sourceURL, const TextPosition& position, JSC::JSObject* wrapper, DOMWrapperWorld* isolatedWorld) argument
35 return adoptRef(new JSLazyEventListener(functionName, eventParameterName, code, node, sourceURL, position, wrapper, isolatedWorld));
40 JSLazyEventListener(const String& functionName, const String& eventParameterName, const String& code, Node*, const String& sourceURL, const TextPosition&, JSC::JSObject* wrapper, DOMWrapperWorld* isolatedWorld);
H A DScriptEventListener.cpp63 String sourceURL; local
72 sourceURL = node->document()->url().string();
75 return JSLazyEventListener::create(name.localName().string(), eventParameterName(node->isSVGElement()), value, node, sourceURL, position, 0, mainThreadNormalWorld());
91 String sourceURL = frame->document()->url().string(); local
93 return JSLazyEventListener::create(name.localName().string(), eventParameterName(frame->document()->isSVGDocument()), value, 0, sourceURL, position, wrapper, mainThreadNormalWorld());
154 sourceName = funcExecutable->sourceURL();
/macosx-10.9.5/WebCore-7537.78.1/dom/
H A DScriptExecutionContext.cpp67 PendingException(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL, PassRefPtr<ScriptCallStack> callStack) argument
71 , m_sourceURL(sourceURL)
280 bool ScriptExecutionContext::sanitizeScriptError(String& errorMessage, int& lineNumber, String& sourceURL, CachedScript* cachedScript) argument
282 KURL targetURL = completeURL(sourceURL);
286 sourceURL = String();
291 void ScriptExecutionContext::reportException(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL, PassRefPtr<ScriptCallStack> callStack, CachedScript* cachedScript) argument
296 m_pendingExceptions->append(adoptPtr(new PendingException(errorMessage, lineNumber, columnNumber, sourceURL, callStack)));
301 if (!dispatchErrorEvent(errorMessage, lineNumber, sourceURL, cachedScript))
302 logExceptionToConsole(errorMessage, sourceURL, lineNumber, columnNumber, callStack);
314 void ScriptExecutionContext::addConsoleMessage(MessageSource source, MessageLevel level, const String& message, const String& sourceURL, unsigne argument
319 dispatchErrorEvent(const String& errorMessage, int lineNumber, const String& sourceURL, CachedScript* cachedScript) argument
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/API/
H A DJSBase.cpp45 JSValueRef JSEvaluateScript(JSContextRef ctx, JSStringRef script, JSObjectRef thisObject, JSStringRef sourceURL, int startingLineNumber, JSValueRef* exception) argument
58 SourceCode source = makeSource(script->string(), sourceURL->string(), TextPosition(OrdinalNumber::fromOneBasedInt(startingLineNumber), OrdinalNumber::first()));
76 bool JSCheckScriptSyntax(JSContextRef ctx, JSStringRef script, JSStringRef sourceURL, int startingLineNumber, JSValueRef* exception) argument
85 SourceCode source = makeSource(script->string(), sourceURL->string(), TextPosition(OrdinalNumber::fromOneBasedInt(startingLineNumber), OrdinalNumber::first()));
H A DJSBase.h104 @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.
105 @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.
109 JS_EXPORT JSValueRef JSEvaluateScript(JSContextRef ctx, JSStringRef script, JSObjectRef thisObject, JSStringRef sourceURL, int startingLineNumber, JSValueRef* exception);
116 @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.
117 @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.
121 JS_EXPORT bool JSCheckScriptSyntax(JSContextRef ctx, JSStringRef script, JSStringRef sourceURL, int startingLineNumber, JSValueRef* exception);
/macosx-10.9.5/WebCore-7537.78.1/inspector/
H A DScriptCallFrame.h51 const String& sourceURL() const { return m_scriptName; } function in class:WebCore::ScriptCallFrame

Completed in 142 milliseconds

1234