<?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>27998</bug_id>
          
          <creation_ts>2015-02-11 12:09:47 +0000</creation_ts>
          <short_desc>Attempt to reuse ended session should result in error response</short_desc>
          <delta_ts>2015-02-19 22:15:32 +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>All</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="Andreas Tolfsen">ato</reporter>
          <assigned_to name="Browser Testing and Tools WG">public-browser-tools-testing</assigned_to>
          <cc>dburns</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>117851</commentid>
    <comment_count>0</comment_count>
    <who name="Andreas Tolfsen">ato</who>
    <bug_when>2015-02-11 12:09:47 +0000</bug_when>
    <thetext>When attempting to reuse an ended session you should get an error.  All commands called after `DELETE /session/{session_id}` or `DELETE /session/{session_id}/window` on the last window should should result in error responses.

The Selenium project uses the “NoSuchDriver” exception to indicate this and we don&apos;t seem to have any equivalent of that.  Maybe a “session expired” error or something similar would make sense?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117853</commentid>
    <comment_count>1</comment_count>
    <who name="Andreas Tolfsen">ato</who>
    <bug_when>2015-02-11 16:17:25 +0000</bug_when>
    <thetext>I did a preliminary pass at this: https://github.com/w3c/webdriver/pull/9

Critique is welcome.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>118041</commentid>
    <comment_count>2</comment_count>
    <who name="David Burns :automatedtester">dburns</who>
    <bug_when>2015-02-19 22:15:32 +0000</bug_when>
    <thetext>https://github.com/w3c/webdriver/commit/796c959c68d68a40ac3ad1ef5f6afdd9bb05dc95</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>