- From: <bugzilla@jessica.w3.org>
- Date: Thu, 05 Jun 2014 07:41:06 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25986
Bug ID: 25986
Summary: Signify JSON as a return value
Product: WebAppsWG
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: WebIDL
Assignee: cam@mcc.id.au
Reporter: annevk@annevk.nl
QA Contact: public-webapps-bugzilla@w3.org
CC: mike@w3.org, public-script-coord@w3.org
Since IDL also helps (and I realize that it does not do this for everyone and
that can improve upon it) with making object behavior more clear, it would be
nice if there was a way to identify JSON other than using object or any.
Both XMLHttpRequest and fetch() will be able to return JSON objects.
XMLHttpRequest uses any for response. fetch() will have to do the same for its
Promise<> returned from bodyAs().
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 5 June 2014 07:41:07 UTC