- From: <bugzilla@jessica.w3.org>
- Date: Sat, 08 Mar 2014 17:02:52 +0000
- To: public-browser-tools-testing@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24976
Bug ID: 24976
Summary: Section 2.6.1 states that every request and response
should have a Json payload; is that what we want?
Product: Browser Test/Tools WG
Version: unspecified
Hardware: All
URL: https://dvcs.w3.org/hg/webdriver/raw-file/ac1cadc32661
/webdriver-spec.html#json-encoding-of-commands
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: WebDriver
Assignee: public-browser-tools-testing@w3.org
Reporter: fisherii@google.com
QA Contact: public-browser-tools-testing@w3.org
CC: mike@w3.org
Blocks: 20860
Requiring a Json payload in every response would be feasible, but current
drivers, including Selenium Server Standalone, often return empty responses for
successful operations that don't return values, as well as using error http
status codes with plain text responses for certain types of problems. If we
want to support this, we should document it (I don't have a strong opinion
either way, but do slightly lean towards having the remote end return HTTP
status 200 with a Json payload for every request).
Since the wire protocol uses GET and DELETE requests for some operations, it is
not possible for every request to contain a Json payload. We need to make this
clear.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Saturday, 8 March 2014 17:02:54 UTC