/external/chromium/chrome/common/extensions/docs/examples/api/cookies/ |
manifest.json | 2 "name" : "Cookie API Test Extension",
4 "description" : "Testing Cookie API",
6 "icons": { "16": "cookie.png", "48": "cookie.png", "128": "cookie.png" },
8 "default_icon": "cookie.png"
|
/external/webkit/LayoutTests/http/tests/cookies/resources/ |
clearCookies.cgi | 6 print 'Cache-Control: no-cache="set-cookie"' . "\n"; 8 my $cookie = $ENV{"HTTP_CLEAR_COOKIE"}; 10 if ($cookie =~ /Max-Age/i) { 11 $cookie =~ s/Max-Age *= *[0-9]+/Max-Age=0/i; 13 $cookie .= ";" unless ($cookie =~ m/;$/); 14 $cookie .= " " unless ($cookie =~ m/ $/); 15 $cookie .= "Max-Age=0"; 18 if ($cookie =~ /Expires/i) [all...] |
setCookies.cgi | 6 print 'Cache-Control: no-cache="set-cookie"' . "\n"; 8 # We only map the SET_COOKIE request header to "Set-Cookie" 9 print "Set-Cookie: " . $ENV{"HTTP_SET_COOKIE"} . "\n\n";
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
HttpCookieTest.java | 78 HttpCookie cookie = new HttpCookie("harmony!", null); local 79 assertEquals("harmony!", cookie.getName()); 81 cookie = new HttpCookie("harmon$y", null); 82 assertEquals("harmon$y", cookie.getName()); 175 HttpCookie cookie = new HttpCookie("name", "value"); local 176 assertEquals(1, cookie.getVersion()); 177 cookie.setVersion(0); 178 assertEquals(0, cookie.getVersion()); 179 cookie.setVersion(1); 180 assertEquals(1, cookie.getVersion()) 203 HttpCookie cookie = new HttpCookie("name", "value"); local 224 HttpCookie cookie = new HttpCookie("testName", "value"); local 234 HttpCookie cookie = new HttpCookie("testName", "value"); local 252 HttpCookie cookie = new HttpCookie("name", "test new value"); local 272 HttpCookie cookie = new HttpCookie("name", "test new value"); local 289 HttpCookie cookie = new HttpCookie("name", "test new value"); local 309 HttpCookie cookie = new HttpCookie("cookieName", "cookieName value"); local 325 HttpCookie cookie = new HttpCookie("cookie'sName", local 342 HttpCookie cookie = new HttpCookie("cookie'\\"sName", local 360 HttpCookie cookie = new HttpCookie("cookie'\\"sName?", local 378 HttpCookie cookie = new HttpCookie("cookie'\\"sName123456", local 405 HttpCookie cookie = new HttpCookie("test", "testValue"); local 437 HttpCookie cookie = new HttpCookie("test", "testValue"); local 453 HttpCookie cookie = new HttpCookie("test", "testValue"); local 492 HttpCookie cookie = new HttpCookie("nAmW_1", "value_1"); local 590 HttpCookie cookie = list.get(0); local 631 HttpCookie cookie = list.get(0); local [all...] |
/cts/tests/tests/webkit/src/android/webkit/cts/ |
CookieTest.java | 56 String cookie = mCookieManager.getCookie(url); local 57 assertTrue(cookie.equals("a=b")); 61 cookie = mCookieManager.getCookie(url); 63 assertTrue(cookie.contains("a=b")); 64 assertTrue(cookie.contains("c=\"d;\"")); 72 String cookie = mCookieManager.getCookie(url); local 73 assertTrue(cookie.equals("a=b")); 75 // no cross domain cookie 76 cookie = mCookieManager.getCookie("http://bar.com"); 77 assertTrue(cookie == null) 116 String cookie = mCookieManager.getCookie(url_abcd); local 150 String cookie = mCookieManager.getCookie(url); local 186 String cookie = mCookieManager.getCookie(url + "\/wee"); local 215 String cookie = mCookieManager.getCookie(url); local [all...] |
/external/chromium/chrome/common/extensions/docs/examples/api/ |
cookies.zip | |
/external/webkit/LayoutTests/http/tests/cookies/ |
simple-cookies-expired-expected.txt | 6 Check that setting a simple cookie works. 7 PASS cookie is 'test=foobar'. 8 Check setting a cookie that timed out. 9 PASS cookie is ''.
|
simple-cookies-max-age-expected.txt | 6 Check that setting a simple cookie works. 7 PASS cookie is 'test=foobar'. 8 Check setting a cookie that timed out. 9 PASS cookie is ''.
|
third-party-cookie-relaxing-expected.txt | 4 ALERT: http://localhost:8000/cookies/resources/cookie-utility.php?queryfunction=deleteCookies 6 ALERT: Test stage 1 document.cookie is: 8 ALERT: http://localhost:8000/cookies/resources/cookie-utility.php?queryfunction=setFooCookie 9 ALERT: XHR response - Set the foo cookie 10 ALERT: Test stage 2 document.cookie is: 14 ALERT: http://localhost:8000/cookies/resources/cookie-utility.php?queryfunction=deleteCookies 16 ALERT: Test stage 3 document.cookie is: 18 ALERT: http://localhost:8000/cookies/resources/cookie-utility.php?queryfunction=setFooAndBarCookie 20 ALERT: Test stage 4 document.cookie is: 24 ALERT: http://localhost:8000/cookies/resources/cookie-utility.php?queryfunction=deleteCookie [all...] |
double-quoted-value-with-semi-colon-expected.txt | 1 Test for <rdar://problem/5666078> Cookie parsing terminates at the first semicolon, ignoring quotes (16699) 6 Check that setting a cookie with a semi-colon in a duoble-quoted value works 7 PASS cookie is 'disorder="477beccb;richard"'.
|
multiple-cookies-expected.txt | 7 PASS cookie is 'test=foobar'. 8 PASS cookie is 'test2=foobar; test=foobar'. 9 PASS cookie is 'test2=foobar; test3=foobar; test=foobar'.
|
/external/oprofile/daemon/ |
opd_cookie.c | 3 * cookie -> name cache 68 static inline int lookup_dcookie(cookie_t cookie, char * buf, size_t size) 70 return syscall(__NR_lookup_dcookie, (unsigned long)(cookie >> 32), 71 (unsigned long)(cookie & 0xffffffff), buf, size); 75 static inline int lookup_dcookie(cookie_t cookie, char * buf, size_t size) 78 (unsigned long)(cookie & 0xffffffff), 79 (unsigned long)(cookie >> 32), buf, size); 82 static inline int lookup_dcookie(cookie_t cookie, char * buf, size_t size) 84 return syscall(__NR_lookup_dcookie, cookie, buf, size); 102 static struct cookie_entry * create_cookie(cookie_t cookie) [all...] |
opd_cookie.h | 3 * cookie -> name cache 29 char const * find_cookie(cookie_t cookie); 31 /** return true if this cookie should be ignored */ 32 int is_cookie_ignored(cookie_t cookie); 34 /** give a textual description of the cookie */ 35 char const * verbose_cookie(cookie_t cookie);
|
/external/apache-http/src/org/apache/http/cookie/ |
CookieAttributeHandler.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/CookieAttributeHandler.java $ 31 package org.apache.http.cookie; 34 * Ths interface represents a cookie attribute handler responsible 35 * for parsing, validating, and matching a specific cookie attribute, 38 * Different cookie specifications can provide a specific 39 * implementation for this class based on their cookie handling 49 * Parse the given cookie attribute value and update the corresponding 50 * {@link org.apache.http.cookie.Cookie} property. 52 * @param cookie {@link org.apache.http.cookie.Cookie} to be update [all...] |
/external/apache-http/src/org/apache/http/impl/cookie/ |
RFC2109Spec.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2109Spec.java $ 32 package org.apache.http.impl.cookie; 40 import org.apache.http.cookie.ClientCookie; 41 import org.apache.http.cookie.Cookie; 42 import org.apache.http.cookie.CookieOrigin; 43 import org.apache.http.cookie.CookiePathComparator; 44 import org.apache.http.cookie.MalformedCookieException; 45 import org.apache.http.cookie.SM; 50 * RFC 2109 compliant cookie polic 165 Cookie cookie = cooky; local [all...] |
RFC2965VersionAttributeHandler.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2965VersionAttributeHandler.java $ 32 package org.apache.http.impl.cookie; 34 import org.apache.http.cookie.ClientCookie; 35 import org.apache.http.cookie.Cookie; 36 import org.apache.http.cookie.CookieAttributeHandler; 37 import org.apache.http.cookie.CookieOrigin; 38 import org.apache.http.cookie.MalformedCookieException; 39 import org.apache.http.cookie.SetCookie; 40 import org.apache.http.cookie.SetCookie2 [all...] |
RFC2965PortAttributeHandler.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2965PortAttributeHandler.java $ 32 package org.apache.http.impl.cookie; 36 import org.apache.http.cookie.ClientCookie; 37 import org.apache.http.cookie.Cookie; 38 import org.apache.http.cookie.CookieAttributeHandler; 39 import org.apache.http.cookie.CookieOrigin; 40 import org.apache.http.cookie.MalformedCookieException; 41 import org.apache.http.cookie.SetCookie; 42 import org.apache.http.cookie.SetCookie2 [all...] |
RFC2965Spec.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2965Spec.java $ 31 package org.apache.http.impl.cookie; 42 import org.apache.http.cookie.ClientCookie; 43 import org.apache.http.cookie.Cookie; 44 import org.apache.http.cookie.CookieAttributeHandler; 45 import org.apache.http.cookie.CookieOrigin; 46 import org.apache.http.cookie.MalformedCookieException; 47 import org.apache.http.cookie.SM; 52 * <p>RFC 2965 specific cookie management functions.</p 80 BasicClientCookie cookie = new BasicClientCookie(name, value); local 88 BasicClientCookie2 cookie = new BasicClientCookie2(name, value); local 118 BasicClientCookie cookie; local [all...] |
BestMatchSpec.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BestMatchSpec.java $ 32 package org.apache.http.impl.cookie; 38 import org.apache.http.cookie.Cookie; 39 import org.apache.http.cookie.CookieOrigin; 40 import org.apache.http.cookie.CookieSpec; 41 import org.apache.http.cookie.MalformedCookieException; 44 * 'Meta' cookie specification that selects a cookie policy depending 45 * on the format of the cookie(s [all...] |
BasicPathHandler.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicPathHandler.java $ 31 package org.apache.http.impl.cookie; 33 import org.apache.http.cookie.Cookie; 34 import org.apache.http.cookie.CookieAttributeHandler; 35 import org.apache.http.cookie.CookieOrigin; 36 import org.apache.http.cookie.MalformedCookieException; 37 import org.apache.http.cookie.SetCookie; 45 public void parse(final SetCookie cookie, String value) 47 if (cookie == null) [all...] |
/libcore/luni/src/main/java/java/net/ |
CookieStore.java | 33 * Saves a HTTP cookie to this store. This is called for every incoming HTTP 36 * A cookie may or may not has an associated URI. If not, the cookie's 39 * cookie, the given URI will indicate where this cookie comes from. 41 * If a cookie corresponding to the given URI already exists, then it is 45 * the uri associated with the specified cookie. A null value 46 * indicates the cookie is not associated with a URI 47 * @param cookie 48 * the cookie to be store [all...] |
CookieManager.java | 29 * CookiePolicy. The former is in charge of cookie storage and the latter makes 32 * CookieHandler is in the center of cookie management. User can make use of 36 * some cookies into a cookie store. Three built-in CookiePolicy is defined: 38 * the policy by implementing CookiePolicy. Any accepted HTTP cookie is stored 44 * There are many ways to customize user's own HTTP cookie management: 60 private static final String VERSION_ZERO_HEADER = "Set-cookie"; 65 * Constructs a new cookie manager. 76 * Constructs a new cookie manager using a specified cookie store and a 77 * cookie policy [all...] |
/external/webkit/Source/WebCore/platform/mac/ |
CookieJar.mm | 30 #import "Cookie.h" 47 static bool isHTTPOnly(NSHTTPCookie *cookie) 52 return supportsHTTPOnlyCookies && [cookie isHTTPOnly]; 61 NSHTTPCookie *cookie = (NSHTTPCookie *)[unfilteredCookies objectAtIndex:i]; 63 // <rdar://problem/5632883> On 10.5, NSHTTPCookieStorage would store an empty cookie, 64 // which would be sent as "Cookie: =". We have a workaround in setCookies() to prevent 66 // there's no harm to doing this check because such a cookie is never valid. 67 if (![[cookie name] length]) 70 if (isHTTPOnly(cookie)) 73 [filteredCookies.get() addObject:cookie]; [all...] |
/external/webkit/Tools/iExploder/iexploder-1.7.2/src/headers/ |
dillo | 6 Set-Cookie
|
/external/webkit/Source/WebCore/platform/network/cf/ |
CookieJarCFNet.cpp | 31 #include "Cookie.h" 45 static const CFStringRef s_setCookieKeyCF = CFSTR("Set-Cookie"); 46 static const CFStringRef s_cookieCF = CFSTR("Cookie"); 60 static inline RetainPtr<CFStringRef> cookieDomain(CFHTTPCookieRef cookie) 63 return RetainPtr<CFStringRef>(AdoptCF, CFHTTPCookieCopyDomainPtr()(cookie)); 64 return CFHTTPCookieGetDomain(cookie); 67 static inline CFAbsoluteTime cookieExpirationTime(CFHTTPCookieRef cookie) 70 return CFHTTPCookieGetExpirationTimePtr()(cookie); 71 return CFDateGetAbsoluteTime(CFHTTPCookieGetExpiratonDate(cookie)); 74 static inline RetainPtr<CFStringRef> cookieName(CFHTTPCookieRef cookie) 100 CFHTTPCookieRef cookie = (CFHTTPCookieRef)CFArrayGetValueAtIndex(unfilteredCookies, i); local 197 CFHTTPCookieRef cookie = (CFHTTPCookieRef)CFArrayGetValueAtIndex(cookiesCF.get(), i); local 228 CFHTTPCookieRef cookie = (CFHTTPCookieRef)CFArrayGetValueAtIndex(cookiesCF.get(), i); local 248 CFHTTPCookieRef cookie = static_cast<CFHTTPCookieRef>(const_cast<void *>(CFArrayGetValueAtIndex(cookiesCF.get(), i))); local 266 CFHTTPCookieRef cookie = static_cast<CFHTTPCookieRef>(const_cast<void *>(CFArrayGetValueAtIndex(cookiesCF.get(), i))); local [all...] |