Base64(Url) operations in Blink should use the //base implementations |
|
Issue descriptionWe currently have encoding and decoding routines for the base64 and URL-safe base64 encodings living in WTF. third_party/WebKit/Source/wtf/text/Base64.h They duplicate logic, don't support the full spectrum of encoding and decoding policies (e.g. one might not want to include trailing padding) and have a fair amount of unused APIs. Let's change it to wrap the //base version instead.
,
May 6 2016
The //base version takes a StringPiece, so we do not need any more data copies than we do today. The //base version does not make any specific assumptions about the encoding of the input.
,
May 6 2016
The return value will result in a string copy since it can't use our StringBuilder. Also are you sure it's okay to take a utf16 string and reinterpret_cast it to char and base64 encode that?
,
Jan 11
You started fixing this bug over two years ago. Are you still working on it? |
|
►
Sign in to add a comment |
|
Comment 1 by esprehn@chromium.org
, May 6 2016