- From: <bugzilla@jessica.w3.org>
- Date: Tue, 25 Nov 2014 10:58:42 +0000
- To: public-script-coord@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27428 Bug ID: 27428 Summary: [ArrayClass] should serialize as an array by default Product: WebAppsWG Version: unspecified Hardware: PC OS: All Status: NEW Severity: normal Priority: P2 Component: WebIDL Assignee: cam@mcc.id.au Reporter: simonp@opera.com QA Contact: public-webapps-bugzilla@w3.org CC: mike@w3.org, public-script-coord@w3.org http://heycam.github.io/webidl/#ArrayClass [[ [ArrayClass] ]] It seems currently the JSON serialization of DOMRectList is a bit ugly: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3315 Blink {"0":{"height":16,"width":1645,"left":8,"bottom":24,"right":1653,"top":8},"length":1} WebKit {"0":{},"length":1} Gecko {"0":{}} Assuming DOMRectList stays for Web compat, it would be nice to have it serialize as an array. Would it make sense for WebIDL to serialize [ArrayClass] interfaces as an array by default? (Or whatever replaces [ArrayClass].) -- You are receiving this mail because: You are on the CC list for the bug.
Received on Tuesday, 25 November 2014 10:58:44 UTC