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 Multipage: http://www.whatwg.org/C#json Complete: http://www.whatwg.org/c#json Comment: How should result be serialized? Posted from: 81.234.240.242 User agent: Opera/9.80 (X11; Linux x86_64; U; Edition Next; en) Presto/2.9.168 Version/11.50
Step 5 says "Return the result of serializing result to JSON." but doesn't define how to serialize it. I suggest referencing JSON.stringify from [ECMA262] section 15.12.3 with no replacer or space parameter given, such that it is exactly equivalent to calling JSON.stringify(result).
Doesn't JSON define how to serialise something to JSON?
I guess JSON does leave some things undefined. 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. (I didn't refer to JS because it's not a JS object we're serialising here, so it's an extra unnecessary layer of abstraction.)
Checked in as WHATWG revision r6284. Check-in comment: Define how to serialise JSON for use in drag-and-drop. http://html5.org/tools/web-apps-tracker?from=6283&to=6284
mass-move component to LC1