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 27765 - Default value of parameters in command is array
Summary: Default value of parameters in command is array
Status: NEW
Alias: None
Product: Browser Test/Tools WG
Classification: Unclassified
Component: WebDriver (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Browser Testing and Tools WG
QA Contact: Browser Testing and Tools WG
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-06 15:20 UTC by Andreas Tolfsen
Modified: 2015-01-06 15:20 UTC (History)
1 user (show)

See Also:


Attachments

Description Andreas Tolfsen 2015-01-06 15:20:47 UTC
In section 2.1 it says that the default value of the parameters field should be an empty array, but the type is an object.  Also an array cannot be named:

“The parameters attribute is a map of named parameters to objects representing the value of the parameter. The default value is an empty array and this field MUST NOT be null.”