[webkit-reviews] review granted: [Bug 212393] UTF-8 encode strings of invalid URLs when converting WTF::URL to NSURL instead of truncating the UTF-16 encoding : [Attachment 400398] add more tests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 27 18:24:21 PDT 2020


Darin Adler <darin at apple.com> has granted Alex Christensen
<achristensen at apple.com>'s request for review:
Bug 212393: UTF-8 encode strings of invalid URLs when converting WTF::URL to
NSURL instead of truncating the UTF-16 encoding
https://bugs.webkit.org/show_bug.cgi?id=212393

Attachment 400398: add more tests

https://bugs.webkit.org/attachment.cgi?id=400398&action=review




--- Comment #7 from Darin Adler <darin at apple.com> ---
Comment on attachment 400398
  --> https://bugs.webkit.org/attachment.cgi?id=400398
add more tests

I don’t understand why this works, since the code does not do the same thing
with 8-bit and 16-bit strings.


More information about the webkit-reviews mailing list