- From: <bugzilla@jessica.w3.org>
- Date: Sun, 30 Jun 2013 18:46:06 +0000
- To: public-script-coord@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22522
Bug ID: 22522
Summary: WebIDL, error handling, and promises
Classification: Unclassified
Product: WebAppsWG
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: WebIDL
Assignee: cam@mcc.id.au
Reporter: w3c@marcosc.com
QA Contact: public-webapps-bugzilla@w3.org
CC: mike@w3.org, public-script-coord@w3.org
When using a method that vends a promise, it's not clear to me what should
happen when WebIDL says to throw a TypeError.
The WebIDL spec should include something like: "If return type is Promise, and
an exception has been thrown, instead return a rejected promise with that
exception."
See email thread:
http://lists.w3.org/Archives/Public/public-script-coord/2013AprJun/0772.html
--
You are receiving this mail because:
You are on the CC list for the bug.
Received on Sunday, 30 June 2013 18:46:08 UTC