Home
last modified time | relevance | path

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

12

/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 …olicy() && !executionContext()->contentSecurityPolicy()->allowWorkerContextFromSource(scriptURL)) { in resolveURL()
67 …exceptionState.throwSecurityError("Access to the script at '" + scriptURL.elidedString() + "' is d… in resolveURL()
71 return scriptURL; in resolveURL()
DWorkerThreadStartupData.h50 …static PassOwnPtrWillBeRawPtr<WorkerThreadStartupData> create(const KURL& scriptURL, const String&… in create() argument
52 …return adoptPtrWillBeNoop(new WorkerThreadStartupData(scriptURL, userAgent, sourceCode, startMode,… in create()
68 …WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, const String& sourceCode, …
DSharedWorker.cpp80 KURL scriptURL = worker->resolveURL(url, exceptionState); in create() local
81 if (scriptURL.isEmpty()) in create()
85 …edWorkerRepositoryClient()->connect(worker.get(), remotePort.release(), scriptURL, name, exception… in create()
DWorkerThreadStartupData.cpp38 WorkerThreadStartupData::WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, co… in WorkerThreadStartupData() argument
39 : m_scriptURL(scriptURL.copy()) in WorkerThreadStartupData()
DWorker.cpp68 KURL scriptURL = worker->resolveURL(url, exceptionState); in create() local
69 if (scriptURL.isEmpty()) in create()
73 …worker->m_scriptLoader->loadAsynchronously(*context, scriptURL, DenyCrossOriginRequests, worker.ge… in create()
DWorkerMessagingProxy.cpp110 void WorkerMessagingProxy::startWorkerGlobalScope(const KURL& scriptURL, const String& userAgent, c… in startWorkerGlobalScope() argument
120 …<WorkerThreadStartupData> startupData = WorkerThreadStartupData::create(scriptURL, userAgent, sour… in startWorkerGlobalScope()
126 …rkerInspectorProxy->workerThreadCreated(m_executionContext.get(), m_workerThread.get(), scriptURL); in startWorkerGlobalScope()
DWorkerGlobalScopeProxy.h49 …virtual void startWorkerGlobalScope(const KURL& scriptURL, const String& userAgent, const String& …
DWorkerMessagingProxy.h56 …virtual void startWorkerGlobalScope(const KURL& scriptURL, const String& userAgent, const String& …
DWorkerThread.cpp248 KURL scriptURL = m_startupData->m_scriptURL; in initialize() local
283 script->evaluate(ScriptSourceCode(sourceCode, scriptURL)); in initialize()
/external/chromium_org/third_party/WebKit/Source/web/
DWebEmbeddedWorkerImpl.cpp83 void load(ExecutionContext* loadingContext, const KURL& scriptURL, const Closure& callback) in load() argument
89 *loadingContext, scriptURL, DenyCrossOriginRequests, this); in load()
309 …()->loader().load(FrameLoadRequest(0, ResourceRequest(m_workerStartData.scriptURL), SubstituteData… in prepareShadowPageForLoader()
366 m_workerStartData.scriptURL, in startScriptLoader()
409 KURL scriptURL = m_mainScriptLoader->url(); in startWorkerThread() local
412 scriptURL, in startWorkerThread()
427 m_workerInspectorProxy->workerThreadCreated(document, m_workerThread.get(), scriptURL); in startWorkerThread()
DWebSharedWorkerImpl.cpp89 …void load(ExecutionContext* loadingContext, const KURL& scriptURL, const Closure& receiveResponseC… in load() argument
96 *loadingContext, scriptURL, DenyCrossOriginRequests, this); in load()
/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() || !contentFrame()->isLocalFrame()) in openURL()
97 toLocalFrame(contentFrame())->script().executeScriptIfJavaScriptURL(scriptURL); in openURL()
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
DServiceWorkerContainerTest.cpp134 …virtual void registerServiceWorker(const WebURL& pattern, const WebURL& scriptURL, WebServiceWorke… in registerServiceWorker() argument
172 …void testRegisterRejected(const String& scriptURL, const String& scope, const ScriptValueTest& val… in testRegisterRejected() argument
182 … ScriptPromise promise = container->registerServiceWorker(scriptState(), scriptURL, *options); in testRegisterRejected()
280 …virtual void registerServiceWorker(const WebURL& pattern, const WebURL& scriptURL, WebServiceWorke… in registerServiceWorker() argument
284 m_owner.m_registerScriptURL = scriptURL; in registerServiceWorker()
DServiceWorkerContainer.cpp131 KURL scriptURL = executionContext->completeURL(url); in registerServiceWorker() local
132 scriptURL.removeFragmentIdentifier(); in registerServiceWorker()
133 if (!documentOrigin->canRequest(scriptURL)) { in registerServiceWorker()
138 …m_provider->registerServiceWorker(patternURL, scriptURL, new CallbackPromiseAdapter<ServiceWorkerR… in registerServiceWorker()
DServiceWorker.h62 String scriptURL() const;
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/bindings/
DCompilerScriptMapping.js244 …var scriptURL = WebInspector.ParsedURL.completeURL(script.target().resourceTreeModel.inspectedPage…
245 if (!scriptURL) {
249 var sourceMapURL = WebInspector.ParsedURL.completeURL(scriptURL, script.sourceMapURL);
270 WebInspector.SourceMap.load(sourceMapURL, scriptURL, sourceMapLoaded.bind(this));
/external/chromium_org/content/shell/renderer/test_runner/
Dweb_permissions.cc41 const blink::WebURL& scriptURL) { in allowScriptFromSource() argument
46 NormalizeLayoutTestURL(scriptURL.spec()) + "): " + in allowScriptFromSource()
Dweb_permissions.h25 const blink::WebURL& scriptURL);
/external/chromium_org/third_party/WebKit/public/web/
DWebEmbeddedWorkerStartData.h56 WebURL scriptURL; member
DWebSharedWorker.h51 const WebURL& scriptURL,
DWebPermissionClient.h70 …virtual bool allowScriptFromSource(bool enabledPerSettings, const WebURL& scriptURL) { return enab… in allowScriptFromSource() argument
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorDebuggerAgent.cpp488 …llFrame> InspectorDebuggerAgent::topCallFrameSkipUnknownSources(String* scriptURL, bool* isBlackbo… in topCallFrameSkipUnknownSources() argument
497 *scriptURL = scriptSourceURL(it->value); in topCallFrameSkipUnknownSources()
499 …|| (m_cachedSkipStackRegExp && !scriptURL->isEmpty() && m_cachedSkipStackRegExp->match(*scriptURL)… in topCallFrameSkipUnknownSources()
1351 String scriptURL = hasSourceURL ? script.sourceURL : script.url; in didParseSource() local
1358 …m_frontend->scriptParsed(scriptId, scriptURL, script.startLine, script.startColumn, script.endLine… in didParseSource()
1360 …m_frontend->scriptFailedToParse(scriptId, scriptURL, script.startLine, script.startColumn, script.… in didParseSource()
1364 if (scriptURL.isEmpty() || hasSyntaxError) in didParseSource()
1378 if (!matches(scriptURL, url, isRegex)) in didParseSource()
/external/chromium_org/content/renderer/service_worker/
Dembedded_worker_dispatcher.cc86 start_data.scriptURL = params.script_url; in OnStartWorker()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DScriptLoader.cpp246 …KURL scriptURL = (!elementDocument.isInDocumentWrite() && m_parserInserted) ? elementDocument.url(… in prepareScript() local
247 executeScript(ScriptSourceCode(scriptContent(), scriptURL, position)); in prepareScript()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/
DJavaScriptSourceFrame.js101 var scriptURL = this._uiSourceCode.url;
103 …WebInspector.linkifyURLAsNode(scriptURL, scriptURL, "source-frame-infobar-details-url", true, scri…

12