Bug 125641 - Make algorithm.name return registered name, not normalized one
Summary: Make algorithm.name return registered name, not normalized one
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords:
Depends on:
Blocks: 122679
  Show dependency treegraph
 
Reported: 2013-12-12 10:12 PST by Alexey Proskuryakov
Modified: 2013-12-12 10:18 PST (History)
0 users

See Also:


Attachments
proposed patch (56.10 KB, patch)
2013-12-12 10:16 PST, Alexey Proskuryakov
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2013-12-12 10:12:30 PST
Currently, WebCrypto editor's draft stipulates that algorithm name is lowercased as part of normalization.

But it makes little sense to register algorithms as mixed (mostly upper) case, but return the name lowercased. Our implementations don't bother respecting this, and signs are that the spec will change.

I'd like to match other implementations here, because sticking to the spec only makes us fail 3rd party test suites for no good reason.
Comment 1 Alexey Proskuryakov 2013-12-12 10:12:44 PST
s/Our implementations don't bother/Other implementations don't bother/
Comment 2 Alexey Proskuryakov 2013-12-12 10:16:24 PST
Created attachment 219091 [details]
proposed patch
Comment 3 Alexey Proskuryakov 2013-12-12 10:18:41 PST
Committed <http://trac.webkit.org/r160491>.