<?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>152423</bug_id>
          
          <creation_ts>2015-12-18 05:46:09 -0800</creation_ts>
          <short_desc>[WinCairo] Empty context menu item.</short_desc>
          <delta_ts>2015-12-19 00:38:26 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>WebKit 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>peavo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>achristensen</cc>
    
    <cc>bfulgham</cc>
    
    <cc>commit-queue</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1150257</commentid>
    <comment_count>0</comment_count>
    <who name="">peavo</who>
    <bug_when>2015-12-18 05:46:09 -0800</bug_when>
    <thetext>The context menu contains a submenu item with no text.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1150258</commentid>
    <comment_count>1</comment_count>
      <attachid>267625</attachid>
    <who name="">peavo</who>
    <bug_when>2015-12-18 05:51:14 -0800</bug_when>
    <thetext>Created attachment 267625
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1150337</commentid>
    <comment_count>2</comment_count>
      <attachid>267625</attachid>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2015-12-18 10:53:01 -0800</bug_when>
    <thetext>Comment on attachment 267625
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=267625&amp;action=review

&gt; Source/WebCore/page/ContextMenuController.cpp:801
&gt; +#if PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN_CAIRO)
&gt;      ContextMenuItem ShareMenuItem;

My guess is that all windows ports need this if WinCairo does.  How do I see this particular context menu?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1150361</commentid>
    <comment_count>3</comment_count>
    <who name="">peavo</who>
    <bug_when>2015-12-18 11:36:08 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; Comment on attachment 267625 [details]
&gt; Patch
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=267625&amp;action=review
&gt; 
&gt; &gt; Source/WebCore/page/ContextMenuController.cpp:801
&gt; &gt; +#if PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN_CAIRO)
&gt; &gt;      ContextMenuItem ShareMenuItem;
&gt; 
&gt; My guess is that all windows ports need this if WinCairo does.  How do I see
&gt; this particular context menu?

Good point :) I see the context menu with the empty item when I right-click any web page element in MiniBrowser.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1150363</commentid>
    <comment_count>4</comment_count>
      <attachid>267645</attachid>
    <who name="">peavo</who>
    <bug_when>2015-12-18 11:38:23 -0800</bug_when>
    <thetext>Created attachment 267645
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1150440</commentid>
    <comment_count>5</comment_count>
      <attachid>267645</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-12-18 16:25:58 -0800</bug_when>
    <thetext>Comment on attachment 267645
Patch

Clearing flags on attachment: 267645

Committed r194305: &lt;http://trac.webkit.org/changeset/194305&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1150441</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-12-18 16:26:02 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1150518</commentid>
    <comment_count>7</comment_count>
    <who name="">peavo</who>
    <bug_when>2015-12-19 00:38:26 -0800</bug_when>
    <thetext>Thanks for reviewing :)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>267625</attachid>
            <date>2015-12-18 05:51:14 -0800</date>
            <delta_ts>2015-12-18 11:38:13 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-152423-20151218145055.patch</filename>
            <type>text/plain</type>
            <size>1356</size>
            <attacher>peavo</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDE5NDI2NykKKysrIFNvdXJjZS9XZWJDb3JlL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE1IEBACisyMDE1LTEyLTE4ICBQZXIgQXJu
ZSBWb2xsYW4gIDxwZWF2b0BvdXRsb29rLmNvbT4KKworICAgICAgICBbV2luQ2Fpcm9dIEVtcHR5
IGNvbnRleHQgbWVudSBpdGVtLgorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93
X2J1Zy5jZ2k/aWQ9MTUyNDIzCisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISku
CisKKyAgICAgICAgVGhlIGNvbnRleHQgbWVudSBjb250YWlucyBhIHN1Ym1lbnUgaXRlbSB3aXRo
IG5vIHRleHQuCisKKyAgICAgICAgKiBwYWdlL0NvbnRleHRNZW51Q29udHJvbGxlci5jcHA6Cisg
IC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LCBlbXB0eVN0cmluZygpKTsK
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>267645</attachid>
            <date>2015-12-18 11:38:23 -0800</date>
            <delta_ts>2015-12-18 16:25:58 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-152423-20151218203805.patch</filename>
            <type>text/plain</type>
            <size>1350</size>
            <attacher>peavo</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDE5NDI2NykKKysrIFNvdXJjZS9XZWJDb3JlL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE1IEBACisyMDE1LTEyLTE4ICBQZXIgQXJu
ZSBWb2xsYW4gIDxwZWF2b0BvdXRsb29rLmNvbT4KKworICAgICAgICBbV2luQ2Fpcm9dIEVtcHR5
IGNvbnRleHQgbWVudSBpdGVtLgorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93
X2J1Zy5jZ2k/aWQ9MTUyNDIzCisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISku
CisKKyAgICAgICAgVGhlIGNvbnRleHQgbWVudSBjb250YWlucyBhIHN1Ym1lbnUgaXRlbSB3aXRo
IG5vIHRleHQuCisKKyAgICAgICAgKiBwYWdlL0NvbnRleHRNZW51Q29udHJvbGxlci5jcHA6Cisg
ICAgICAgIChXZWJDb3JlOjpDb250ZXh0TWVudUNvbnRyb2xsZXI6OnBvcHVsYXRlKToKKwogMjAx
NS0xMi0xNyAgQnJhZHkgRWlkc29uICA8YmVpZHNvbkBhcHBsZS5jb20+CiAKICAgICAgICAgTW9k
ZXJuIElEQjogUmVmYWN0b3Igb3Blbi9kZWxldGUgcmVxdWVzdHMgdG8gZXhpc3QgaW4gdGhlIHNh
bWUgcXVldWUuCkluZGV4OiBTb3VyY2UvV2ViQ29yZS9wYWdlL0NvbnRleHRNZW51Q29udHJvbGxl
ci5jcHAKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PQotLS0gU291cmNlL1dlYkNvcmUvcGFnZS9Db250ZXh0TWVudUNvbnRy
b2xsZXIuY3BwCShyZXZpc2lvbiAxOTQyNjcpCisrKyBTb3VyY2UvV2ViQ29yZS9wYWdlL0NvbnRl
eHRNZW51Q29udHJvbGxlci5jcHAJKHdvcmtpbmcgY29weSkKQEAgLTc5Nyw3ICs3OTcsNyBAQCB2
b2lkIENvbnRleHRNZW51Q29udHJvbGxlcjo6cG9wdWxhdGUoKQogICAgIENvbnRleHRNZW51SXRl
bSBTZWxlY3RBbGxJdGVtKEFjdGlvblR5cGUsIENvbnRleHRNZW51SXRlbVRhZ1NlbGVjdEFsbCwg
Y29udGV4dE1lbnVJdGVtVGFnU2VsZWN0QWxsKCkpOwogI2VuZGlmCiAKLSNpZiBQTEFURk9STShH
VEspIHx8IFBMQVRGT1JNKEVGTCkKKyNpZiBQTEFURk9STShHVEspIHx8IFBMQVRGT1JNKEVGTCkg
fHwgUExBVEZPUk0oV0lOKQogICAgIENvbnRleHRNZW51SXRlbSBTaGFyZU1lbnVJdGVtOwogI2Vs
c2UKICAgICBDb250ZXh0TWVudUl0ZW0gU2hhcmVNZW51SXRlbShTdWJtZW51VHlwZSwgQ29udGV4
dE1lbnVJdGVtVGFnU2hhcmVNZW51LCBlbXB0eVN0cmluZygpKTsK
</data>

          </attachment>
      

    </bug>

</bugzilla>