Summary: | lldb_webkit.py throws exception when generating summary of null StringImpl | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | BJ Burg <bburg> | ||||||
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue, jer.noble, joepeck, mattbaker | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
BJ Burg
2014-02-27 14:10:15 PST
Good catch! I'll look into this. I have a fix, will patch soon. Created attachment 235849 [details]
Proposed fix
Attachment 235849 [details] did not pass style-queue:
ERROR: Tools/ChangeLog:8: Line contains tab character. [whitespace/tab] [5]
Total errors found: 1 in 2 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 235851 [details]
Patch
Comment on attachment 235851 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=235851&action=review r=me, with nit. > Tools/lldb/lldb_webkit.py:58 > + return "" Nit: it might be nice to return "{ null }" here. Comment on attachment 235851 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=235851&action=review >> Tools/lldb/lldb_webkit.py:58 >> + return "" > > Nit: it might be nice to return "{ null }" here. Oh nice! I like that idea. Comment on attachment 235851 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=235851&action=review >> Tools/lldb/lldb_webkit.py:58 >> + return "" > > Nit: it might be nice to return "{ null }" here. Xcode auto-appends "NULL" in the variables window in this case, so it might just add clutter. Comment on attachment 235851 [details] Patch Clearing flags on attachment: 235851 Committed r172012: <http://trac.webkit.org/changeset/172012> All reviewed patches have been landed. Closing bug. |