Title: [126405] trunk/Source/WebCore
Revision
126405
Author
[email protected]
Date
2012-08-23 01:32:23 -0700 (Thu, 23 Aug 2012)

Log Message

Web Inspector: treat 0 cookies as "no cookies" and render it accordingly in the UI
https://bugs.webkit.org/show_bug.cgi?id=94732

Reviewed by Yury Semikhatsky.

* inspector/front-end/RequestCookiesView.js:
(WebInspector.RequestCookiesView.prototype.get _gotCookies):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (126404 => 126405)


--- trunk/Source/WebCore/ChangeLog	2012-08-23 08:26:51 UTC (rev 126404)
+++ trunk/Source/WebCore/ChangeLog	2012-08-23 08:32:23 UTC (rev 126405)
@@ -1,3 +1,13 @@
+2012-08-23  Pavel Feldman  <[email protected]>
+
+        Web Inspector: treat 0 cookies as "no cookies" and render it accordingly in the UI
+        https://bugs.webkit.org/show_bug.cgi?id=94732
+
+        Reviewed by Yury Semikhatsky.
+
+        * inspector/front-end/RequestCookiesView.js:
+        (WebInspector.RequestCookiesView.prototype.get _gotCookies):
+
 2012-08-23  KwangYong Choi  <[email protected]>
 
         [EFL] Use vertical slider theme when the slider is vertical

Modified: trunk/Source/WebCore/inspector/front-end/RequestCookiesView.js (126404 => 126405)


--- trunk/Source/WebCore/inspector/front-end/RequestCookiesView.js	2012-08-23 08:26:51 UTC (rev 126404)
+++ trunk/Source/WebCore/inspector/front-end/RequestCookiesView.js	2012-08-23 08:32:23 UTC (rev 126405)
@@ -61,7 +61,7 @@
 
     get _gotCookies()
     {
-        return !!(this._request.requestCookies || this._request.responseCookies);
+        return (this._request.requestCookies && this._request.requestCookies.length) || (this._request.responseCookies && this._request.responseCookies.length);
     },
 
     _buildCookiesTable: function()
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to