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 29629 - Set Window Size doesn't check argument type
Summary: Set Window Size doesn't check argument type
Status: RESOLVED FIXED
Alias: None
Product: Browser Test/Tools WG
Classification: Unclassified
Component: WebDriver (show other bugs)
Version: unspecified
Hardware: PC Linux
: 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: 2016-05-16 13:25 UTC by James Graham
Modified: 2016-09-19 16:43 UTC (History)
2 users (show)

See Also:


Attachments

Description James Graham 2016-05-16 13:25:55 UTC
"Let width be the result of getting a property named width from the parameters argument.

Let height be the result of getting a property named height from the parameters argument.

Set the width, in CSS reference pixels, of the operating system window containing the current top-level browsing context, including any browser chrome and externally drawn window decorations to a value that is as close as possible to width. "

This doesn't account for the possibility of width or height being non-numbers (in particular undefined, which might mean only set width or only set height).