<?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>180417</bug_id>
          
          <creation_ts>2017-12-05 04:06:22 -0800</creation_ts>
          <short_desc>WebDriver: test imported/w3c/webdriver/tests/set_window_rect.py::test_height_width fails</short_desc>
          <delta_ts>2018-01-23 01:10:31 -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>1378142</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2017-12-05 04:06:22 -0800</bug_when>
    <thetext>response = &lt;Responsetatus=200 body={&quot;value&quot;: {&quot;y&quot;: 450, &quot;x&quot;: 100, &quot;height&quot;: 0, &quot;width&quot;: 668}}&gt;, value = {&apos;height&apos;: 668, &apos;width&apos;: 924, &apos;x&apos;: 100, &apos;y&apos;: 450}

    def assert_success(response, value=None):
        &quot;&quot;&quot;
        Verify that the provided webdriver.Response instance described
        a valid error response as defined by `dfn-send-an-error` and
        the provided error code.
    
        :param response: ``webdriver.Response`` instance.
        :param value: Expected value of the response body, if any.
        &quot;&quot;&quot;
        assert response.status == 200, str(response.error)
    
        if value is not None:
&gt;           assert response.body[&quot;value&quot;] == value
E           AssertionError

response   = &lt;Responsetatus=200 body={&quot;value&quot;: {&quot;y&quot;: 450, &quot;x&quot;: 100, &quot;height&quot;: 0, &quot;width&quot;: 668}}&gt;
value      = {&apos;height&apos;: 668, &apos;width&apos;: 924, &apos;x&apos;: 100, &apos;y&apos;: 450}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1391996</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2018-01-23 01:10:31 -0800</bug_when>
    <thetext>

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

    </bug>

</bugzilla>