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


            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