<?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>46749</bug_id>
          
          <creation_ts>2010-09-28 13:16:36 -0700</creation_ts>
          <short_desc>Web Inspector: a number of breakpoints for one line</short_desc>
          <delta_ts>2010-10-04 10:27:45 -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>Web Inspector (Deprecated)</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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="Ilya Tikhonovsky">loislo</reporter>
          <assigned_to name="Pavel Podivilov">podivilov</assigned_to>
          <cc>bweinstein</cc>
    
    <cc>joepeck</cc>
    
    <cc>keishi</cc>
    
    <cc>loislo</cc>
    
    <cc>pfeldman</cc>
    
    <cc>pmuellr</cc>
    
    <cc>podivilov</cc>
    
    <cc>rik</cc>
    
    <cc>timothy</cc>
    
    <cc>yurys</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>286488</commentid>
    <comment_count>0</comment_count>
    <who name="Ilya Tikhonovsky">loislo</who>
    <bug_when>2010-09-28 13:16:36 -0700</bug_when>
    <thetext>1) start chromium
2) open inspector
3) press pause
4) move mouse over inspected page
5) debugger will stop on mouseover listener
6) make a breakpoint
7) close inspector
8) open inspector

expected:
single breakpoint

actual:
multiple breakpoints for one line.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>288863</commentid>
    <comment_count>1</comment_count>
      <attachid>69612</attachid>
    <who name="Pavel Podivilov">podivilov</who>
    <bug_when>2010-10-04 03:40:47 -0700</bug_when>
    <thetext>Created attachment 69612
Proposed patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>288974</commentid>
    <comment_count>2</comment_count>
      <attachid>69612</attachid>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2010-10-04 09:40:34 -0700</bug_when>
    <thetext>Comment on attachment 69612
Proposed patch.

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

&gt; WebCore/bindings/v8/DebuggerScript.js:103
&gt; +    if (!locations.length)
&gt; +      return undefined;
&gt; +    var actualLineNumber = locations[0].line;

Looks like incorrect whitespace on the 2nd line. Would be great if this was fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>288982</commentid>
    <comment_count>3</comment_count>
    <who name="Pavel Podivilov">podivilov</who>
    <bug_when>2010-10-04 10:01:35 -0700</bug_when>
    <thetext>Committed r69019: &lt;http://trac.webkit.org/changeset/69019&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>288984</commentid>
    <comment_count>4</comment_count>
    <who name="Pavel Podivilov">podivilov</who>
    <bug_when>2010-10-04 10:03:11 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 69612 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=69612&amp;action=review
&gt; 
&gt; &gt; WebCore/bindings/v8/DebuggerScript.js:103
&gt; &gt; +    if (!locations.length)
&gt; &gt; +      return undefined;
&gt; &gt; +    var actualLineNumber = locations[0].line;
&gt; 
&gt; Looks like incorrect whitespace on the 2nd line. Would be great if this was fixed.

Sure, thanks for correction, Joe!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>289000</commentid>
    <comment_count>5</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2010-10-04 10:27:45 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; Sure, thanks for correction, Joe!

Thanks for making the fix and landing manually!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>69612</attachid>
            <date>2010-10-04 03:40:47 -0700</date>
            <delta_ts>2010-10-04 09:57:53 -0700</delta_ts>
            <desc>Proposed patch.</desc>
            <filename>patch</filename>
            <type>text/plain</type>
            <size>1222</size>
            <attacher name="Pavel Podivilov">podivilov</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
ZDk2MDJkYS4uNTY4MzMxMiAxMDA2NDQKLS0tIGEvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGIvV2Vi
Q29yZS9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxMyBAQAorMjAxMC0xMC0wNCAgUGF2ZWwgUG9kaXZp
bG92ICA8cG9kaXZpbG92QGNocm9taXVtLm9yZz4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JP
RFkgKE9PUFMhKS4KKworICAgICAgICBXZWIgSW5zcGVjdG9yOiBkbyBub3Qgc2hvdyBicmVha3Bv
aW50IGluIGZyb250LWVuZCBpZiBpdCB3YXMgbm90IHNldCBpbiB2OAorICAgICAgICBodHRwczov
L2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9NDY3NDkKKworICAgICAgICAqIGJpbmRp
bmdzL3Y4L0RlYnVnZ2VyU2NyaXB0LmpzOgorICAgICAgICAoKToKKwogMjAxMC0xMC0wMyAgS2Vu
dCBUYW11cmEgIDx0a2VudEBjaHJvbWl1bS5vcmc+CiAKICAgICAgICAgVW5yZXZpZXdlZCwgYnVp
bGQgZml4IGZvciByNjg5OTYuCmRpZmYgLS1naXQgYS9XZWJDb3JlL2JpbmRpbmdzL3Y4L0RlYnVn
Z2VyU2NyaXB0LmpzIGIvV2ViQ29yZS9iaW5kaW5ncy92OC9EZWJ1Z2dlclNjcmlwdC5qcwppbmRl
eCAwMjIyMjk2Li42N2M2ZmUyIDEwMDY0NAotLS0gYS9XZWJDb3JlL2JpbmRpbmdzL3Y4L0RlYnVn
Z2VyU2NyaXB0LmpzCisrKyBiL1dlYkNvcmUvYmluZGluZ3MvdjgvRGVidWdnZXJTY3JpcHQuanMK
QEAgLTk4LDcgKzk4LDkgQEAgRGVidWdnZXJTY3JpcHQuc2V0QnJlYWtwb2ludCA9IGZ1bmN0aW9u
KGV4ZWNTdGF0ZSwgYXJncykKICAgICAgICAgRGVidWcuZGlzYWJsZVNjcmlwdEJyZWFrUG9pbnQo
YnJlYWtJZCk7CiAKICAgICB2YXIgbG9jYXRpb25zID0gRGVidWcuZmluZEJyZWFrUG9pbnRBY3R1
YWxMb2NhdGlvbnMoYnJlYWtJZCk7Ci0gICAgdmFyIGFjdHVhbExpbmVOdW1iZXIgPSBsb2NhdGlv
bnMubGVuZ3RoID8gbG9jYXRpb25zWzBdLmxpbmUgOiBhcmdzLmxpbmVOdW1iZXI7CisgICAgaWYg
KCFsb2NhdGlvbnMubGVuZ3RoKQorICAgICAgcmV0dXJuIHVuZGVmaW5lZDsKKyAgICB2YXIgYWN0
dWFsTGluZU51bWJlciA9IGxvY2F0aW9uc1swXS5saW5lOwogCiAgICAgdmFyIGtleSA9IGFyZ3Mu
c2NyaXB0SWQgKyAiOiIgKyBhY3R1YWxMaW5lTnVtYmVyOwogICAgIGlmIChrZXkgaW4gRGVidWdn
ZXJTY3JpcHQuX2JyZWFrcG9pbnRzKSB7Cg==
</data>
<flag name="review"
          id="59323"
          type_id="1"
          status="+"
          setter="pfeldman"
    />
    <flag name="commit-queue"
          id="59324"
          type_id="3"
          status="-"
          setter="podivilov"
    />
          </attachment>
      

    </bug>

</bugzilla>