W3C home > Mailing lists > Public > public-webcrypto@w3.org > July 2014

[Bug 26301] New: Normalization: Should through instead of returning an Error instance

From: <bugzilla@jessica.w3.org>
Date: Wed, 09 Jul 2014 19:44:47 +0000
To: public-webcrypto@w3.org
Message-ID: <bug-26301-7213@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26301

            Bug ID: 26301
           Summary: Normalization: Should through instead of returning an
                    Error instance
           Product: Web Cryptography
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: ASSIGNED
          Severity: normal
          Priority: P2
         Component: Web Cryptography API Document
          Assignee: sleevi@google.com
          Reporter: sleevi@google.com
                CC: bzbarsky@mit.edu, public-webcrypto@w3.org

>From http://lists.w3.org/Archives/Public/public-webcrypto/2014Jul/0024.html

* I'm not sure why we're returning Error instances from the "normalize 
an algorithm" steps instead of just throwing them as exceptions.  The 
latter will do the right thing because WebIDL will convert them to 
rejected promises, and seems a lot less confusing.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Wednesday, 9 July 2014 19:44:48 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:17:23 UTC