Home
last modified time | relevance | path

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

1234

/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DCompilerScriptMapping.js125 var sourceURL = sourceURLs[i];
126 if (this._sourceMapForURL.get(sourceURL))
128 this._sourceMapForURL.put(sourceURL, sourceMap);
129 …if (!this._workspace.hasMappingForURL(sourceURL) && !this._workspace.uiSourceCodeForURL(sourceURL)…
130 …var contentProvider = sourceMap.sourceContentProvider(sourceURL, WebInspector.resourceTypes.Script…
131 this._networkWorkspaceProvider.addFileForURL(sourceURL, contentProvider, true);
133 var uiSourceCode = this._workspace.uiSourceCodeForURL(sourceURL);
138 …("Failed to locate workspace file mapped to URL %s from source map %s", sourceURL, sourceMap.url()…
184 …ar scriptURL = WebInspector.ParsedURL.completeURL(WebInspector.inspectedPageURL, script.sourceURL);
240 var sourceURL = sourceURLs[i];
[all …]
DScript.js40 WebInspector.Script = function(scriptId, sourceURL, startLine, startColumn, endLine, endColumn, isC… argument
43 this.sourceURL = sourceURL;
69 return this.sourceURL;
176 return !!this.sourceURL && !startsAtZero;
184 return !this.sourceURL;
192 … return !!this.sourceURL && this.sourceURL.startsWith(WebInspector.Script.snippetSourceURLPrefix);
DSourceMap.js122 sourceContent: function(sourceURL) argument
124 return this._sourceContentByURL[sourceURL];
132 sourceContentProvider: function(sourceURL, contentType) argument
134 var sourceContent = this.sourceContent(sourceURL);
137 return new WebInspector.CompilerSourceMappingContentProvider(sourceURL, contentType);
193 findEntryReversed: function(sourceURL, lineNumber) argument
195 var mappings = this._reverseMappingsBySourceURL[sourceURL];
232 var sourceURL = sources[sourceIndex];
256 sourceURL = sources[sourceIndex];
263 … this._mappings.push([lineNumber, columnNumber, sourceURL, sourceLineNumber, sourceColumnNumber]);
DSASSSourceMapping.js394 …if (!header.sourceMapURL || !header.sourceURL || header.isInline || !WebInspector.settings.cssSour…
396 …var completeSourceMapURL = WebInspector.ParsedURL.completeURL(header.sourceURL, header.sourceMapUR…
399 this._completeSourceMapURLForCSSURL[header.sourceURL] = completeSourceMapURL;
408 var sourceURL = header.sourceURL;
409 …if (!sourceURL || !header.sourceMapURL || header.isInline || !this._completeSourceMapURLForCSSURL[
411 delete this._sourceMapByStyleSheetURL[sourceURL];
412 delete this._completeSourceMapURLForCSSURL[sourceURL];
415 urls.remove(sourceURL);
419 … var completeSourceMapURL = WebInspector.ParsedURL.completeURL(sourceURL, header.sourceMapURL);
433 var sourceURL = headersWithSameSourceURL[0].sourceURL;
[all …]
DDebuggerModel.js269 if (script.sourceURL)
270 …this.setBreakpointByURL(script.sourceURL, rawLocation.lineNumber, rawLocation.columnNumber, condit…
386 scriptsForSourceURL: function(sourceURL) argument
388 if (!sourceURL)
390 return this._scriptsBySourceURL[sourceURL] || [];
499 …_parsedScriptSource: function(scriptId, sourceURL, startLine, startColumn, endLine, endColumn, isC… argument
501 …var script = new WebInspector.Script(scriptId, sourceURL, startLine, startColumn, endLine, endColu…
515 var scripts = this._scriptsBySourceURL[script.sourceURL];
518 this._scriptsBySourceURL[script.sourceURL] = scripts;
531 if (script.sourceURL)
[all …]
DNetworkUISourceCodeProvider.js74 if (!script.sourceURL || script.isInlineScript() || script.isSnippet())
78 var parsedURL = new WebInspector.ParsedURL(script.sourceURL);
82 this._addFile(script.sourceURL, script, script.isContentScript);
DResourceScriptMapping.js86 scriptsForSourceURL.put(script.sourceURL, scriptsForSourceURL.get(script.sourceURL) || []);
87 scriptsForSourceURL.get(script.sourceURL).push(script);
141 return this._workspace.uiSourceCodeForURL(script.sourceURL);
305 source += "\n //# sourceURL=" + this._script.sourceURL;
DScriptSnippetModel.js319 var snippetId = this._snippetIdForSourceURL(script.sourceURL);
324 if (!uiSourceCode || this._evaluationSourceURL(uiSourceCode) !== script.sourceURL)
399 _snippetIdForSourceURL: function(sourceURL) argument
402 if (!sourceURL.startsWith(snippetPrefix))
404 var splitURL = sourceURL.substring(snippetPrefix.length).split("_");
529 snippetIdForSourceURL: function(sourceURL) argument
531 return this._scriptSnippetModel._snippetIdForSourceURL(sourceURL);
DPresentationConsoleMessageHelper.js98 var messages = this._pendingConsoleMessages[script.sourceURL];
113 this._pendingConsoleMessages[script.sourceURL] = pendingMessages;
115 delete this._pendingConsoleMessages[script.sourceURL];
DLinkifier.js64 linkifyLocation: function(sourceURL, lineNumber, columnNumber, classes) argument
66 …var rawLocation = WebInspector.debuggerModel.createRawLocationByURL(sourceURL, lineNumber, columnN…
68 return WebInspector.linkifyResourceAsNode(sourceURL, lineNumber, classes);
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
DWebSocketChannel.cpp57 String sourceURL; in create() local
61 sourceURL = callStack->at(0).sourceURL(); in create()
70 …return WorkerThreadableWebSocketChannel::create(workerGlobalScope, client, mode, sourceURL, lineNu… in create()
77 return MainThreadWebSocketChannel::create(document, client, sourceURL, lineNumber); in create()
79 return MainThreadWebSocketChannel::create(document, client, sourceURL, lineNumber); in create()
DWorkerThreadableWebSocketChannel.cpp53 …, WebSocketChannelClient* client, const String& taskMode, const String& sourceURL, unsigned lineNu… in WorkerThreadableWebSocketChannel() argument
57 , m_sourceURLAtConnection(sourceURL) in WorkerThreadableWebSocketChannel()
60 m_bridge->initialize(sourceURL, lineNumber); in WorkerThreadableWebSocketChannel()
121 …etChannel::fail(const String& reason, MessageLevel level, const String& sourceURL, unsigned lineNu… in fail() argument
131 m_bridge->fail(reason, level, callStack->at(0).sourceURL(), callStack->at(0).lineNumber()); in fail()
132 } else if (sourceURL.isEmpty() && !lineNumber) { in fail()
138 m_bridge->fail(reason, level, sourceURL, lineNumber); in fail()
162 …Proxy, ExecutionContext* context, const String& taskMode, const String& sourceURL, unsigned lineNu… in Peer() argument
172 …m_mainWebSocketChannel = MainThreadWebSocketChannel::create(document, this, sourceURL, lineNumber); in Peer()
174 …m_mainWebSocketChannel = MainThreadWebSocketChannel::create(document, this, sourceURL, lineNumber); in Peer()
[all …]
DWorkerThreadableWebSocketChannel.h60 …, WebSocketChannelClient* client, const String& taskMode, const String& sourceURL, unsigned lineNu… in create() argument
62 …(new WorkerThreadableWebSocketChannel(workerGlobalScope, client, taskMode, sourceURL, lineNumber)); in create()
99 void fail(const String& reason, MessageLevel, const String& sourceURL, unsigned lineNumber);
114 …rLoaderProxy&, ExecutionContext*, const String& taskMode, const String& sourceURL, unsigned lineNu…
148 void fail(const String& reason, MessageLevel, const String& sourceURL, unsigned lineNumber);
165 …leWebSocketChannelClientWrapper>, const String& taskMode, const String& sourceURL, unsigned lineNu…
180 …lScope*, WebSocketChannelClient*, const String& taskMode, const String& sourceURL, unsigned lineNu…
188 …utionContext*, Peer*, const String& reason, MessageLevel, const String& sourceURL, unsigned lineNu…
/external/chromium_org/v8/tools/
DSourceMap.js141 sourceContent: function(sourceURL) argument
143 return this._sourceContentByURL[sourceURL];
151 sourceContentProvider: function(sourceURL, contentType) argument
153 var lastIndexOfDot = sourceURL.lastIndexOf(".");
154 var extension = lastIndexOfDot !== -1 ? sourceURL.substr(lastIndexOfDot + 1) : "";
156 var sourceContent = this.sourceContent(sourceURL);
159 … return new WebInspector.CompilerSourceMappingContentProvider(sourceURL, contentType, mimeType);
215 findEntryReversed: function(sourceURL, lineNumber) argument
217 var mappings = this._reverseMappingsBySourceURL[sourceURL];
254 var sourceURL = sources[sourceIndex];
[all …]
/external/chromium_org/third_party/WebKit/Source/core/frame/
DNavigator.cpp67 const String* sourceURL = frame->script().sourceURL(); in shouldHideFourDot() local
68 if (!sourceURL) in shouldHideFourDot()
70 …if (!(sourceURL->endsWith("/dqm_script.js") || sourceURL->endsWith("/dqm_loader.js") || sourceURL-… in shouldHideFourDot()
DConsole.cpp73 …me->page()->chrome().client().shouldReportDetailedMessageForSource(callStack->at(0).sourceURL())) { in reportMessageToClient()
77 …geSource, level, message, callStack->at(0).lineNumber(), callStack->at(0).sourceURL(), stackTrace); in reportMessageToClient()
/external/chromium_org/third_party/WebKit/Source/core/workers/
DWorkerObjectProxy.cpp62 …ortException(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL) in reportException() argument
64 …_messagingProxy, errorMessage.isolatedCopy(), lineNumber, columnNumber, sourceURL.isolatedCopy())); in reportException()
67 …eSource source, MessageLevel level, const String& message, int lineNumber, const String& sourceURL) in reportConsoleMessage() argument
69 …e, m_messagingProxy, source, level, message.isolatedCopy(), lineNumber, sourceURL.isolatedCopy())); in reportConsoleMessage()
DWorkerGlobalScope.cpp240 void WorkerGlobalScope::logExceptionToConsole(const String& errorMessage, const String& sourceURL, … in logExceptionToConsole() argument
242 …hread()->workerReportingProxy().reportException(errorMessage, lineNumber, columnNumber, sourceURL); in logExceptionToConsole()
250 …Source source, MessageLevel level, const String& message, const String& sourceURL, unsigned lineNu… in addMessage() argument
256 …read()->workerReportingProxy().reportConsoleMessage(source, level, message, lineNumber, sourceURL); in addMessage()
257 addMessageToWorkerConsole(source, level, message, sourceURL, lineNumber, 0, state); in addMessage()
260 …Source source, MessageLevel level, const String& message, const String& sourceURL, unsigned lineNu… in addMessageToWorkerConsole() argument
266 …tion::addMessageToConsole(this, source, LogMessageType, level, message, sourceURL, lineNumber, 0, … in addMessageToWorkerConsole()
DSharedWorkerGlobalScope.cpp82 …lScope::logExceptionToConsole(const String& errorMessage, const String& sourceURL, int lineNumber,… in logExceptionToConsole() argument
84 …WorkerGlobalScope::logExceptionToConsole(errorMessage, sourceURL, lineNumber, columnNumber, callSt… in logExceptionToConsole()
85 …addMessageToWorkerConsole(JSMessageSource, ErrorMessageLevel, errorMessage, sourceURL, lineNumber,… in logExceptionToConsole()
DWorkerReportingProxy.h44 …ception(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL) = 0;
45 …e(MessageSource, MessageLevel, const String& message, int lineNumber, const String& sourceURL) = 0;
/external/chromium_org/third_party/WebKit/Source/core/dom/
DExecutionContextClient.h63 …ssage(MessageSource, MessageLevel, const String& message, const String& sourceURL, unsigned lineNu…
66 …virtual void logExceptionToConsole(const String& errorMessage, const String& sourceURL, int lineNu…
73 …const String& message, const String& sourceURL, unsigned lineNumber) { addMessage(source, level, m… in addConsoleMessage() argument
DExecutionContext.cpp47 …t String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL, PassRefPtr<Scri… in PendingException() argument
51 , m_sourceURL(sourceURL) in PendingException()
121 bool ExecutionContext::shouldSanitizeScriptError(const String& sourceURL, AccessControlStatus corsS… in shouldSanitizeScriptError() argument
123 …return !(securityOrigin()->canRequest(completeURL(sourceURL)) || corsStatus == SharableCrossOrigin… in shouldSanitizeScriptError()
151 …Source source, MessageLevel level, const String& message, const String& sourceURL, unsigned lineNu… in addConsoleMessage() argument
155 m_client->addMessage(source, level, message, sourceURL, lineNumber, 0); in addConsoleMessage()
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DWorkerScriptController.cpp178 …V8TRYCATCH_FOR_V8STRINGRESOURCE_RETURN(V8StringResource<>, sourceURL, message->GetScriptResourceNa… in evaluate()
179 state->sourceURL = sourceURL; in evaluate()
200 …*errorEvent = m_workerGlobalScope.shouldSanitizeScriptError(state.sourceURL, NotSharableCrossOrigi… in evaluate()
201 …:createSanitizedError(0) : ErrorEvent::create(state.errorMessage, state.sourceURL, state.lineNumbe… in evaluate()
204 … ASSERT(!m_workerGlobalScope.shouldSanitizeScriptError(state.sourceURL, NotSharableCrossOrigin)); in evaluate()
205 …ImportedScript.release() : ErrorEvent::create(state.errorMessage, state.sourceURL, state.lineNumbe… in evaluate()
DV8LazyEventListener.h51 …nst AtomicString& eventParameterName, const String& code, const String& sourceURL, const TextPosit… in create() argument
53 …doptRef(new V8LazyEventListener(functionName, eventParameterName, code, sourceURL, position, node,… in create()
62 …onst AtomicString& eventParameterName, const String& code, const String sourceURL, const TextPosit…
DScriptEventListener.cpp62 String sourceURL; in createAttributeEventListener() local
71 sourceURL = node->document().url().string(); in createAttributeEventListener()
76 …eate(name.localName(), eventParameterName(node->isSVGElement()), value, sourceURL, position, node,… in createAttributeEventListener()
92 String sourceURL = frame->document()->url().string(); in createAttributeEventListener() local
94 …lName(), eventParameterName(frame->document()->isSVGDocument()), value, sourceURL, position, 0, to… in createAttributeEventListener()

1234