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 26497 - Return type "void" is misleading
Summary: Return type "void" is misleading
Status: RESOLVED FIXED
Alias: None
Product: Browser Test/Tools WG
Classification: Unclassified
Component: WebDriver (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Browser Testing and Tools WG
QA Contact: Browser Testing and Tools WG
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 20860
  Show dependency treegraph
 
Reported: 2014-08-01 17:04 UTC by Andreas Tolfsen
Modified: 2015-05-30 19:51 UTC (History)
2 users (show)

See Also:


Attachments

Description Andreas Tolfsen 2014-08-01 17:04:46 UTC
Several command endpoints talk about "Return type: void".  This is misleading because we don't send a response (not even an empty JSON dictionary) in such cases.
Comment 1 Andreas Tolfsen 2014-08-01 17:07:21 UTC
Sorry that was misleading.  Of course we send responses (https://dvcs.w3.org/hg/webdriver/raw-file/tip/webdriver-spec.html#response-1) but it's unclear to me how we translate "void" into that.
Comment 2 David Burns :automatedtester 2014-08-04 08:51:32 UTC
just so I can understand the issue...

We need to have a definition of when the WebIDL is void that we return success JSON blob?
Comment 3 Andreas Tolfsen 2014-08-04 13:06:41 UTC
(In reply to David Burns :automatedtester from comment #2)
> just so I can understand the issue...
> 
> We need to have a definition of when the WebIDL is void that we return
> success JSON blob?

My impression was that we were not going to use WebIDL at all for defining
the commands and responses.
Comment 4 David Burns :automatedtester 2015-05-30 19:51:36 UTC
We have removed IDL or in the process as we rewrite the spec so am closing.