W3C home > Mailing lists > Public > public-browser-tools-testing@w3.org > July to September 2015

Re: shutdown command documentation

From: Jim Evans <james.h.evans.jr@gmail.com>
Date: Mon, 27 Jul 2015 21:40:11 -0400
Cc: John Jansen <John.Jansen@microsoft.com>, "public-browser-tools-testing@w3.org" <public-browser-tools-testing@w3.org>
Message-Id: <D7042943-7586-402B-A815-087C17D89889@gmail.com>
To: David Burns <dburns@mozilla.com>
Some historical perspective may be in order. The Java remote server added the /shutdown endpoint to give client bindings a way to gracefully exit the Selenium standalone server. That was the original intent of the endpoint, nothing more. I can't speak to how the Chrome implementation does it, but the IE driver doesn't implement it. There are other mechanisms to shut down that process, like calling the DELETE /session/:sessionid endpoint.


> On Jul 27, 2015, at 20:21, David Burns <dburns@mozilla.com> wrote:
> 
> I am not sure that /shutdown should be specified. The ChromeDriver has it for graceful shutdown of their binary from looking at the OSS code but this is not in the FirefoxDriver,Marionette (Mozilla's implementation) or IEDriver. I can't find it  documented on the OSS JSON Wire page either.
> 
> Is this really needed since it is an implicit action for terminating the httpd (which has not spec prose for starting it up) when delete session[1] is called?
> 
> David
> 
> [1] http://w3c.github.io/webdriver/webdriver-spec.html#delete-session
> 
>> On 28 July 2015 at 01:01, John Jansen <John.Jansen@microsoft.com> wrote:
>> Interesting, shutdown is not spec’d anywhere, even though it is used by the Selenium bindings. Can we have it added to the spec?
>> 
>>  
>> 
>>  
>> 
>> Spec
>> 
>> N/A
>> 
>> Spec Command Name
>> 
>> N/A
>> 
>> Spec Link
>> 
>> N/A
>> 
>> Internal Command Name
>> 
>> shutdown
>> 
>> Description
>> 
>> Shuts down the server.
>> 
>> HTTP Request
>> 
>> GET /shutdown
>> 
>> JSON Parameters
>> 
>> None
>> 
>> JSON Response value
>> 
>> None
>> 
> 
Received on Tuesday, 28 July 2015 01:40:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 28 July 2015 01:40:42 UTC