W3C home > Mailing lists > Public > public-webcrypto@w3.org > January 2016

[Bug 29359] New: Make the "exceptions" section clearer

From: <bugzilla@jessica.w3.org>
Date: Tue, 05 Jan 2016 19:09:03 +0000
To: public-webcrypto@w3.org
Message-ID: <bug-29359-7213@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29359

            Bug ID: 29359
           Summary: Make the "exceptions" section clearer
           Product: Web Cryptography
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Web Cryptography API Document
          Assignee: sleevi@google.com
          Reporter: bzbarsky@mit.edu
                CC: public-webcrypto@w3.org
  Target Milestone: ---

The text in
http://www.w3.org/TR/2014/CR-WebCryptoAPI-20141211/#SubtleCrypto-Exceptions is
not exactly clear to me.  Is it saying that whenever throwing OperationError
the .message must be precisely the string "The operation failed for an
operation-specific reason"?  Is it saying that the string is up to the UA?  Is
it saying that it's up to the UA but if the UA has no idea then "The operation
failed for an operation-specific reason" is a good default?  Something else?

I _think_ the intent is the "up to the UA but this may be a reasonable default"
behavior, but that should just be spelled out if so.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Tuesday, 5 January 2016 19:09:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:03:03 UTC