[Webkit-unassigned] [Bug 35723] Refactoring: window.btoa() and window.atob() should be implemented on DOMWindow

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 4 09:27:07 PST 2010


Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
  Attachment #49998|review?                     |review-
               Flag|                            |

--- Comment #4 from Darin Adler <darin at apple.com>  2010-03-04 09:27:07 PST ---
(From update of attachment 49998)
> -    return jsString(exec, String(out.data(), out.size()));
> +    return jsString(exec, String(result.characters(), result.length()));

This is wrong. It makes an extra copy of the entire string! It should just be
jsString(exec, result).

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list