Searched defs:sourceURL (Results 1 - 25 of 36) sorted by relevance

12

/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.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);
H A DNewWebSocketChannelImpl.cpp112 NewWebSocketChannelImpl::NewWebSocketChannelImpl(ExecutionContext* context, WebSocketChannelClient* client, const String& sourceURL, unsigned lineNumber, WebSocketHandle *handle) argument
120 , m_sourceURLAtConstruction(sourceURL)
239 void NewWebSocketChannelImpl::fail(const String& reason, MessageLevel level, const String& sourceURL, unsigned lineNumber) argument
247 executionContext()->addConsoleMessage(ConsoleMessage::create(JSMessageSource, level, message, 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...]
/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
H A DScriptDebugListener.h60 String sourceURL; member in class:blink::ScriptDebugListener::Script
H A DInjectedScriptBase.cpp74 String sourceURL; local
75 stackFrame->getString("scriptNameOrSourceURL", &sourceURL);
82 .setUrl(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 DScriptEventListener.cpp56 String sourceURL; local
65 sourceURL = node->document().url().string();
70 return V8LazyEventListener::create(name.localName(), eventParameterName, value, sourceURL, position, node, isolate);
86 String sourceURL = frame->document()->url().string(); local
88 return V8LazyEventListener::create(name.localName(), eventParameterName, value, sourceURL, position, 0, toIsolate(frame));
H A DV8LazyEventListener.cpp55 V8LazyEventListener::V8LazyEventListener(const AtomicString& functionName, const AtomicString& eventParameterName, const String& code, const String sourceURL, const TextPosition& position, Node* node, v8::Isolate* isolate) argument
60 , m_sourceURL(sourceURL)
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());
H A DPageScriptDebugServer.cpp171 void PageScriptDebugServer::compileScript(ScriptState* scriptState, const String& expression, const String& sourceURL, String* scriptId, String* exceptionDetailsText, int* lineNumber, int* columnNumber, RefPtrWillBeRawPtr<ScriptCallStack>* stackTrace) argument
175 ScriptDebugServer::compileScript(scriptState, expression, sourceURL, scriptId, exceptionDetailsText, lineNumber, columnNumber, stackTrace);
177 m_compiledScriptURLs.set(*scriptId, sourceURL);
188 String sourceURL = m_compiledScriptURLs.take(scriptId); local
192 TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "EvaluateScript", "data", InspectorEvaluateScriptEvent::data(frame, sourceURL, TextPosition::minimumPosition().m_line.oneBasedInt()));
197 cookie = InspectorInstrumentation::willEvaluateScript(frame, sourceURL, TextPosition::minimumPosition().m_line.oneBasedInt());
/external/chromium_org/third_party/WebKit/Source/core/workers/
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 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));
H A DWorkerGlobalScope.cpp265 void WorkerGlobalScope::logExceptionToConsole(const String& errorMessage, int, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<ScriptCallStack>) argument
267 thread()->workerReportingProxy().reportException(errorMessage, lineNumber, columnNumber, sourceURL);
H A DWorkerMessagingProxy.cpp167 void WorkerMessagingProxy::reportException(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL) argument
175 RefPtrWillBeRawPtr<ErrorEvent> event = ErrorEvent::create(errorMessage, sourceURL, lineNumber, columnNumber, 0);
181 void WorkerMessagingProxy::reportConsoleMessage(MessageSource source, MessageLevel level, const String& message, int lineNumber, const String& sourceURL) argument
192 RefPtrWillBeRawPtr<ConsoleMessage> consoleMessage = ConsoleMessage::create(source, level, message, sourceURL, lineNumber);
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
H A DServiceWorkerGlobalScope.cpp190 void ServiceWorkerGlobalScope::logExceptionToConsole(const String& errorMessage, int scriptId, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<ScriptCallStack> callStack) argument
192 WorkerGlobalScope::logExceptionToConsole(errorMessage, scriptId, sourceURL, lineNumber, columnNumber, callStack);
193 RefPtrWillBeRawPtr<ConsoleMessage> consoleMessage = ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage, sourceURL, lineNumber);
/external/chromium_org/third_party/WebKit/Source/web/
H A DServiceWorkerGlobalScopeProxy.cpp123 void ServiceWorkerGlobalScopeProxy::reportException(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL) argument
125 m_client.reportException(errorMessage, lineNumber, columnNumber, sourceURL);
/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/core/dom/
H A DExecutionContext.cpp48 PendingException(const String& errorMessage, int lineNumber, int columnNumber, int scriptId, const String& sourceURL, PassRefPtrWillBeRawPtr<ScriptCallStack> callStack) argument
53 , m_sourceURL(sourceURL)
130 bool ExecutionContext::shouldSanitizeScriptError(const String& sourceURL, AccessControlStatus corsStatus) argument
132 return !(securityOrigin()->canRequest(completeURL(sourceURL)) || corsStatus == SharableCrossOrigin);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/bindings/
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...]
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
H A DHTMLPreloadScanner.cpp155 void handlePictureSourceURL(String& sourceURL) argument
157 if (match(m_tagImpl, sourceTag) && m_matchedMediaAttribute && sourceURL.isEmpty())
158 sourceURL = m_srcsetImageCandidate.toString();
159 else if (match(m_tagImpl, imgTag) && !sourceURL.isEmpty())
160 setUrlToLoad(sourceURL, AllowURLReplacement);
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLImageElement.cpp652 const KURL& HTMLImageElement::sourceURL() const function in class:blink::HTMLImageElement

Completed in 6550 milliseconds

12