This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html Section: http://www.whatwg.org/specs/web-apps/current-work/complete.html#json Comment: Why the { items: [item, ...] } when the object has only property? Posted from: 81.234.240.242 User agent: Opera/9.80 (X11; Linux x86_64; U; Edition Next; en) Presto/2.8.158 Version/11.50
Looking at the algorithm in isolation, there appears to be no good reason why an object with a property 'items' holds the array of items, instead of just serializing the array directly. If the reason is for future extensibility or that the object-ness is somehow, a note stating this would be appreciated.
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document: http://dev.w3.org/html5/decision-policy/decision-policy.html Status: Accepted Change Description: see diff given below Rationale: Concurred with reporter's comments.
Checked in as WHATWG revision r6283. Check-in comment: explain about json extensibility http://html5.org/tools/web-apps-tracker?from=6282&to=6283
mass-move component to LC1