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 29219 - Confusing section on getting cookies.
Summary: Confusing section on getting cookies.
Status: RESOLVED FIXED
Alias: None
Product: Browser Test/Tools WG
Classification: Unclassified
Component: WebDriver (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Andreas Tolfsen
QA Contact: Browser Testing and Tools WG
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 20860
  Show dependency treegraph
 
Reported: 2015-10-21 15:32 UTC by James Graham
Modified: 2015-10-31 03:15 UTC (History)
2 users (show)

See Also:


Attachments

Description James Graham 2015-10-21 15:32:03 UTC
"HTTP Method 	Path Template
DELETE 	/session/{session id}/cookie/{name}

The Delete Cookie command allows you to delete either a single cookie by parameter name, or all the cookies associated with the active document’s address if name is undefined. "

This is rather unclear. If the intent is to have an endpoint [...]/cookie and [...]/cookie/{name} it might be clearer to have two sections in the spec because in other places it's assumed that a non-empty match is required in the URI templates, and in any case [...]/cookie/ and [...]/cookie are not equivalent.
Comment 1 James Graham 2015-10-21 15:32:46 UTC
Uh, I meant to copy the text for getting a cookie, but the same applies in either case.