W3C home > Mailing lists > Public > public-browser-tools-testing@w3.org > October to December 2013

[Bug 23950] New: New status code "invalid argument"

From: <bugzilla@jessica.w3.org>
Date: Mon, 02 Dec 2013 12:05:29 +0000
To: public-browser-tools-testing@w3.org
Message-ID: <bug-23950-5015@http.www.w3.org/Bugs/Public/>

            Bug ID: 23950
           Summary: New status code "invalid argument"
           Product: Browser Test/Tools WG
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebDriver
          Assignee: public-browser-tools-testing@w3.org
          Reporter: ato@mozilla.com
        QA Contact: public-browser-tools-testing@w3.org
                CC: mike@w3.org

Because we have commands that receive open-ended arguments there
should be a way for drivers to refuse performing a command because of
invalid or malformed arguments.  I suggest we call such a status code
“invalid argument”.

A good example of when this is needed is the setScreenOrientation
command which receives a string of either “PORTRAIT” or “LANDSCAPE”.
If the user sends something other than these strings the best a driver
can do right now is to pass a non-descriptive WebDriverException/500.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 2 December 2013 12:05:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:09:49 UTC