Lines Matching refs:cookies
48 this._emptyMsgElement.textContent = WebInspector.UIString("This site has no cookies.");
78 WebInspector.Cookies.getCookiesAsync(this._updateWithCookies.bind(this));
103 this._treeElement.subtitle = String.sprintf(WebInspector.UIString("%d cookies (%s)"), this._cookies.length,
112 var cookies = [];
129 if (WebInspector.Cookies.cookieMatchesResourceURL(allCookies[i], resourceURL)) {
133 cookies.push(allCookies[i]);
138 return cookies;
177 setCookies: function(cookies)
181 for (var i = 0; i < cookies.length; ++i) {
182 if (addedCookies[cookies[i].name])
184 addedCookies[cookies[i].name] = true;
186 data[0] = cookies[i].name;
187 data[1] = cookies[i].value;
204 WebInspector.Cookies = {}
206 WebInspector.Cookies.getCookiesAsync = function(callback)
208 function mycallback(error, cookies, cookiesString)
213 callback(WebInspector.Cookies.buildCookiesFromString(cookiesString), false);
215 callback(cookies, true);
221 WebInspector.Cookies.buildCookiesFromString = function(rawCookieString)
224 var cookies = [];
233 cookies.push({ name: name, value: value, size: size });
237 return cookies;
240 WebInspector.Cookies.cookieMatchesResourceURL = function(cookie, resourceURL)
250 WebInspector.Cookies.cookieDomainMatchesResourceDomain = function(cookieDomain, resourceDomain)