Description[webcrypto] Refactor some of the algorithm parameter names.
(1) Add a suffix of either "Bits" or "Bytes" to all lengths to help with misuse. [*]
(2) Change how optional parameters are retrieved. Currently they require a getter, to prevent misuse [*]. However this is inconvenient, especially for buffers. Naming them "optional" should be enough to guide proper usage.
[*] There was a bug attempting to do this caught in a codereview.
BUG=245025
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163691
Patch Set 1 #Patch Set 2 : Improve a comment #
Messages
Total messages: 4 (0 generated)
|