<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>57171</bug_id>
          
          <creation_ts>2011-03-26 19:32:14 -0700</creation_ts>
          <short_desc>check-webkit-style errors on trailing comma replaced by space when comments follow</short_desc>
          <delta_ts>2011-04-10 08:16:37 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Ben Taylor">bentaylor.solx86</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>levin</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>374027</commentid>
    <comment_count>0</comment_count>
    <who name="Ben Taylor">bentaylor.solx86</who>
    <bug_when>2011-03-26 19:32:14 -0700</bug_when>
    <thetext>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 &quot; &quot; so that
trailing comments maintain their &apos;style&quot;

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;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>382882</commentid>
    <comment_count>1</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2011-04-10 08:16:37 -0700</bug_when>
    <thetext>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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>