This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25067 - Date is not "seconds since midnight, January 1, 1970 UTC."
Summary: Date is not "seconds since midnight, January 1, 1970 UTC."
Status: RESOLVED FIXED
Alias: None
Product: Browser Test/Tools WG
Classification: Unclassified
Component: WebDriver (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Browser Testing and Tools WG
QA Contact: Browser Testing and Tools WG
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 20860
  Show dependency treegraph
 
Reported: 2014-03-15 09:23 UTC by Andrey Botalov
Modified: 2014-03-19 00:21 UTC (History)
2 users (show)

See Also:


Attachments

Description Andrey Botalov 2014-03-15 09:23:01 UTC
Web IDL seems to define Date not as a number of seconds (http://www.w3.org/TR/WebIDL/#idl-Date).

Also it tells that expiry can be "-1" but Date doesn't allow it to be "-1". I think it's better to define expiry as nullable instead.

I think the following is better:
"The time when cookie should be deleted. This SHOULD be set or MUST be null if unknown."

Also there seems to be a typo in a row above:
"The domain the cookie is visible too"
->
"The domain the cookie is visible to"
Comment 1 David Burns :automatedtester 2014-03-19 00:21:01 UTC
Corrected in https://dvcs.w3.org/hg/webdriver/rev/be3d11f4e7c8