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

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