Web Inspector: 'expires' value is incorrect for cookies
authoryurys@chromium.org <yurys@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 May 2012 16:46:39 +0000 (16:46 +0000)
committeryurys@chromium.org <yurys@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 May 2012 16:46:39 +0000 (16:46 +0000)
https://bugs.webkit.org/show_bug.cgi?id=85489

Reviewed by Pavel Feldman.

Fixed cookie 'expires' property type from integer to number so that
we don't lose precision when assembling Cookie parameter in InspectorResourceAgent.

* inspector/Inspector.json:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@115983 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/inspector/Inspector.json

index e1ca7e8..433e9da 100644 (file)
@@ -1,3 +1,15 @@
+2012-05-03  Yury Semikhatsky  <yurys@chromium.org>
+
+        Web Inspector: 'expires' value is incorrect for cookies
+        https://bugs.webkit.org/show_bug.cgi?id=85489
+
+        Reviewed by Pavel Feldman.
+
+        Fixed cookie 'expires' property type from integer to number so that
+        we don't lose precision when assembling Cookie parameter in InspectorResourceAgent.
+
+        * inspector/Inspector.json:
+
 2012-05-03  Dan Bernstein  <mitz@apple.com>
 
         highlight for Ruby text is mispositioned in the Web Inspector
index 2c818e1..f63905f 100644 (file)
                     { "name": "value", "type": "string", "description": "Cookie value." },
                     { "name": "domain", "type": "string", "description": "Cookie domain." },
                     { "name": "path", "type": "string", "description": "Cookie path." },
-                    { "name": "expires", "type": "integer", "description": "Cookie expires." },
+                    { "name": "expires", "type": "number", "description": "Cookie expires." },
                     { "name": "size", "type": "integer", "description": "Cookie size." },
                     { "name": "httpOnly", "type": "boolean", "description": "True if cookie is http-only." },
                     { "name": "secure", "type": "boolean", "description": "True if cookie is secure." },