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

Re: Bug 24878 - Remove algorithm aliases

From: Alexey Proskuryakov <ap@webkit.org>
Date: Sat, 01 Mar 2014 10:55:21 -0800
Cc: "public-webcrypto@w3.org" <public-webcrypto@w3.org>
Message-id: <03712472-4488-4C25-800C-BB845C3AFEBC@webkit.org>
To: Richard Barnes <rlb@ipv.sx>
Hi Richard,

01 марта 2014 г., в 8:39, Richard Barnes <rlb@ipv.sx> написал(а):

> FYI, I just filed Bug 24878, proposing that we remove algorithm aliases.  The current Chromium implementation doesn't do them, and I'm hoping to save a few lines in Firefox :)
> 
> https://www.w3.org/Bugs/Public/show_bug.cgi?id=24878

Are you talking about DOMString aliases as used in this example?

crypto.subtle.digest('sha-1', myArray)

WebKit supports this, and it seems silly to require passing "{name: 'sha-1'}" here.

- WBR, Alexey Proskuryakov


Received on Saturday, 1 March 2014 18:55:54 UTC

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