W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2015

[Bug 29331] New: Provide text guidance for rejecting promises

From: <bugzilla@jessica.w3.org>
Date: Thu, 10 Dec 2015 21:30:33 +0000
To: public-script-coord@w3.org
Message-ID: <bug-29331-3890@http.www.w3.org/Bugs/Public/>

            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

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:24 UTC