<?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>101595</bug_id>
          
          <creation_ts>2012-11-08 06:00:03 -0800</creation_ts>
          <short_desc>Regression(r107593) Crash in ContextMenuController::addInspectElementItem()</short_desc>
          <delta_ts>2012-11-09 03:29:02 -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>WebKit Qt</component>
          <version>420+</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>
          
          <blocked>101599</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Allan Sandfeld Jensen">allan.jensen</reporter>
          <assigned_to name="Allan Sandfeld Jensen">allan.jensen</assigned_to>
          <cc>bweinstein</cc>
    
    <cc>hausmann</cc>
    
    <cc>jturcotte</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>761707</commentid>
    <comment_count>0</comment_count>
    <who name="Allan Sandfeld Jensen">allan.jensen</who>
    <bug_when>2012-11-08 06:00:03 -0800</bug_when>
    <thetext>ContextMenuController::addInspectElementItem will if the contextMenu has been cleared first try to access it anyway causing a nullpoint access.

This crashes tst_qwebinspector</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>761712</commentid>
    <comment_count>1</comment_count>
      <attachid>173026</attachid>
    <who name="Allan Sandfeld Jensen">allan.jensen</who>
    <bug_when>2012-11-08 06:02:28 -0800</bug_when>
    <thetext>Created attachment 173026
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>761789</commentid>
    <comment_count>2</comment_count>
    <who name="Jocelyn Turcotte">jturcotte</who>
    <bug_when>2012-11-08 07:42:58 -0800</bug_when>
    <thetext>*** Bug 101574 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>761794</commentid>
    <comment_count>3</comment_count>
    <who name="Jocelyn Turcotte">jturcotte</who>
    <bug_when>2012-11-08 07:44:57 -0800</bug_when>
    <thetext>I have most of the WebKit1 tests fixed except 1 WebGL test and 1 QWebElement test still failing. I&apos;m in the process of uploading the work so please tell me if you want to pick anything to avoid duplicate efforts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>761812</commentid>
    <comment_count>4</comment_count>
    <who name="Allan Sandfeld Jensen">allan.jensen</who>
    <bug_when>2012-11-08 08:09:55 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; I have most of the WebKit1 tests fixed except 1 WebGL test and 1 QWebElement test still failing. I&apos;m in the process of uploading the work so please tell me if you want to pick anything to avoid duplicate efforts.

Sorry about that, great minds think alike, I guess. I was actually coming from this because I was fixing the API tests failing in QtWebKit2.3, I will now stick to those that only fail there then.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>761819</commentid>
    <comment_count>5</comment_count>
    <who name="Jocelyn Turcotte">jturcotte</who>
    <bug_when>2012-11-08 08:16:47 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #3)
&gt; &gt; I have most of the WebKit1 tests fixed except 1 WebGL test and 1 QWebElement test still failing. I&apos;m in the process of uploading the work so please tell me if you want to pick anything to avoid duplicate efforts.
&gt; 
&gt; Sorry about that, great minds think alike, I guess. I was actually coming from this because I was fixing the API tests failing in QtWebKit2.3, I will now stick to those that only fail there then.

Most of them probably apply to trunk as well. If you can wait 2-3 days until you can see the rest of what I have it would be nice. Those tests have been failing for more than 1 year after all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>761826</commentid>
    <comment_count>6</comment_count>
    <who name="Allan Sandfeld Jensen">allan.jensen</who>
    <bug_when>2012-11-08 08:33:40 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; (In reply to comment #4)
&gt; &gt; (In reply to comment #3)
&gt; &gt; &gt; I have most of the WebKit1 tests fixed except 1 WebGL test and 1 QWebElement test still failing. I&apos;m in the process of uploading the work so please tell me if you want to pick anything to avoid duplicate efforts.
&gt; &gt; 
&gt; &gt; Sorry about that, great minds think alike, I guess. I was actually coming from this because I was fixing the API tests failing in QtWebKit2.3, I will now stick to those that only fail there then.
&gt; 
&gt; Most of them probably apply to trunk as well. If you can wait 2-3 days until you can see the rest of what I have it would be nice. Those tests have been failing for more than 1 year after all.

Will do.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>761901</commentid>
    <comment_count>7</comment_count>
      <attachid>173026</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-11-08 10:04:52 -0800</bug_when>
    <thetext>Comment on attachment 173026
Patch

Rejecting attachment 173026 from commit-queue.

Failed to run &quot;[&apos;/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch&apos;, &apos;--status-host=queues.webkit.org&apos;, &apos;-...&quot; exit_code: 2

Last 500 characters of output:
re/ChangeLog
CONFLICT (content): Merge conflict in Source/WebCore/ChangeLog
Failed to merge in the changes.
Patch failed at 0001 Unreviewed chromium mac rebaseline for r101497.

When you have resolved this problem run &quot;git rebase --continue&quot;.
If you would prefer to skip this patch, instead run &quot;git rebase --skip&quot;.
To restore the original branch and stop rebasing run &quot;git rebase --abort&quot;.

rebase refs/remotes/origin/master: command returned error: 1

Died at Tools/Scripts/update-webkit line 154.

Full output: http://queues.webkit.org/results/14770266</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>762797</commentid>
    <comment_count>8</comment_count>
    <who name="Allan Sandfeld Jensen">allan.jensen</who>
    <bug_when>2012-11-09 03:29:02 -0800</bug_when>
    <thetext>Committed r134044: &lt;http://trac.webkit.org/changeset/134044&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>173026</attachid>
            <date>2012-11-08 06:02:28 -0800</date>
            <delta_ts>2012-11-08 10:04:52 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-101595-20121108150014.patch</filename>
            <type>text/plain</type>
            <size>1797</size>
            <attacher name="Allan Sandfeld Jensen">allan.jensen</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTMzODc0CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggYTA4NTYwYWZhMzQ0YmQ0
MTYyZDg1YjBmZDk5ODRkMTFlM2RiNDY0Ni4uYWYxZDhiMjAzZGU0OTU5NDAwYjI2YjFiNzQ4YTVk
YTg1NGQ0N2Y5YyAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSw1ICsxLDE4IEBACiAyMDEyLTExLTA4ICBBbGxh
biBTYW5kZmVsZCBKZW5zZW4gIDxhbGxhbi5qZW5zZW5AZGlnaWEuY29tPgogCisgICAgICAgIFJl
Z3Jlc3Npb24ocjEwNzU5MykgQ3Jhc2ggaW4gQ29udGV4dE1lbnVDb250cm9sbGVyOjphZGRJbnNw
ZWN0RWxlbWVudEl0ZW0oKQorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1
Zy5jZ2k/aWQ9MTAxNTk1CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisK
KyAgICAgICAgSWYgdGhlIGNvbnRleHRNZW51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tIEluc3BlY3RFbGVtZW50SXRlbShBY3Rpb25UeXBlLCBDb250ZXh0TWVu
dUl0ZW1UYWdJbnNwZWN0RWxlbWVudCwgY29udGV4dE1lbnVJdGVtVGFnSW5zcGVjdEVsZW1lbnQo
KSk7CiAjaWYgVVNFKENST1NTX1BMQVRGT1JNX0NPTlRFWFRfTUVOVVMpCi0gICAgaWYgKCFtX2Nv
bnRleHRNZW51LT5pdGVtcygpLmlzRW1wdHkoKSkKKyAgICBpZiAobV9jb250ZXh0TWVudSAmJiAh
bV9jb250ZXh0TWVudS0+aXRlbXMoKS5pc0VtcHR5KCkpCiAjZWxzZQotICAgIGlmIChtX2NvbnRl
eHRNZW51LT5pdGVtQ291bnQoKSkKKyAgICBpZiAobV9jb250ZXh0TWVudSAmJiBtX2NvbnRleHRN
ZW51LT5pdGVtQ291bnQoKSkKICNlbmRpZgogICAgICAgICBhcHBlbmRJdGVtKCpzZXBhcmF0b3JJ
dGVtKCksIG1fY29udGV4dE1lbnUuZ2V0KCkpOwogICAgIGFwcGVuZEl0ZW0oSW5zcGVjdEVsZW1l
bnRJdGVtLCBtX2NvbnRleHRNZW51LmdldCgpKTsK
</data>
<flag name="review"
          id="187568"
          type_id="1"
          status="+"
          setter="hausmann"
    />
    <flag name="commit-queue"
          id="187591"
          type_id="3"
          status="-"
          setter="webkit.review.bot"
    />
          </attachment>
      

    </bug>

</bugzilla>