Searched refs:scriptURL (Results 1 - 25 of 31) sorted by path

12

/external/chromium_org/content/renderer/service_worker/
H A Dembedded_worker_dispatcher.cc86 start_data.scriptURL = params.script_url;
/external/chromium_org/content/shell/renderer/test_runner/
H A Dweb_permissions.cc41 const blink::WebURL& scriptURL) {
46 NormalizeLayoutTestURL(scriptURL.spec()) + "): " +
40 allowScriptFromSource(bool enabled_per_settings, const blink::WebURL& scriptURL) argument
H A Dweb_permissions.h25 const blink::WebURL& scriptURL);
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DScriptLoader.cpp246 KURL scriptURL = (!elementDocument.isInDocumentWrite() && m_parserInserted) ? elementDocument.url() : KURL(); local
247 executeScript(ScriptSourceCode(scriptContent(), scriptURL, position));
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLFrameElementBase.cpp86 KURL scriptURL;
89 scriptURL = url;
95 if (!contentFrame() || scriptURL.isEmpty() || !contentFrame()->isLocalFrame())
97 toLocalFrame(contentFrame())->script().executeScriptIfJavaScriptURL(scriptURL);
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DInspectorDebuggerAgent.cpp488 PassRefPtrWillBeRawPtr<JavaScriptCallFrame> InspectorDebuggerAgent::topCallFrameSkipUnknownSources(String* scriptURL, bool* isBlackboxed) argument
497 *scriptURL = scriptSourceURL(it->value);
499 || (m_cachedSkipStackRegExp && !scriptURL->isEmpty() && m_cachedSkipStackRegExp->match(*scriptURL) != -1);
1351 String scriptURL = hasSourceURL ? script.sourceURL : script.url; local
1358 m_frontend->scriptParsed(scriptId, scriptURL, script.startLine, script.startColumn, script.endLine, script.endColumn, isContentScript, sourceMapURLParam, hasSourceURLParam);
1360 m_frontend->scriptFailedToParse(scriptId, scriptURL, script.startLine, script.startColumn, script.endLine, script.endColumn, isContentScript, sourceMapURLParam, hasSourceURLParam);
1364 if (scriptURL.isEmpty() || hasSyntaxError)
1378 if (!matches(scriptURL, url, isRegex))
H A DInspectorDebuggerAgent.h253 PassRefPtrWillBeRawPtr<JavaScriptCallFrame> topCallFrameSkipUnknownSources(String* scriptURL, bool* isBlackboxed);
/external/chromium_org/third_party/WebKit/Source/core/workers/
H A DAbstractWorker.cpp54 KURL scriptURL = executionContext()->completeURL(url); local
55 if (!scriptURL.isValid()) {
61 if (!executionContext()->securityOrigin()->canRequest(scriptURL)) {
62 exceptionState.throwSecurityError("Script at '" + scriptURL.elidedString() + "' cannot be accessed from origin '" + executionContext()->securityOrigin()->toString() + "'.");
66 if (executionContext()->contentSecurityPolicy() && !executionContext()->contentSecurityPolicy()->allowWorkerContextFromSource(scriptURL)) {
67 exceptionState.throwSecurityError("Access to the script at '" + scriptURL.elidedString() + "' is denied by the document's Content Security Policy.");
71 return scriptURL;
H A DSharedWorker.cpp80 KURL scriptURL = worker->resolveURL(url, exceptionState); local
81 if (scriptURL.isEmpty())
85 document->frame()->loader().client()->sharedWorkerRepositoryClient()->connect(worker.get(), remotePort.release(), scriptURL, name, exceptionState);
H A DSharedWorker.idl36 Constructor(DOMString scriptURL, optional DOMString name = null),
H A DWorker.cpp68 KURL scriptURL = worker->resolveURL(url, exceptionState); local
69 if (scriptURL.isEmpty())
73 worker->m_scriptLoader->loadAsynchronously(*context, scriptURL, DenyCrossOriginRequests, worker.get());
H A DWorkerGlobalScopeProxy.h49 virtual void startWorkerGlobalScope(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode) = 0;
H A DWorkerMessagingProxy.cpp110 void WorkerMessagingProxy::startWorkerGlobalScope(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode startMode) argument
120 OwnPtrWillBeRawPtr<WorkerThreadStartupData> startupData = WorkerThreadStartupData::create(scriptURL, userAgent, sourceCode, startMode, document->contentSecurityPolicy()->deprecatedHeader(), document->contentSecurityPolicy()->deprecatedHeaderType(), m_workerClients.release());
126 m_workerInspectorProxy->workerThreadCreated(m_executionContext.get(), m_workerThread.get(), scriptURL);
H A DWorkerMessagingProxy.h56 virtual void startWorkerGlobalScope(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode) OVERRIDE;
H A DWorkerThread.cpp248 KURL scriptURL = m_startupData->m_scriptURL; local
283 script->evaluate(ScriptSourceCode(sourceCode, scriptURL));
H A DWorkerThreadStartupData.cpp38 WorkerThreadStartupData::WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode startMode, const String& contentSecurityPolicy, ContentSecurityPolicyHeaderType contentSecurityPolicyType, PassOwnPtrWillBeRawPtr<WorkerClients> workerClients) argument
39 : m_scriptURL(scriptURL.copy())
H A DWorkerThreadStartupData.h50 static PassOwnPtrWillBeRawPtr<WorkerThreadStartupData> create(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode startMode, const String& contentSecurityPolicy, ContentSecurityPolicyHeaderType contentSecurityPolicyType, PassOwnPtrWillBeRawPtr<WorkerClients> workerClients) argument
52 return adoptPtrWillBeNoop(new WorkerThreadStartupData(scriptURL, userAgent, sourceCode, startMode, contentSecurityPolicy, contentSecurityPolicyType, workerClients));
68 WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode, const String& contentSecurityPolicy, ContentSecurityPolicyHeaderType contentSecurityPolicyType, PassOwnPtrWillBeRawPtr<WorkerClients>);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/bindings/
H A DCompilerScriptMapping.js244 var scriptURL = WebInspector.ParsedURL.completeURL(script.target().resourceTreeModel.inspectedPageURL(), script.sourceURL); variable
245 if (!scriptURL) {
249 var sourceMapURL = WebInspector.ParsedURL.completeURL(scriptURL, script.sourceMapURL);
270 WebInspector.SourceMap.load(sourceMapURL, scriptURL, sourceMapLoaded.bind(this));
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/
H A DJavaScriptSourceFrame.js101 var scriptURL = this._uiSourceCode.url;
103 WebInspector.linkifyURLAsNode(scriptURL, scriptURL, "source-frame-infobar-details-url", true, scriptURL));
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
H A DServiceWorker.cpp115 String ServiceWorker::scriptURL() const function in class:blink::ServiceWorker
H A DServiceWorker.h62 String scriptURL() const;
H A DServiceWorker.idl52 readonly attribute ScalarValueString scriptURL;
H A DServiceWorkerContainer.cpp131 KURL scriptURL = executionContext->completeURL(url); local
132 scriptURL.removeFragmentIdentifier();
133 if (!documentOrigin->canRequest(scriptURL)) {
138 m_provider->registerServiceWorker(patternURL, scriptURL, new CallbackPromiseAdapter<ServiceWorkerRegistration, ServiceWorkerError>(resolver));
H A DServiceWorkerContainerTest.cpp134 virtual void registerServiceWorker(const WebURL& pattern, const WebURL& scriptURL, WebServiceWorkerRegistrationCallbacks* callbacks) OVERRIDE
172 void testRegisterRejected(const String& scriptURL, const String& scope, const ScriptValueTest& valueTest) argument
182 ScriptPromise promise = container->registerServiceWorker(scriptState(), scriptURL, *options);
280 virtual void registerServiceWorker(const WebURL& pattern, const WebURL& scriptURL, WebServiceWorkerRegistrationCallbacks* callbacks) OVERRIDE
284 m_owner.m_registerScriptURL = scriptURL;
/external/chromium_org/third_party/WebKit/Source/web/
H A DFrameLoaderClientImpl.cpp187 bool FrameLoaderClientImpl::allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) argument
190 return m_webFrame->permissionClient()->allowScriptFromSource(enabledPerSettings, scriptURL);

Completed in 407 milliseconds

12