<?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>29157</bug_id>
          
          <creation_ts>2015-09-28 21:16:40 +0000</creation_ts>
          <short_desc>Need a /status end point for wire protocol</short_desc>
          <delta_ts>2015-10-23 13:21:40 +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>
          
          <blocked>20860</blocked>
          <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>ato</cc>
    
    <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>123348</commentid>
    <comment_count>0</comment_count>
    <who name="Jim Evans">james.h.evans.jr</who>
    <bug_when>2015-09-28 21:16:40 +0000</bug_when>
    <thetext>There is a potential race condition in most shims and local ends, in that there may be some time between when a shim&apos;s process is launched, and it&apos;s HTTP server is ready to receive requests. Having a /status end point that a local end can poll to determine that not only is the executable started, but the HTTP server is correctly responding to requests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123471</commentid>
    <comment_count>1</comment_count>
    <who name="Andreas Tolfsen">ato</who>
    <bug_when>2015-10-04 18:01:06 +0000</bug_when>
    <thetext>When the HTTP client is able to request the endpoint, is this not enough confirmation the remote end is ready to receive commands?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123487</commentid>
    <comment_count>2</comment_count>
    <who name="Jim Evans">james.h.evans.jr</who>
    <bug_when>2015-10-05 15:53:11 +0000</bug_when>
    <thetext>There&apos;s a potential use case where the user wants to be able to start the shim, but not immediately start a session. Also, consider the case where the shim can support more than one session during its execution (a scenario not explicitly excluded by the spec). There is no other end point that is valid other than those that (1) create a new session, or (2) require an existing session. The end point does not even need to be &quot;/status&quot;; we could leverage a &quot;GET&quot; verb on the existing &quot;/session&quot; end point. There should simply be an idempotent, no-op end point that a local end can query to validate that, &quot;Yes, the remote end is alive, and responding to requests.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123769</commentid>
    <comment_count>3</comment_count>
    <who name="David Burns :automatedtester">dburns</who>
    <bug_when>2015-10-19 13:55:37 +0000</bug_when>
    <thetext>added this in https://github.com/w3c/webdriver/pull/278

All implementations appear to have added this according to the WebDriver JSON Wire Protocol so we might as well add it here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123880</commentid>
    <comment_count>4</comment_count>
    <who name="David Burns :automatedtester">dburns</who>
    <bug_when>2015-10-23 13:21:40 +0000</bug_when>
    <thetext>this has landed in 0e48b3321838b35c0ba6ac5ef1c7752a7dc64b0c</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>