- From: <bugzilla@jessica.w3.org>
- Date: Thu, 10 Dec 2015 21:30:33 +0000
- To: public-script-coord@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29331
Bug ID: 29331
Summary: Provide text guidance for rejecting promises
Product: WebAppsWG
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: WebIDL
Assignee: cam@mcc.id.au
Reporter: ddorwin@google.com
QA Contact: public-webapps-bugzilla@w3.org
CC: d@domenic.me, mike@w3.org, public-script-coord@w3.org
Target Milestone: ---
https://heycam.github.io/webidl/#idl-exceptions provides guidance/examples on
creating and throwing exceptions, including shorthand like "Throw an
IndexSizeError." It should include similar guidance/examples for rejecting
promises.
In addition, `reject` should be defined and linkable like `throw`.
This was originally discussed in
https://github.com/w3c/encrypted-media/issues/122#issuecomment-163082590. See
also the reply from Domenic.
This may be related to bug 21740, though that seems outdated.
--
You are receiving this mail because:
You are on the CC list for the bug.
Received on Thursday, 10 December 2015 21:30:37 UTC