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 26707 - Describe data structures coming over the wire with a JSON schema instead of WebIDL
Summary: Describe data structures coming over the wire with a JSON schema instead of W...
Status: NEW
Alias: None
Product: Browser Test/Tools WG
Classification: Unclassified
Component: WebDriver (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Browser Testing and Tools WG
QA Contact: Browser Testing and Tools WG
URL:
Whiteboard:
Keywords:
: 26704 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-09-02 06:02 UTC by Andreas Tolfsen
Modified: 2014-09-03 22:12 UTC (History)
2 users (show)

See Also:


Attachments

Description Andreas Tolfsen 2014-09-02 06:02:42 UTC
The WindowSize dictionary [1] uses the data type double for height/width but this isn'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
Comment 1 David Burns :automatedtester 2014-09-03 22:10:42 UTC
*** Bug 26704 has been marked as a duplicate of this bug. ***
Comment 2 David Burns :automatedtester 2014-09-03 22:12:13 UTC
This is because WebIDL does not have a number type so updating bug to what the real issue is