<?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>76190</bug_id>
          
          <creation_ts>2012-01-12 10:10:10 -0800</creation_ts>
          <short_desc>[Qt] [PATCH] Use &apos;Ok&apos; and &apos;Cancel&apos; buttons in JavaScript confirm box.</short_desc>
          <delta_ts>2012-06-02 00:13:05 -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>WebKit Qt</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>1</everconfirmed>
          <reporter name="Johannes Obermayr">johannesobermayr</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahf</cc>
    
    <cc>hausmann</cc>
    
    <cc>ossy</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>534935</commentid>
    <comment_count>0</comment_count>
      <attachid>122267</attachid>
    <who name="Johannes Obermayr">johannesobermayr</who>
    <bug_when>2012-01-12 10:10:10 -0800</bug_when>
    <thetext>Created attachment 122267
Patch

Please use &apos;git am 0001-Use-Ok-and-Cancel-buttons-in-JavaScript-confirm-box.patch&apos; to keep author information ...

Maybe you should create a qtwebkit-patches mailing list for a quick and comfortable sending patches via &apos;git send-email&apos; ...

See: http://www.javascripter.net/faq/confirm.htm

Fixes: https://bugs.kde.org/show_bug.cgi?id=287629</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>535088</commentid>
    <comment_count>1</comment_count>
    <who name="Alexander Færøy">ahf</who>
    <bug_when>2012-01-12 13:00:41 -0800</bug_when>
    <thetext>(In reply to comment #0)
&gt; Please use &apos;git am 0001-Use-Ok-and-Cancel-buttons-in-JavaScript-confirm-box.patch&apos; to keep author information ...

The WebKit project doesn&apos;t work like that since the official repository is a subversion repository even though most of the QtWebKit developers uses the Git trees since we can actively work on QtWebKit without ever having to &quot;git push&quot; or &quot;svn commit&quot; because we have tons of automated review and commit tools :-)

Please have a look at http://trac.webkit.org/wiki/QtWebKitContrib and http://www.webkit.org/coding/contributing.html and upload a version of your patch that contains a proper ChangeLog entry :-)

&gt; Maybe you should create a qtwebkit-patches mailing list for a quick and comfortable sending patches via &apos;git send-email&apos; ...

Wont work since all patches must be reviewed of an approved WebKit reviewer and the reviewer tool is built into our Bugzilla setup :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>535092</commentid>
    <comment_count>2</comment_count>
    <who name="Johannes Obermayr">johannesobermayr</who>
    <bug_when>2012-01-12 13:05:46 -0800</bug_when>
    <thetext>Sorry for wasting your time ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>535094</commentid>
    <comment_count>3</comment_count>
    <who name="Alexander Færøy">ahf</who>
    <bug_when>2012-01-12 13:07:19 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; Sorry for wasting your time ...

You are not wasting our time. The patch looks clean enough for me, but I am not a reviewer. If you resubmit it with a proper ChangeLog entry, I will CC some reviewers who can review your changes :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>535099</commentid>
    <comment_count>4</comment_count>
    <who name="Johannes Obermayr">johannesobermayr</who>
    <bug_when>2012-01-12 13:14:34 -0800</bug_when>
    <thetext>With such stupid rules I regret of spending a few hours to detect the issue :-(

Fix it yourself ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>535282</commentid>
    <comment_count>5</comment_count>
      <attachid>122267</attachid>
    <who name="Noam Rosenthal">noam</who>
    <bug_when>2012-01-12 16:24:26 -0800</bug_when>
    <thetext>Comment on attachment 122267
Patch

Patch does not include changelog.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>535513</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2012-01-13 01:19:05 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; With such stupid rules I regret of spending a few hours to detect the issue :-(

I&apos;m sorry Johannes that you feel that way, but this is just like in KDE or any other open source project: There are rules about contributing source code.

In KDE you have to understand SVN, write a descriptive commit message and adhere to BUG:12344 etc. standards for the bugzilla integration. Then you need to get yourself access to the KDE SVN repository or find a kind soul to review &amp; commit the patch for you.

In the Git project you need to use git send-email to send your patch to the git list, CC Junio and make sure your commit has the right Signed-off-by.

In Qt you have to upload your patch to Gerrit and it needs to have a unique Change-Id, generated by a git commit hook.

And lastly in WebKit you upload your patch to Bugzilla together with a ChangeLog entry. The documentation at http://www.webkit.org/coding/contributing.html explains the necessary steps and the tools available make it easy to &quot;play by the rules&quot;. But as you can see, every project has such rules.

If you do not want to play by those rules but still get your change contributed, then you need to approach a fellow developer with kind words asking him to do the &quot;paperwork&quot; on your behalf. In WebKit&apos;s case however you still need to do the initial patch upload to accept the contribution licensing agreement, but it is possible to get help for getting your patch reviewed and landed manually.

I&apos;m re-opening this bug because the issue you discovered still appears to be valid, regardless of your feelings towards the patch contribution process of WebKit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>635246</commentid>
    <comment_count>7</comment_count>
    <who name="Johannes Obermayr">johannesobermayr</who>
    <bug_when>2012-05-28 08:26:30 -0700</bug_when>
    <thetext>Closing because nobody is interested in pushing it within 5 months.

See a good workflow:
1. http://lists.x.org/archives/xorg-devel/2012-May/031381.html
2. http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=7fdd8bd6d2ba7bf113d4109e6bb6f750f909565f
3. http://lists.x.org/archives/xorg-devel/2012-May/031385.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>637240</commentid>
    <comment_count>8</comment_count>
      <attachid>144821</attachid>
    <who name="Zoltan Arvai">zarvai</who>
    <bug_when>2012-05-30 08:10:12 -0700</bug_when>
    <thetext>Created attachment 144821
new patch

Patch with changelog.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>637260</commentid>
    <comment_count>9</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-05-30 08:27:50 -0700</bug_when>
    <thetext>Reopen to let EWS bots test the patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>639981</commentid>
    <comment_count>10</comment_count>
      <attachid>144821</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-06-02 00:13:00 -0700</bug_when>
    <thetext>Comment on attachment 144821
new patch

Clearing flags on attachment: 144821

Committed r119315: &lt;http://trac.webkit.org/changeset/119315&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>639982</commentid>
    <comment_count>11</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-06-02 00:13:05 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>122267</attachid>
            <date>2012-01-12 10:10:10 -0800</date>
            <delta_ts>2012-01-12 16:24:26 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>0001-Use-Ok-and-Cancel-buttons-in-JavaScript-confirm-box.patch</filename>
            <type>text/plain</type>
            <size>1857</size>
            <attacher name="Johannes Obermayr">johannesobermayr</attacher>
            
              <data encoding="base64">RnJvbSBmYmY0MjllNGQ4ZjFmNmIyZjczYzMwYjM2MjlkNjc5NmIwMThkYzcyIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBKb2hhbm5lcyBPYmV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mV0dXJuIFFNZXNzYWdlQm94OjpPayA9PSBRTWVzc2FnZUJveDo6aW5mb3JtYXRpb24ocGFy
ZW50LCB0cigiSmF2YVNjcmlwdCBDb25maXJtIC0gJTEiKS5hcmcobWFpbkZyYW1lKCktPnVybCgp
Lmhvc3QoKSksIFF0Ojplc2NhcGUobXNnKSwgUU1lc3NhZ2VCb3g6Ok9rLCBRTWVzc2FnZUJveDo6
Q2FuY2VsKTsKICNlbmRpZgogfQogCi0tIAoxLjcuNwoK
</data>
<flag name="review"
          id="123013"
          type_id="1"
          status="-"
          setter="noam"
    />
    <flag name="commit-queue"
          id="123014"
          type_id="3"
          status="-"
          setter="noam"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>144821</attachid>
            <date>2012-05-30 08:10:12 -0700</date>
            <delta_ts>2012-06-02 00:13:00 -0700</delta_ts>
            <desc>new patch</desc>
            <filename>yesok.patch</filename>
            <type>text/plain</type>
            <size>2128</size>
            <attacher name="Zoltan Arvai">zarvai</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJLaXQvcXQvQXBpL3F3ZWJwYWdlLmNwcCBiL1NvdXJjZS9X
ZWJLaXQvcXQvQXBpL3F3ZWJwYWdlLmNwcAppbmRleCBkOWIwMDc3Li5hZmJkYzNmIDEwMDY0NAot
LS0gYS9Tb3VyY2UvV2ViS2l0L3F0L0FwaS9xd2VicGFnZS5jcHAKKysrIGIvU291cmNlL1dlYktp
dC9xdC9BcGkvcXdlYnBhZ2UuY3BwCkBAIC0yMDk2LDcgKzIwOTYsNyBAQCB2b2lkIFFXZWJQYWdl
OjpqYXZhU2NyaXB0QWxlcnQoUVdlYkZyYW1lICpmcmFtZSwgY29uc3QgUVN0cmluZyYgbXNnKQog
ICAgIFRoaXMgZnVuY3Rpb24gaXMgY2FsbGVkIHdoZW5ldmVyIGEgSmF2YVNjcmlwdCBwcm9ncmFt
IHJ1bm5pbmcgaW5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