RESOLVED FIXED 120134
[Tools] lldb_webkit.py helpers is incorrectly printing 8bit Strings
https://bugs.webkit.org/show_bug.cgi?id=120134
Summary [Tools] lldb_webkit.py helpers is incorrectly printing 8bit Strings
Joseph Pecoraro
Reported 2013-08-21 13:27:24 PDT
Patch to follow. # Before Change (lldb) command script import /Volumes/Data/Code/webkit-open-source/Tools/lldb/lldb_webkit.py (lldb) p mimeType (const WTF::String) $9 = { length = 16, contents = '\u6d69\u6761\u2f65\u6e70\u3b67\u6162\u6573\u3436\u22a9\u22bd\u07ff\ud000\u211b\u22bd\u07ff\u8000' } { m_impl = { m_ptr = 0x00007ff22168bad0 { length = 16, is8bit = 0, contents = '\u6d69\u6761\u2f65\u6e70\u3b67\u6162\u6573\u3436\u22a9\u22bd\u07ff\ud000\u211b\u22bd\u07ff\u8000' } } } (lldb) p mimeType.is8Bit() (bool) $10 = true # After Change (lldb) command script import /Volumes/Data/Code/webkit-open-source/Tools/lldb/lldb_webkit.py (lldb) p mimeType (const WTF::String) $11 = { length = 16, contents = 'image/png;base64' } { m_impl = { m_ptr = 0x00007ff22168bad0 { length = 16, is8bit = 1, contents = 'image/png;base64' } } }
Attachments
[PATCH] Proposed Fix (1.04 KB, patch)
2013-08-21 13:28 PDT, Joseph Pecoraro
no flags
Joseph Pecoraro
Comment 1 2013-08-21 13:28:58 PDT
Created attachment 209298 [details] [PATCH] Proposed Fix
WebKit Commit Bot
Comment 2 2013-08-21 13:59:46 PDT
Comment on attachment 209298 [details] [PATCH] Proposed Fix Clearing flags on attachment: 209298 Committed r154411: <http://trac.webkit.org/changeset/154411>
WebKit Commit Bot
Comment 3 2013-08-21 13:59:47 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.