Split cryptographic digest computation and parsing out of CSP code so it can be reused
Created attachment 307640 [details] Patch
Created attachment 307643 [details] Patch
Created attachment 307647 [details] Patch
Comment on attachment 307647 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=307647&action=review r=me > Source/WTF/wtf/text/Base64.h:154 > +WTF_EXPORT_PRIVATE bool base64Decode(const StringView&, SignedOrUnsignedCharVectorAdapter, unsigned options = Base64Default); We usually take StringView in parameter, rather than const StringView& I believe. > Source/WTF/wtf/text/Base64.h:192 > +WTF_EXPORT_PRIVATE bool base64URLDecode(const StringView&, SignedOrUnsignedCharVectorAdapter); ditto.
Committed revision 215646.