<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>180416</bug_id>
          
          <creation_ts>2017-12-05 03:54:24 -0800</creation_ts>
          <short_desc>WebDriver: test imported/w3c/webdriver/tests/set_window_rect.py::test_width_height_floats fails</short_desc>
          <delta_ts>2018-01-23 01:10:24 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebDriver</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>181728</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Garcia Campos">cgarcia</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bburg</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1378141</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2017-12-05 03:54:24 -0800</bug_when>
    <thetext>session = &lt;webdriver.client.Session object at 0x7f2e044424d0&gt;

    def test_width_height_floats(session):
        &quot;&quot;&quot;
        8. If width or height is neither null nor a Number from 0 to 2^31 -
        1, return error with error code invalid argument.
        &quot;&quot;&quot;
    
        response = set_window_rect(session, {&quot;width&quot;: 500.5, &quot;height&quot;: 420})
        value = assert_success(response)
&gt;       assert value[&quot;width&quot;] == 500
E       assert 420 == 500

response   = &lt;Responsetatus=200 body={&quot;value&quot;: {&quot;y&quot;: 0, &quot;x&quot;: 0, &quot;height&quot;: 0, &quot;width&quot;: 420}}&gt;
session    = &lt;webdriver.client.Session object at 0x7f2e044424d0&gt;
value      = {&apos;height&apos;: 0, &apos;width&apos;: 420, &apos;x&apos;: 0, &apos;y&apos;: 0}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1391994</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2018-01-23 01:10:24 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 181728 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>