Home
last modified time | relevance | path

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

1234

/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
DCanvasRenderingContext.cpp42 const KURL& sourceURL = imageSource->sourceURL(); in wouldTaintOrigin() local
43 bool hasURL = (sourceURL.isValid() && !sourceURL.isAboutBlankURL()); in wouldTaintOrigin()
46 if (sourceURL.protocolIsData() || m_cleanURLs.contains(sourceURL.string())) in wouldTaintOrigin()
48 if (m_dirtyURLs.contains(sourceURL.string())) in wouldTaintOrigin()
56 m_dirtyURLs.add(sourceURL.string()); in wouldTaintOrigin()
58 m_cleanURLs.add(sourceURL.string()); in wouldTaintOrigin()
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
DWebSocketChannel.cpp54 String sourceURL; in create() local
58 sourceURL = callStack->at(0).sourceURL(); in create()
64 …return WorkerThreadableWebSocketChannel::create(*workerGlobalScope, client, sourceURL, lineNumber); in create()
69 return NewWebSocketChannelImpl::create(document, client, sourceURL, lineNumber); in create()
71 return MainThreadWebSocketChannel::create(document, client, sourceURL, lineNumber); in create()
DWorkerThreadableWebSocketChannel.cpp112 …Scope& workerGlobalScope, WebSocketChannelClient* client, const String& sourceURL, unsigned lineNu… in WorkerThreadableWebSocketChannel() argument
114 , m_sourceURLAtConnection(sourceURL) in WorkerThreadableWebSocketChannel()
117 m_bridge->initialize(sourceURL, lineNumber); in WorkerThreadableWebSocketChannel()
155 …etChannel::fail(const String& reason, MessageLevel level, const String& sourceURL, unsigned lineNu… in fail() argument
165 m_bridge->fail(reason, level, callStack->at(0).sourceURL(), callStack->at(0).lineNumber()); in fail()
166 } else if (sourceURL.isEmpty() && !lineNumber) { in fail()
172 m_bridge->fail(reason, level, sourceURL, lineNumber); in fail()
202 void Peer::initializeInternal(ExecutionContext* context, const String& sourceURL, unsigned lineNumb… in initializeInternal() argument
207 … m_mainWebSocketChannel = NewWebSocketChannelImpl::create(document, this, sourceURL, lineNumber); in initializeInternal()
209 …m_mainWebSocketChannel = MainThreadWebSocketChannel::create(document, this, sourceURL, lineNumber); in initializeInternal()
[all …]
DWorkerThreadableWebSocketChannel.h58 …Scope& workerGlobalScope, WebSocketChannelClient* client, const String& sourceURL, unsigned lineNu… in create() argument
60 …eCollected(new WorkerThreadableWebSocketChannel(workerGlobalScope, client, sourceURL, lineNumber)); in create()
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 …ocketChannel(WorkerGlobalScope&, WebSocketChannelClient*, const String& sourceURL, unsigned lineNu…
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/bindings/
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);
244 …ctor.ParsedURL.completeURL(script.target().resourceTreeModel.inspectedPageURL(), script.sourceURL);
296 function unbindUISourceCodeForURL(sourceURL) argument
[all …]
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 …]
DScriptSnippetModel.js279 _runScript: function(scriptId, executionContext, sourceURL) argument
299 this._printRunScriptResult(target, result, sourceURL);
301 this._printRunOrCompileScriptResultFailure(target, exceptionDetails, sourceURL);
310 _printRunScriptResult: function(target, result, sourceURL) argument
318 sourceURL,
332 _printRunOrCompileScriptResultFailure: function(target, exceptionDetails, sourceURL) argument
340 sourceURL,
386 _snippetIdForSourceURL: function(sourceURL) argument
389 if (!sourceURL.startsWith(snippetPrefix))
391 var splitURL = sourceURL.substring(snippetPrefix.length).split("_");
[all …]
DLinkifier.js153 linkifyScriptLocation: function(target, scriptId, sourceURL, lineNumber, columnNumber, classes) argument
155 …Detached() ? target.debuggerModel.createRawLocationByScriptId(scriptId, sourceURL, lineNumber, col…
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);
DNetworkUISourceCodeProvider.js79 … if (!script.sourceURL || (script.isInlineScript() && !script.hasSourceURL) || script.isSnippet())
83 var parsedURL = new WebInspector.ParsedURL(script.sourceURL);
87 this._addFile(script.sourceURL, script, script.isContentScript());
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
DScript.js41 WebInspector.Script = function(target, scriptId, sourceURL, startLine, startColumn, endLine, endCol… argument
45 this.sourceURL = sourceURL;
88 return this.sourceURL;
166 return source + "\n //# sourceURL=" + this.sourceURL;
220 return !!this.sourceURL && !startsAtZero;
239 return !this.sourceURL;
247 … return !!this.sourceURL && this.sourceURL.startsWith(WebInspector.Script.snippetSourceURLPrefix);
DSourceMap.js159 sourceContent: function(sourceURL) argument
161 return this._sourceContentByURL[sourceURL];
169 sourceContentProvider: function(sourceURL, contentType) argument
171 var sourceContent = this.sourceContent(sourceURL);
174 return new WebInspector.CompilerSourceMappingContentProvider(sourceURL, contentType);
231 findEntryReversed: function(sourceURL, lineNumber, span) argument
233 var mappings = this._reverseMappingsBySourceURL[sourceURL];
271 var sourceURL = sources[sourceIndex];
295 sourceURL = sources[sourceIndex];
302 … this._mappings.push([lineNumber, columnNumber, sourceURL, sourceLineNumber, sourceColumnNumber]);
DDebuggerModel.js369 scriptsForSourceURL: function(sourceURL) argument
371 if (!sourceURL)
373 return this._scriptsBySourceURL.get(sourceURL) || [];
478 …_parsedScriptSource: function(scriptId, sourceURL, startLine, startColumn, endLine, endColumn, isC… argument
480 …var script = new WebInspector.Script(this.target(), scriptId, sourceURL, startLine, startColumn, e…
497 var scripts = this._scriptsBySourceURL.get(script.sourceURL);
500 this._scriptsBySourceURL.set(script.sourceURL, scripts);
513 if (script.sourceURL)
514 return this.createRawLocationByURL(script.sourceURL, lineNumber, columnNumber);
524 createRawLocationByURL: function(sourceURL, lineNumber, columnNumber) argument
[all …]
DCSSStyleModel.js224 if (a.sourceURL < b.sourceURL)
226 else if (a.sourceURL > b.sourceURL)
953 this.sourceURL = styleSheetHeader.sourceURL;
1363 this.sourceURL = payload.sourceURL || "";
1460 …ebInspector.CSSLocation(this._cssModel.target(), this.header().id, this.sourceURL, lineNumber, thi…
1475 this.sourceURL = payload.sourceURL;
1500 return this.isViaInspector() ? this._viaInspectorResourceURL() : this.sourceURL;
1610 newText += "\n/*# sourceURL=" + this.sourceURL + " */";
/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/bindings/core/v8/
DWorkerScriptController.cpp88 String sourceURL; member in blink::FINAL
227 …TOSTRING_DEFAULT(V8StringResource<>, sourceURL, message->GetScriptOrigin().ResourceName(), ScriptV… in evaluate()
228 m_globalScopeExecutionState->sourceURL = sourceURL; in evaluate()
255 … if (m_workerGlobalScope.shouldSanitizeScriptError(state.sourceURL, NotSharableCrossOrigin)) in evaluate()
258 …*errorEvent = ErrorEvent::create(state.errorMessage, state.sourceURL, state.lineNumber, state.colu… in evaluate()
261 … ASSERT(!m_workerGlobalScope.shouldSanitizeScriptError(state.sourceURL, NotSharableCrossOrigin)); in evaluate()
266 …event = ErrorEvent::create(state.errorMessage, state.sourceURL, state.lineNumber, state.columnNumb… in evaluate()
DV8LazyEventListener.h51 …nst AtomicString& eventParameterName, const String& code, const String& sourceURL, const TextPosit… in create() argument
53 …return adoptRef(new V8LazyEventListener(functionName, eventParameterName, code, sourceURL, positio… in create()
66 …onst AtomicString& eventParameterName, const String& code, const String sourceURL, const TextPosit…
DScriptEventListener.cpp56 String sourceURL; in createAttributeEventListener() local
65 sourceURL = node->document().url().string(); in createAttributeEventListener()
70 …return V8LazyEventListener::create(name.localName(), eventParameterName, value, sourceURL, positio… in createAttributeEventListener()
86 String sourceURL = frame->document()->url().string(); in createAttributeEventListener() local
88 …return V8LazyEventListener::create(name.localName(), eventParameterName, value, sourceURL, positio… in createAttributeEventListener()
DPageScriptDebugServer.cpp171 …cript(ScriptState* scriptState, const String& expression, const String& sourceURL, String* scriptI… in compileScript() argument
175 …ScriptDebugServer::compileScript(scriptState, expression, sourceURL, scriptId, exceptionDetailsTex… in compileScript()
177 m_compiledScriptURLs.set(*scriptId, sourceURL); in compileScript()
188 String sourceURL = m_compiledScriptURLs.take(scriptId); in runScript() local
192 …"), "EvaluateScript", "data", InspectorEvaluateScriptEvent::data(frame, sourceURL, TextPosition::m… in runScript()
197 …cookie = InspectorInstrumentation::willEvaluateScript(frame, sourceURL, TextPosition::minimumPosit… in runScript()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/
DObjectPopoverHelper.js84 var sourceURL = response.sourceURL;
85 if (rawLocation && sourceURL) {
87 … var link = this._linkifier.linkifyRawLocation(rawLocation, sourceURL, "function-location-link");
/external/chromium_org/third_party/WebKit/Source/core/workers/
DSharedWorkerGlobalScope.cpp81 …eptionToConsole(const String& errorMessage, int scriptId, const String& sourceURL, int lineNumber,… in logExceptionToConsole() argument
83 …WorkerGlobalScope::logExceptionToConsole(errorMessage, scriptId, sourceURL, lineNumber, columnNumb… in logExceptionToConsole()
84 … = ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage, sourceURL, lineNumber); in logExceptionToConsole()
DWorkerMessagingProxy.cpp167 …ortException(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL) in reportException() argument
175 …RefPtrWillBeRawPtr<ErrorEvent> event = ErrorEvent::create(errorMessage, sourceURL, lineNumber, col… in reportException()
181 …eSource source, MessageLevel level, const String& message, int lineNumber, const String& sourceURL) in reportConsoleMessage() argument
192 …oleMessage> consoleMessage = ConsoleMessage::create(source, level, message, sourceURL, lineNumber); in reportConsoleMessage()
DWorkerMessagingProxy.h65 …rtException(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL);
66 …ssage(MessageSource, MessageLevel, const String& message, int lineNumber, const String& sourceURL);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DRuntime.js92 var sourceURL = self._importScriptPathPrefix + scriptName;
93 var schemaIndex = sourceURL.indexOf("://") + 3;
94sourceURL = sourceURL.substring(0, schemaIndex) + normalizePath(sourceURL.substring(schemaIndex));
95 if (_loadedScripts[sourceURL])
97 _loadedScripts[sourceURL] = true;
98 var scriptSource = loadResource(sourceURL);
100 console.error("Empty response arrived for script '" + sourceURL + "'");
106 self.eval(scriptSource + "\n//# sourceURL=" + sourceURL);
/external/chromium_org/third_party/WebKit/Source/core/dom/
DExecutionContext.cpp48 …rMessage, int lineNumber, int columnNumber, int scriptId, const String& sourceURL, PassRefPtrWillB… in PendingException() argument
53 , m_sourceURL(sourceURL) in PendingException()
130 bool ExecutionContext::shouldSanitizeScriptError(const String& sourceURL, AccessControlStatus corsS… in shouldSanitizeScriptError() argument
132 …return !(securityOrigin()->canRequest(completeURL(sourceURL)) || corsStatus == SharableCrossOrigin… in shouldSanitizeScriptError()
/external/chromium_org/third_party/WebKit/public/web/
DWebServiceWorkerContextClient.h98 …on(const WebString& errorMessage, int lineNumber, int columnNumber, const WebString& sourceURL) { } in reportException() argument
101 …ge(int source, int level, const WebString& message, int lineNumber, const WebString& sourceURL) { } in reportConsoleMessage() argument

1234