Branch: refs/heads/webkitglib/2.52
  Home:   https://github.com/WebKit/WebKit
  Commit: 3c894bbb6c240eefca21600653c8f1605cca1bb2
      
https://github.com/WebKit/WebKit/commit/3c894bbb6c240eefca21600653c8f1605cca1bb2
  Author: Alicia Boya Garcia <[email protected]>
  Date:   2026-04-21 (Tue, 21 Apr 2026)

  Changed paths:
    M Tools/gdb/webkit.py

  Log Message:
  -----------
  Cherry-pick 311364@main (3fb078257aab). 
https://bugs.webkit.org/show_bug.cgi?id=312395

    gdb: Fix UTF-16 pretty printer
    https://bugs.webkit.org/show_bug.cgi?id=312395

    Reviewed by Adrian Perez de Castro.

    ustring_to_string() (the function used for printing UTF-16 strings) was
    wrongfully re-encoding a text string back into bytes, causing an error
    later when concatenated with another text string.

    This patch also removes comments about Unicode vs non-Unicode strings in
    both ustring_to_string and lstring_to_string because they do not
    represent how strings work in Python 3: both functions must return
    regular strings.

    * Tools/gdb/webkit.py:
    (ustring_to_string): remove incorrect .encode('utf-8'), update doc
    comment.
    (lstring_to_string): update doc comment.

    Canonical link: https://commits.webkit.org/311364@main

Canonical link: https://commits.webkit.org/305877.446@webkitglib/2.52



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to