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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>26707</bug_id>
          
          <creation_ts>2014-09-02 06:02:42 +0000</creation_ts>
          <short_desc>Describe data structures coming over the wire with a JSON schema instead of WebIDL</short_desc>
          <delta_ts>2014-09-03 22:12:13 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Browser Test/Tools WG</product>
          <component>WebDriver</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <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="Andreas Tolfsen">ato</reporter>
          <assigned_to name="Browser Testing and Tools WG">public-browser-tools-testing</assigned_to>
          <cc>dburns</cc>
    
    <cc>mike</cc>
          
          <qa_contact name="Browser Testing and Tools WG">public-browser-tools-testing</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>110837</commentid>
    <comment_count>0</comment_count>
    <who name="Andreas Tolfsen">ato</who>
    <bug_when>2014-09-02 06:02:42 +0000</bug_when>
    <thetext>The WindowSize dictionary [1] uses the data type double for height/width but this isn&apos;t supported in JSON which only has a number type [2] (which may be extracted to an integer or float in the local end).

(Furthermore ElementRect may use floats for the positioning of elements in the DOM, e.g. .5px, but WindowSize uses integers as no window managers support half pixels.)

1. https://dvcs.w3.org/hg/webdriver/raw-file/tip/webdriver-spec.html#dictionary-windowsize-members
2. http://www.ietf.org/rfc/rfc4627.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110939</commentid>
    <comment_count>1</comment_count>
    <who name="David Burns :automatedtester">dburns</who>
    <bug_when>2014-09-03 22:10:42 +0000</bug_when>
    <thetext>*** Bug 26704 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110940</commentid>
    <comment_count>2</comment_count>
    <who name="David Burns :automatedtester">dburns</who>
    <bug_when>2014-09-03 22:12:13 +0000</bug_when>
    <thetext>This is because WebIDL does not have a number type so updating bug to what the real issue is</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>