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

1234

/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DCanvasRenderingContext.cpp42 const KURL& sourceURL = imageSource->sourceURL(); local
43 bool hasURL = (sourceURL.isValid() && !sourceURL.isAboutBlankURL());
46 if (sourceURL.protocolIsData() || m_cleanURLs.contains(sourceURL.string()))
48 if (m_dirtyURLs.contains(sourceURL.string()))
56 m_dirtyURLs.add(sourceURL.string());
58 m_cleanURLs.add(sourceURL.string());
H A DCanvasImageSource.h69 virtual const KURL& sourceURL() const { return blankURL(); } function in class:blink::CanvasImageSource
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
H A DWebSocketChannel.cpp54 String sourceURL; local
58 sourceURL = callStack->at(0).sourceURL();
64 return WorkerThreadableWebSocketChannel::create(*workerGlobalScope, client, sourceURL, lineNumber);
69 return NewWebSocketChannelImpl::create(document, client, sourceURL, lineNumber);
71 return MainThreadWebSocketChannel::create(document, client, sourceURL, lineNumber);
H A DWorkerThreadableWebSocketChannel.cpp112 WorkerThreadableWebSocketChannel::WorkerThreadableWebSocketChannel(WorkerGlobalScope& workerGlobalScope, WebSocketChannelClient* client, const String& sourceURL, unsigned lineNumber) argument
114 , m_sourceURLAtConnection(sourceURL)
117 m_bridge->initialize(sourceURL, lineNumber);
155 void WorkerThreadableWebSocketChannel::fail(const String& reason, MessageLevel level, const String& sourceURL, unsigned lineNumber) argument
165 m_bridge->fail(reason, level, callStack->at(0).sourceURL(), callStack->at(0).lineNumber());
166 } else if (sourceURL.isEmpty() && !lineNumber) {
172 m_bridge->fail(reason, level, sourceURL, lineNumber);
202 void Peer::initializeInternal(ExecutionContext* context, const String& sourceURL, unsigned lineNumber) argument
207 m_mainWebSocketChannel = NewWebSocketChannelImpl::create(document, this, sourceURL, lineNumber);
209 m_mainWebSocketChannel = MainThreadWebSocketChannel::create(document, this, sourceURL, lineNumbe
257 fail(const String& reason, MessageLevel level, const String& sourceURL, unsigned lineNumber) argument
394 initialize(const String& sourceURL, unsigned lineNumber) argument
442 fail(const String& reason, MessageLevel level, const String& sourceURL, unsigned lineNumber) argument
[all...]
H A DWorkerThreadableWebSocketChannel.h58 static WebSocketChannel* create(WorkerGlobalScope& workerGlobalScope, WebSocketChannelClient* client, const String& sourceURL, unsigned lineNumber) argument
60 return adoptRefCountedGarbageCollected(new WorkerThreadableWebSocketChannel(workerGlobalScope, client, sourceURL, lineNumber));
103 void fail(const String& reason, MessageLevel, const String& sourceURL, unsigned lineNumber);
141 void fail(const String& reason, MessageLevel, const String& sourceURL, unsigned lineNumber);
161 WorkerThreadableWebSocketChannel(WorkerGlobalScope&, WebSocketChannelClient*, const String& sourceURL, unsigned lineNumber);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
H A DScript.js32 * @param {string} sourceURL
41 WebInspector.Script = function(target, scriptId, sourceURL, startLine, startColumn, endLine, endColumn, isContentScript, sourceMapURL, hasSourceURL)
45 this.sourceURL = sourceURL;
88 return this.sourceURL;
166 return source + "\n //# sourceURL=" + this.sourceURL;
195 // We append correct sourceURL to script for consistency only. It's not actually needed for things to work correctly.
220 return !!this.sourceURL && !startsAtZero;
239 return !this.sourceURL;
[all...]
H A DSourceMap.js156 * @param {string} sourceURL
159 sourceContent: function(sourceURL)
161 return this._sourceContentByURL[sourceURL];
165 * @param {string} sourceURL
169 sourceContentProvider: function(sourceURL, contentType)
171 var sourceContent = this.sourceContent(sourceURL);
174 return new WebInspector.CompilerSourceMappingContentProvider(sourceURL, contentType);
226 * @param {string} sourceURL of the originating resource
231 findEntryReversed: function(sourceURL, lineNumber, span)
233 var mappings = this._reverseMappingsBySourceURL[sourceURL];
[all...]
H A DDebuggerModel.js67 /** @typedef {{location: ?WebInspector.DebuggerModel.Location, sourceURL: ?string, functionName: string, scopeChain: (Array.<!DebuggerAgent.Scope>|null)}} */
369 scriptsForSourceURL: function(sourceURL)
371 if (!sourceURL)
373 return this._scriptsBySourceURL.get(sourceURL) || [];
468 * @param {string} sourceURL
478 _parsedScriptSource: function(scriptId, sourceURL, startLine, startColumn, endLine, endColumn, isContentScript, sourceMapURL, hasSourceURL, hasSyntaxError)
480 var script = new WebInspector.Script(this.target(), scriptId, sourceURL, startLine, startColumn, endLine, endColumn, isContentScript, sourceMapURL, hasSourceURL);
497 var scripts = this._scriptsBySourceURL.get(script.sourceURL);
500 this._scriptsBySourceURL.set(script.sourceURL, scripts);
513 if (script.sourceURL)
[all...]
/external/chromium_org/third_party/WebKit/Source/core/workers/
H A DWorkerReportingProxy.h48 virtual void reportException(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL) = 0;
H A DSharedWorkerGlobalScope.cpp81 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);
84 RefPtrWillBeRawPtr<ConsoleMessage> consoleMessage = ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage, sourceURL, lineNumber);
H A DWorkerConsole.cpp56 consoleMessage->setURL(lastCaller.sourceURL());
H A DSharedWorkerGlobalScope.h66 virtual void logExceptionToConsole(const String& errorMessage, int scriptId, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<ScriptCallStack>) OVERRIDE;
H A DWorkerObjectProxy.h63 virtual void reportException(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL) OVERRIDE;
H A DWorkerMessagingProxy.h65 void reportException(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL);
66 void reportConsoleMessage(MessageSource, MessageLevel, const String& message, int lineNumber, const String& sourceURL);
H A DWorkerObjectProxy.cpp70 void WorkerObjectProxy::reportException(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL) argument
72 m_executionContext->postTask(createCrossThreadTask(&WorkerMessagingProxy::reportException, m_messagingProxy, errorMessage, lineNumber, columnNumber, sourceURL));
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DV8LazyEventListener.h51 static PassRefPtr<V8LazyEventListener> create(const AtomicString& functionName, const AtomicString& eventParameterName, const String& code, const String& sourceURL, const TextPosition& position, Node* node, v8::Isolate* isolate) argument
53 return adoptRef(new V8LazyEventListener(functionName, eventParameterName, code, sourceURL, position, node, isolate));
66 V8LazyEventListener(const AtomicString& functionName, const AtomicString& eventParameterName, const String& code, const String sourceURL, const TextPosition&, Node*, v8::Isolate*);
H A DWorkerScriptController.cpp88 String sourceURL; member in class:blink::FINAL
227 TOSTRING_DEFAULT(V8StringResource<>, sourceURL, message->GetScriptOrigin().ResourceName(), ScriptValue());
228 m_globalScopeExecutionState->sourceURL = sourceURL;
255 if (m_workerGlobalScope.shouldSanitizeScriptError(state.sourceURL, NotSharableCrossOrigin))
258 *errorEvent = ErrorEvent::create(state.errorMessage, state.sourceURL, state.lineNumber, state.columnNumber, m_world.get());
261 ASSERT(!m_workerGlobalScope.shouldSanitizeScriptError(state.sourceURL, NotSharableCrossOrigin));
266 event = ErrorEvent::create(state.errorMessage, state.sourceURL, state.lineNumber, state.columnNumber, m_world.get());
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/bindings/
H A DCompilerScriptMapping.js154 var sourceURL = sourceURLs[i];
155 if (this._sourceMapForURL.get(sourceURL))
157 this._sourceMapForURL.set(sourceURL, sourceMap);
158 if (!this._workspace.hasMappingForURL(sourceURL) && !this._workspace.uiSourceCodeForURL(sourceURL)) {
159 var contentProvider = sourceMap.sourceContentProvider(sourceURL, WebInspector.resourceTypes.Script);
160 this._networkWorkspaceBinding.addFileForURL(sourceURL, contentProvider, script.isContentScript());
162 var uiSourceCode = this._workspace.uiSourceCodeForURL(sourceURL);
167 missingSources.push(sourceURL);
238 // script.sourceURL ca
[all...]
H A DSASSSourceMapping.js394 if (!header.sourceMapURL || !header.sourceURL || header.isInline || !WebInspector.settings.cssSourceMapsEnabled.get())
396 var completeSourceMapURL = WebInspector.ParsedURL.completeURL(header.sourceURL, header.sourceMapURL);
399 this._completeSourceMapURLForCSSURL[header.sourceURL] = completeSourceMapURL;
408 var sourceURL = header.sourceURL;
409 if (!sourceURL || !header.sourceMapURL || header.isInline || !this._completeSourceMapURLForCSSURL[sourceURL])
411 delete this._sourceMapByStyleSheetURL[sourceURL];
412 delete this._completeSourceMapURLForCSSURL[sourceURL];
415 urls.remove(sourceURL);
433 var sourceURL = headersWithSameSourceURL[0].sourceURL; variable
[all...]
H A DScriptSnippetModel.js277 * @param {?string=} sourceURL
279 _runScript: function(scriptId, executionContext, sourceURL)
299 this._printRunScriptResult(target, result, sourceURL);
301 this._printRunOrCompileScriptResultFailure(target, exceptionDetails, sourceURL);
308 * @param {?string=} sourceURL
310 _printRunScriptResult: function(target, result, sourceURL)
318 sourceURL,
330 * @param {?string=} sourceURL
332 _printRunOrCompileScriptResultFailure: function(target, exceptionDetails, sourceURL)
340 sourceURL,
[all...]
H A DLinkifier.js147 * @param {string} sourceURL
153 linkifyScriptLocation: function(target, scriptId, sourceURL, lineNumber, columnNumber, classes)
155 var rawLocation = target && !target.isDetached() ? target.debuggerModel.createRawLocationByScriptId(scriptId, sourceURL, lineNumber, columnNumber || 0) : null;
156 var fallbackAnchor = WebInspector.linkifyResourceAsNode(sourceURL, lineNumber, classes);
193 WebInspector.BlackboxSupport.isBlackboxed(script.sourceURL, script.isContentScript()) :
227 return WebInspector.linkifyResourceAsNode(media.sourceURL, undefined, "subtitle", media.sourceURL);
/external/chromium_org/v8/tools/
H A DSourceMap.js138 * @param {string} sourceURL
141 sourceContent: function(sourceURL)
143 return this._sourceContentByURL[sourceURL];
147 * @param {string} sourceURL
151 sourceContentProvider: function(sourceURL, contentType)
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);
211 * @param {string} sourceURL o
[all...]
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DScriptCallFrame.h48 const String& sourceURL() const { return m_scriptName; } function in class:blink::ScriptCallFrame
/external/chromium_org/third_party/WebKit/public/web/
H A DWebServiceWorkerContextClient.h98 virtual void reportException(const WebString& errorMessage, int lineNumber, int columnNumber, const WebString& sourceURL) { } argument
101 virtual void reportConsoleMessage(int source, int level, const WebString& message, int lineNumber, const WebString& sourceURL) { } argument
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/
H A DObjectPopoverHelper.js84 var sourceURL = response.sourceURL;
85 if (rawLocation && sourceURL) {
87 var link = this._linkifier.linkifyRawLocation(rawLocation, sourceURL, "function-location-link");

Completed in 209 milliseconds

1234