Searched refs:scheme (Results 1 - 25 of 370) sorted by relevance

1234567891011>>

/macosx-10.10/WebCore-7600.1.25/platform/
H A DSchemeRegistry.cpp114 void SchemeRegistry::registerURLSchemeAsLocal(const String& scheme) argument
116 localURLSchemes().add(scheme);
119 void SchemeRegistry::removeURLSchemeRegisteredAsLocal(const String& scheme) argument
121 if (scheme == "file")
124 if (scheme == "applewebdata")
127 localURLSchemes().remove(scheme);
174 bool SchemeRegistry::shouldTreatURLSchemeAsLocal(const String& scheme) argument
176 if (scheme.isEmpty())
178 return localURLSchemes().contains(scheme);
181 void SchemeRegistry::registerURLSchemeAsNoAccess(const String& scheme) argument
186 shouldTreatURLSchemeAsNoAccess(const String& scheme) argument
193 registerURLSchemeAsDisplayIsolated(const String& scheme) argument
198 shouldTreatURLSchemeAsDisplayIsolated(const String& scheme) argument
205 registerURLSchemeAsSecure(const String& scheme) argument
210 shouldTreatURLSchemeAsSecure(const String& scheme) argument
217 registerURLSchemeAsEmptyDocument(const String& scheme) argument
222 shouldLoadURLSchemeAsEmptyDocument(const String& scheme) argument
229 setDomainRelaxationForbiddenForURLScheme(bool forbidden, const String& scheme) argument
240 isDomainRelaxationForbiddenForURLScheme(const String& scheme) argument
247 canDisplayOnlyIfCanRequest(const String& scheme) argument
254 registerAsCanDisplayOnlyIfCanRequest(const String& scheme) argument
259 registerURLSchemeAsNotAllowingJavascriptURLs(const String& scheme) argument
264 shouldTreatURLSchemeAsNotAllowingJavascriptURLs(const String& scheme) argument
271 registerURLSchemeAsAllowingLocalStorageAccessInPrivateBrowsing(const String& scheme) argument
276 allowsLocalStorageAccessInPrivateBrowsing(const String& scheme) argument
283 registerURLSchemeAsAllowingDatabaseAccessInPrivateBrowsing(const String& scheme) argument
288 allowsDatabaseAccessInPrivateBrowsing(const String& scheme) argument
295 registerURLSchemeAsCORSEnabled(const String& scheme) argument
300 shouldTreatURLSchemeAsCORSEnabled(const String& scheme) argument
307 registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme) argument
312 removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const String& scheme) argument
317 schemeShouldBypassContentSecurityPolicy(const String& scheme) argument
324 shouldCacheResponsesFromURLSchemeIndefinitely(const String& scheme) argument
334 registerURLSchemeAsCachePartitioned(const String& scheme) argument
339 shouldPartitionCacheForURLScheme(const String& scheme) argument
[all...]
H A DSchemeRegistry.h55 // SecurityOrigin::canDisplay) by documents from the same scheme.
67 static bool canDisplayOnlyIfCanRequest(const String& scheme);
68 static void registerAsCanDisplayOnlyIfCanRequest(const String& scheme);
72 static void registerURLSchemeAsNotAllowingJavascriptURLs(const String& scheme);
73 static bool shouldTreatURLSchemeAsNotAllowingJavascriptURLs(const String& scheme);
77 static void registerURLSchemeAsAllowingLocalStorageAccessInPrivateBrowsing(const String& scheme);
78 static bool allowsLocalStorageAccessInPrivateBrowsing(const String& scheme);
79 static void registerURLSchemeAsAllowingDatabaseAccessInPrivateBrowsing(const String& scheme);
80 static bool allowsDatabaseAccessInPrivateBrowsing(const String& scheme);
83 static void registerURLSchemeAsCORSEnabled(const String& scheme);
[all...]
/macosx-10.10/WebKit2-7600.1.25/UIProcess/API/gtk/
H A DWebKitSecurityManager.cpp38 * URI scheme with a certain security level, or to check if it already
69 static void registerSecurityPolicyForURIScheme(WebKitSecurityManager* manager, const char* scheme, SecurityPolicy policy) argument
71 String urlScheme = String::fromUTF8(scheme);
76 // a given URI scheme synchronously without blocking.
105 static bool checkSecurityPolicyForURIScheme(const char* scheme, SecurityPolicy policy) argument
107 String urlScheme = String::fromUTF8(scheme);
130 * @scheme: a URI scheme
132 * Register @scheme as a local scheme
135 webkit_security_manager_register_uri_scheme_as_local(WebKitSecurityManager* manager, const char* scheme) argument
153 webkit_security_manager_uri_scheme_is_local(WebKitSecurityManager* manager, const char* scheme) argument
169 webkit_security_manager_register_uri_scheme_as_no_access(WebKitSecurityManager* manager, const char* scheme) argument
187 webkit_security_manager_uri_scheme_is_no_access(WebKitSecurityManager* manager, const char* scheme) argument
203 webkit_security_manager_register_uri_scheme_as_display_isolated(WebKitSecurityManager* manager, const char* scheme) argument
221 webkit_security_manager_uri_scheme_is_display_isolated(WebKitSecurityManager* manager, const char* scheme) argument
238 webkit_security_manager_register_uri_scheme_as_secure(WebKitSecurityManager* manager, const char* scheme) argument
256 webkit_security_manager_uri_scheme_is_secure(WebKitSecurityManager* manager, const char* scheme) argument
273 webkit_security_manager_register_uri_scheme_as_cors_enabled(WebKitSecurityManager* manager, const char* scheme) argument
291 webkit_security_manager_uri_scheme_is_cors_enabled(WebKitSecurityManager* manager, const char* scheme) argument
307 webkit_security_manager_register_uri_scheme_as_empty_document(WebKitSecurityManager* manager, const char* scheme) argument
325 webkit_security_manager_uri_scheme_is_empty_document(WebKitSecurityManager* manager, const char* scheme) argument
[all...]
H A DWebKitSecurityManager.h63 const gchar *scheme);
67 const gchar *scheme);
71 const gchar *scheme);
75 const gchar *scheme);
79 const gchar *scheme);
83 const gchar *scheme);
87 const gchar *scheme);
91 const gchar *scheme);
95 const gchar *scheme);
99 const gchar *scheme);
[all...]
/macosx-10.10/ruby-106/ruby/benchmark/
H A Dbm_app_uri.rb5 uri.scheme
/macosx-10.10/WebCore-7600.1.25/platform/network/soup/
H A DAuthenticationChallengeSoup.cpp39 if (uri->scheme == SOUP_URI_SCHEME_HTTPS)
41 if (uri->scheme == SOUP_URI_SCHEME_HTTP)
43 if (uri->scheme == SOUP_URI_SCHEME_FTP)
51 ProtectionSpaceAuthenticationScheme scheme; local
53 scheme = ProtectionSpaceAuthenticationSchemeHTTPBasic;
55 scheme = ProtectionSpaceAuthenticationSchemeHTTPDigest;
57 scheme = ProtectionSpaceAuthenticationSchemeNTLM;
59 scheme = ProtectionSpaceAuthenticationSchemeNegotiate;
61 scheme = ProtectionSpaceAuthenticationSchemeUnknown;
66 String::fromUTF8(soup_auth_get_realm(soupAuth)), scheme);
[all...]
/macosx-10.10/WebCore-7600.1.25/Modules/navigatorcontentutils/
H A DNavigatorContentUtils.idl23 [Conditional=NAVIGATOR_CONTENT_UTILS, RaisesException] void registerProtocolHandler(DOMString scheme, DOMString url, DOMString title);
24 [Conditional=NAVIGATOR_CONTENT_UTILS&CUSTOM_SCHEME_HANDLER, RaisesException] DOMString isProtocolHandlerRegistered(DOMString scheme, DOMString url);
25 [Conditional=NAVIGATOR_CONTENT_UTILS&CUSTOM_SCHEME_HANDLER, RaisesException] void unregisterProtocolHandler(DOMString scheme, DOMString url);
H A DNavigatorContentUtilsClient.h41 virtual void registerProtocolHandler(const String& scheme, const URL& baseURL, const URL&, const String& title) = 0;
50 virtual CustomHandlersState isProtocolHandlerRegistered(const String& scheme, const URL& baseURL, const URL&) = 0;
51 virtual void unregisterProtocolHandler(const String& scheme, const URL& baseURL, const URL&) = 0;
H A DNavigatorContentUtils.cpp97 static bool isProtocolWhitelisted(const String& scheme) argument
101 return protocolWhitelist->contains(scheme.convertToASCIILowercase());
104 static bool verifyProtocolHandlerScheme(const String& scheme, ExceptionCode& ec) argument
106 if (isProtocolWhitelisted(scheme))
109 if (scheme.startsWith("web+")) {
110 // The specification requires that the length of scheme is at least five characters (including 'web+' prefix).
111 if (scheme.length() >= 5 && isValidProtocol(scheme))
128 void NavigatorContentUtils::registerProtocolHandler(Navigator* navigator, const String& scheme, const String& url, const String& title, ExceptionCode& ec) argument
138 if (!verifyProtocolHandlerScheme(scheme, e
164 isProtocolHandlerRegistered(Navigator* navigator, const String& scheme, const String& url, ExceptionCode& ec) argument
182 unregisterProtocolHandler(Navigator* navigator, const String& scheme, const String& url, ExceptionCode& ec) argument
[all...]
H A DNavigatorContentUtils.h55 static void registerProtocolHandler(Navigator*, const String& scheme, const String& url, const String& title, ExceptionCode&);
58 static String isProtocolHandlerRegistered(Navigator*, const String& scheme, const String& url, ExceptionCode&);
59 static void unregisterProtocolHandler(Navigator*, const String& scheme, const String& url, ExceptionCode&);
/macosx-10.10/ruby-106/ruby/test/rdoc/
H A Dtest_rdoc_markup_formatter.rb83 scheme, url, id = @to.parse_url 'example/foo'
85 assert_equal 'http', scheme
91 scheme, url, id = @to.parse_url '#foottext-1'
93 assert_equal nil, scheme
99 scheme, url, id = @to.parse_url 'link:README.txt'
101 assert_equal 'link', scheme
107 scheme, url, id = @to.parse_url 'link:README.txt#label-foo'
109 assert_equal 'link', scheme
115 scheme, url, id = @to.parse_url 'rdoc-label:foo'
117 assert_equal 'link', scheme
[all...]
/macosx-10.10/WebCore-7600.1.25/html/
H A DHTMLMetaElement.idl24 [Reflect] attribute DOMString scheme;
/macosx-10.10/WebCore-7600.1.25/platform/network/cf/
H A DAuthenticationCF.cpp168 CFURLProtectionSpaceAuthenticationScheme scheme = kCFURLProtectionSpaceAuthenticationSchemeDefault; local
171 scheme = kCFURLProtectionSpaceAuthenticationSchemeDefault;
174 scheme = kCFURLProtectionSpaceAuthenticationSchemeHTTPBasic;
177 scheme = kCFURLProtectionSpaceAuthenticationSchemeHTTPDigest;
180 scheme = kCFURLProtectionSpaceAuthenticationSchemeHTMLForm;
183 scheme = kCFURLProtectionSpaceAuthenticationSchemeNTLM;
186 scheme = kCFURLProtectionSpaceAuthenticationSchemeNegotiate;
190 scheme = kCFURLProtectionSpaceAuthenticationSchemeServerTrustEvaluationRequested;
193 scheme = kCFURLProtectionSpaceAuthenticationSchemeClientCertificateRequested;
200 return CFURLProtectionSpaceCreate(0, coreSpace.host().createCFString().get(), coreSpace.port(), serverType, coreSpace.realm().createCFString().get(), scheme);
266 ProtectionSpaceAuthenticationScheme scheme = ProtectionSpaceAuthenticationSchemeDefault; local
[all...]
/macosx-10.10/bind9-45.101/bind9/contrib/idn/idnkit-1.0-src/lib/
H A Dmapper.c64 * Type for mapping scheme.
122 map_scheme_t **scheme; local
135 for (scheme = (map_scheme_t **)standard_map_schemes;
136 *scheme != NULL; scheme++) {
137 r = idn__strhash_put(scheme_hash, (*scheme)->prefix, *scheme);
228 map_scheme_t *scheme; local
265 * Find a scheme.
267 if (idn__strhash_get(scheme_hash, scheme_prefix, (void **)&scheme)
442 map_scheme_t *scheme = NULL; local
[all...]
H A Dchecker.c62 * Type for checking scheme.
150 check_scheme_t **scheme; local
164 for (scheme = (check_scheme_t **)standard_check_schemes;
165 *scheme != NULL; scheme++) {
166 r = idn__strhash_put(scheme_hash, (*scheme)->prefix, *scheme);
258 check_scheme_t *scheme; local
293 * Find a scheme.
295 if (idn__strhash_get(scheme_hash, scheme_prefix, (void **)&scheme)
411 check_scheme_t *scheme = NULL; local
[all...]
/macosx-10.10/emacs-93/emacs/lisp/url/
H A Durl-methods.el36 (defvar url-scheme-registry (make-hash-table :size 7 :test 'equal))
38 (defconst url-scheme-methods
53 (defconst url-scheme-default-properties
55 'loader 'url-scheme-default-loader
66 (defun url-scheme-default-loader (url &optional callback cbargs)
67 "Signal an error for an unknown URL scheme."
68 (error "Unkown URL scheme: %s" (url-type url)))
70 (defun url-scheme-register-proxy (scheme)
72 (let* ((env-var (concat scheme "_prox
[all...]
/macosx-10.10/WebInspectorUI-7600.1.17/UserInterface/Base/
H A DURLUtilities.js64 return {scheme: null, host: null, port: null};
66 var scheme = match[1].toLowerCase(); variable
70 return {scheme: scheme, host: host, port: port};
79 return {scheme: null, host: null, port: null, path: null, queryString: null, fragment: null, lastPathComponent: null};
81 var scheme = match[1].toLowerCase(); variable
109 return {scheme: scheme, host: host, port: port, path: path, queryString: queryString, fragment: fragment, lastPathComponent: lastPathComponent};
120 // If the URL has a scheme it is already a full URL, so return it.
121 if (parseURL(partialURL).scheme)
[all...]
/macosx-10.10/WebKit2-7600.1.25/UIProcess/Network/CustomProtocols/soup/
H A DWebSoupCustomProtocolRequestManager.cpp81 void WebSoupCustomProtocolRequestManager::registerSchemeForCustomProtocol(const String& scheme) argument
86 context()->registerSchemeForCustomProtocol(scheme);
88 ASSERT(!m_registeredSchemes.contains(scheme));
89 m_registeredSchemes.append(scheme);
92 void WebSoupCustomProtocolRequestManager::unregisterSchemeForCustomProtocol(const String& scheme) argument
97 context()->unregisterSchemeForCustomProtocol(scheme);
99 ASSERT(m_registeredSchemes.contains(scheme));
100 m_registeredSchemes.remove(m_registeredSchemes.find(scheme));
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/uri/
H A DpkgIndex.tcl6 package ifneeded uri::urn 1.0.2 [list source [file join $dir urn-scheme.tcl]]
/macosx-10.10/CPANInternal-159.1/IO-Socket-SSL/t/
H A Dauto_verify_hostname.t60 my ($name,$scheme,$result) = @tests[$i,$i+1,$i+2];
65 SSL_verifycn_scheme => $scheme,
70 ok( "connection to $name/$scheme failed" );
73 ok( "connection to $name/$scheme succeeded" );
81 my ($name,$scheme,$result) = @tests[$i,$i+1,$i+2];
89 SSL_verifycn_scheme => $scheme,
94 ok( "ssl upgrade of connection to $name/$scheme failed" );
97 ok( "ssl upgrade of connection to $name/$scheme succeeded" );
/macosx-10.10/WebCore-7600.1.25/platform/ios/
H A DContentFilterIOS.mm44 static inline const char* scheme()
52 if (!request.url().protocolIs(scheme()))
/macosx-10.10/WebKit-7600.1.25/mac/Misc/
H A DWebUserContentURLPattern.h34 - (NSString *)scheme;
/macosx-10.10/WebKit2-7600.1.25/UIProcess/efl/
H A DRequestManagerClientEfl.cpp61 EwkUrlSchemeHandler handler = requestManager->m_urlSchemeHandlers.get(schemeRequest->scheme());
87 void RequestManagerClientEfl::registerURLSchemeHandler(const String& scheme, Ewk_Url_Scheme_Request_Cb callback, void* userData) argument
91 m_urlSchemeHandlers.set(scheme, EwkUrlSchemeHandler(callback, userData));
92 WKSoupRequestManagerRegisterURIScheme(m_soupRequestManager.get(), adoptWK(toCopiedAPI(scheme)).get());
/macosx-10.10/Security-57031.1.35/Security/sec/securityd/
H A DSecCAIssuerRequest.c69 CFStringRef scheme = CFURLCopyScheme(issuer); local
70 if (scheme) {
71 if (CFEqual(CFSTR("http"), scheme)) {
79 CFRelease(scheme);
87 CFRelease(scheme);
156 CFStringRef scheme = CFURLCopyScheme(issuer); local
157 if (scheme) {
158 if (CFEqual(CFSTR("http"), scheme)) {
163 CFRelease(scheme);
167 CFRelease(scheme);
[all...]
/macosx-10.10/CPANInternal-159.1/Class-C3-XS-0.13/inc/Module/Install/
H A DFetch.pm16 my ($scheme, $host, $path, $file) =
19 if ( $scheme eq 'http' and ! eval { require LWP::Simple; 1 } ) {
22 ($scheme, $host, $path, $file) =
34 return unless $scheme eq 'ftp' or $scheme eq 'http';

Completed in 388 milliseconds

1234567891011>>