Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/core/workers/
DAbstractWorker.cpp54 KURL scriptURL = executionContext()->completeURL(url); in resolveURL() local
55 if (!scriptURL.isValid()) { in resolveURL()
61 if (!executionContext()->securityOrigin()->canRequest(scriptURL)) { in resolveURL()
62 …exceptionState.throwSecurityError("Script at '" + scriptURL.elidedString() + "' cannot be accessed… in resolveURL()
66 …curityPolicy() && !executionContext()->contentSecurityPolicy()->allowScriptFromSource(scriptURL)) { in resolveURL()
67 …exceptionState.throwSecurityError("Access to the script at '" + scriptURL.elidedString() + "' is d… in resolveURL()
71 return scriptURL; in resolveURL()
DWorkerThreadStartupData.h48 …static PassOwnPtr<WorkerThreadStartupData> create(const KURL& scriptURL, const String& userAgent, … in create()
50 …return adoptPtr(new WorkerThreadStartupData(scriptURL, userAgent, sourceCode, startMode, contentSe… in create()
64 …WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, const String& sourceCode, …
DSharedWorker.cpp78 KURL scriptURL = worker->resolveURL(url, exceptionState); in create() local
79 if (scriptURL.isEmpty()) in create()
83 …edWorkerRepositoryClient()->connect(worker.get(), remotePort.release(), scriptURL, name, exception… in create()
DWorkerThreadStartupData.cpp37 WorkerThreadStartupData::WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, co… in WorkerThreadStartupData() argument
38 : m_scriptURL(scriptURL.copy()) in WorkerThreadStartupData()
DWorker.cpp66 KURL scriptURL = worker->resolveURL(url, exceptionState); in create() local
67 if (scriptURL.isEmpty()) in create()
74 …worker->m_scriptLoader->loadAsynchronously(context, scriptURL, DenyCrossOriginRequests, worker.get… in create()
DWorkerMessagingProxy.cpp108 void WorkerMessagingProxy::startWorkerGlobalScope(const KURL& scriptURL, const String& userAgent, c… in startWorkerGlobalScope() argument
114 …OwnPtr<WorkerThreadStartupData> startupData = WorkerThreadStartupData::create(scriptURL, userAgent… in startWorkerGlobalScope()
120 InspectorInstrumentation::didStartWorkerGlobalScope(m_executionContext.get(), this, scriptURL); in startWorkerGlobalScope()
DWorkerThread.cpp105 KURL scriptURL = m_startupData->m_scriptURL; in workerThread() local
126 script->evaluate(ScriptSourceCode(sourceCode, scriptURL)); in workerThread()
DWorkerGlobalScopeProxy.h49 …virtual void startWorkerGlobalScope(const KURL& scriptURL, const String& userAgent, const String& …
DWorkerMessagingProxy.h55 …virtual void startWorkerGlobalScope(const KURL& scriptURL, const String& userAgent, const String& …
DSharedWorker.idl34 Constructor(DOMString scriptURL, [Default=NullString] optional DOMString name),
/external/chromium_org/third_party/WebKit/Source/web/
DWebEmbeddedWorkerImpl.cpp61 …static PassOwnPtr<Loader> create(ExecutionContext* loadingContext, const KURL& scriptURL, const Cl… in create() argument
63 return adoptPtr(new Loader(loadingContext, scriptURL, callback)); in create()
86 Loader(ExecutionContext* loadingContext, const KURL& scriptURL, const Closure& callback) in Loader() argument
92 loadingContext, scriptURL, DenyCrossOriginRequests, this); in Loader()
166 data.scriptURL, in startWorkerContext()
201 …()->loader().load(FrameLoadRequest(0, ResourceRequest(m_workerStartData.scriptURL), SubstituteData… in prepareShadowPageForLoader()
DFrameLoaderClientImpl.cpp197 bool FrameLoaderClientImpl::allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) in allowScriptFromSource() argument
200 …n m_webFrame->permissionClient()->allowScriptFromSource(m_webFrame, enabledPerSettings, scriptURL); in allowScriptFromSource()
204 …turn webview->permissionClient()->allowScriptFromSource(m_webFrame, enabledPerSettings, scriptURL); in allowScriptFromSource()
DFrameLoaderClientImpl.h131 virtual bool allowScriptFromSource(bool enabledPerSettings, const WebCore::KURL& scriptURL);
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLFrameElementBase.cpp86 KURL scriptURL; in openURL() local
89 scriptURL = url; in openURL()
95 if (!contentFrame() || scriptURL.isEmpty()) in openURL()
97 contentFrame()->script().executeScriptIfJavaScriptURL(scriptURL); in openURL()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DCompilerScriptMapping.js184 …var scriptURL = WebInspector.ParsedURL.completeURL(WebInspector.inspectedPageURL, script.sourceURL…
185 if (!scriptURL) {
189 var sourceMapURL = WebInspector.ParsedURL.completeURL(scriptURL, script.sourceMapURL);
210 WebInspector.SourceMap.load(sourceMapURL, scriptURL, sourceMapLoaded.bind(this));
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
DNavigatorServiceWorker.cpp118 KURL scriptURL = executionContext->completeURL(scriptSrc); in registerServiceWorker() local
119 if (!documentOrigin->canRequest(scriptURL)) { in registerServiceWorker()
124 …ensureProvider()->registerServiceWorker(patternURL, scriptURL, new CallbackPromiseAdapter<ServiceW… in registerServiceWorker()
/external/chromium_org/third_party/WebKit/Source/testing/runner/
DWebPermissions.cpp60 …s::allowScriptFromSource(blink::WebFrame*, bool enabledPerSettings, const blink::WebURL& scriptURL) in allowScriptFromSource() argument
64 …g("PERMISSION CLIENT: allowScriptFromSource(") + normalizeLayoutTestURL(scriptURL.spec()) + "): " … in allowScriptFromSource()
DWebPermissions.h48 …l allowScriptFromSource(blink::WebFrame*, bool enabledPerSettings, const blink::WebURL& scriptURL);
/external/chromium_org/third_party/WebKit/public/web/
DWebEmbeddedWorkerStartData.h46 WebURL scriptURL; member
DWebSharedWorkerConnector.h53 const WebURL& scriptURL,
DWebPermissionClient.h65 …virtual bool allowScriptFromSource(WebFrame*, bool enabledPerSettings, const WebURL& scriptURL) { … in allowScriptFromSource() argument
/external/chromium_org/content/renderer/service_worker/
Dembedded_worker_dispatcher.cc73 start_data.scriptURL = script_url; in OnStartWorker()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorDebuggerAgent.cpp459 String InspectorDebuggerAgent::scriptURL(JavaScriptCallFrame* frame) in scriptURL() function in WebCore::InspectorDebuggerAgent
475 String topFrameScriptUrl = scriptURL(topFrame.get()); in shouldSkipExceptionPause()
536 String scriptUrl = scriptURL(topFrame.get()); in shouldSkipStepPause()
1023 String scriptURL = hasSourceURL ? sourceURL : script.url; in didParseSource() local
1025 …m_frontend->scriptParsed(scriptId, scriptURL, script.startLine, script.startColumn, script.endLine… in didParseSource()
1029 if (scriptURL.isEmpty()) in didParseSource()
1043 if (!matches(scriptURL, url, isRegex)) in didParseSource()
DInspectorDebuggerAgent.h204 String scriptURL(JavaScriptCallFrame*);
/external/chromium_org/third_party/WebKit/Source/core/dom/
DScriptLoader.cpp243 …KURL scriptURL = (!elementDocument.isInDocumentWrite() && m_parserInserted) ? elementDocument.url(… in prepareScript() local
244 … if (!executePotentiallyCrossOriginScript(ScriptSourceCode(scriptContent(), scriptURL, position))) in prepareScript()