<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>26586</bug_id>
          
          <creation_ts>2014-08-14 19:53:20 +0000</creation_ts>
          <short_desc>getCookie method in 12.1.2 is declared as HTTP GET, but contains parameter</short_desc>
          <delta_ts>2015-03-31 20:45:24 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Browser Test/Tools WG</product>
          <component>WebDriver</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jim Evans">james.h.evans.jr</reporter>
          <assigned_to name="Browser Testing and Tools WG">public-browser-tools-testing</assigned_to>
          <cc>dburns</cc>
    
    <cc>jleyba</cc>
    
    <cc>mike</cc>
          
          <qa_contact name="Browser Testing and Tools WG">public-browser-tools-testing</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>110191</commentid>
    <comment_count>0</comment_count>
    <who name="Jim Evans">james.h.evans.jr</who>
    <bug_when>2014-08-14 19:53:20 +0000</bug_when>
    <thetext>In section 12.1.2, the getCookie method is defined as:

    GET /session/{sessionId}/cookie

However, the subsequent prose indicates that a parameter indicating the cookie name to be retrieved can be optionally sent. Given that the command uses an HTTP GET (which is consistent with existing implementations, and likely should not be changed), it cannot have a payload that contains a name.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110193</commentid>
    <comment_count>1</comment_count>
    <who name="">jleyba</who>
    <bug_when>2014-08-14 20:27:11 +0000</bug_when>
    <thetext>For the existing implementations, GET /session/{sessionId}/cookie returns ALL cookies visible to the current page. GET /session/{sessionId}/cookie/{name} returns a specific cookie.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110351</commentid>
    <comment_count>2</comment_count>
    <who name="Jim Evans">james.h.evans.jr</who>
    <bug_when>2014-08-20 13:27:51 +0000</bug_when>
    <thetext>As a point of clarification, no existing implementation implements GET /session/{sessionId}/cookie/{name}. They implement DELETE /session/{sessionId}/cookie/{name} for deleting a specific cookie, but the GET verb is entirely undefined.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119159</commentid>
    <comment_count>3</comment_count>
    <who name="David Burns :automatedtester">dburns</who>
    <bug_when>2015-03-31 20:45:24 +0000</bug_when>
    <thetext>fixed in https://github.com/w3c/webdriver/commit/08382499cb775645b61b313be4fd441b72259b56</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>