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

[Bug 25557] New: Spec should allow returning NotSupportedError for reasons other than failed Algorithm normalization

From: <bugzilla@jessica.w3.org>
Date: Mon, 05 May 2014 18:42:26 +0000
To: public-webcrypto@w3.org
Message-ID: <bug-25557-7213@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25557

            Bug ID: 25557
           Summary: Spec should allow returning NotSupportedError for
                    reasons other than failed Algorithm normalization
           Product: Web Cryptography
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Web Cryptography API Document
          Assignee: sleevi@google.com
          Reporter: vijaybh@microsoft.com
                CC: public-webcrypto@w3.org

(see discussion in
http://lists.w3.org/Archives/Public/public-webcrypto/2014Apr/0085.html)

Currently the spec only allows NotSupportedError to be returned if Algorithm
normalization fails to produce a registered algorithm. We should give an
implementation the flexibility to return this error in other cases as well:

1. If we ever add anything to the registry then old implementations will
automatically be in violation of this rule as they will then be returning
NotSupportedError for "registered algorithms".
2. An implementation may choose to not support a particular algorithm or
operation due to various constraints, and may desire to fail early so scripts
can handle errors more easily.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Monday, 5 May 2014 18:42:30 UTC

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