RESOLVED INVALID 57171
check-webkit-style errors on trailing comma replaced by space when comments follow
https://bugs.webkit.org/show_bug.cgi?id=57171
Summary check-webkit-style errors on trailing comma replaced by space when comments f...
Ben Taylor
Reported 2011-03-26 19:32:14 PDT
The example patch failed the check-webkit-style, and I believe this to be a false positive: The , that is replaced should be acceptable to be replaced by a space " " so that trailing comments maintain their 'style" Index: Source/WebCore/platform/network/ResourceRequestBase.h =================================================================== --- Source/WebCore/platform/network/ResourceRequestBase.h (revision 82026) +++ Source/WebCore/platform/network/ResourceRequestBase.h (working copy) @@ -41,7 +41,7 @@ namespace WebCore { UseProtocolCachePolicy, // normal load ReloadIgnoringCacheData, // reload ReturnCacheDataElseLoad, // back/forward or encoding change - allow stale data - ReturnCacheDataDontLoad, // results of a post - allow stale data and only use cache + ReturnCacheDataDontLoad // results of a post - allow stale data and only use cache }; class ResourceRequest;
Attachments
David Levin
Comment 1 2011-04-10 08:16:37 PDT
Somehow I missed this in my previous search. Regardless this has been discussed before, and it is not desirable in this project: https://lists.webkit.org/pipermail/webkit-dev/2009-September/009814.html
Note You need to log in before you can comment on or make changes to this bug.