Bug 61106

Summary: check-webkit-style false positive for alphabetical sorting problem
Product: WebKit Reporter: philippe.beauchamp
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Minor CC: ap, dglazkov
Priority: P4    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Proposed Patch ap: review-

philippe.beauchamp
Reported 2011-05-18 19:24:21 PDT
Style error is false positive for alphabetical sorting problem. This will flag a style error: #include "HitTestResult.h" #include "HTMLFormElement.h" ^ This will not flag a style error: #include "HTMLPlugInImageElement.h" #include "HistoryItem.h" #include "HitTestResult.h" #include "KURL.h" Lines must be compared in lower case: if previous_header_type == _OTHER_HEADER and previous_line.strip().lower() > line.strip().lower():
Attachments
Proposed Patch (1.35 KB, patch)
2011-05-18 19:27 PDT, philippe.beauchamp
ap: review-
philippe.beauchamp
Comment 1 2011-05-18 19:27:36 PDT
Created attachment 94034 [details] Proposed Patch
Alexey Proskuryakov
Comment 2 2011-05-19 00:35:38 PDT
Comment on attachment 94034 [details] Proposed Patch WebKit style guide says that the sort order is "case sensitive, as done by the command-line sort tool or the Xcode sort selection command".
Note You need to log in before you can comment on or make changes to this bug.