<?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>10276</bug_id>
          
          <creation_ts>2006-08-06 04:33:21 -0700</creation_ts>
          <short_desc>Clicking &quot;(global scope)&quot; while paused inside an event handler takes you to first line of HTML page</short_desc>
          <delta_ts>2008-05-17 09:08:40 -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="Mark Rowe (bdash)">mrowe</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>51905</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2006-08-06 04:33:21 -0700</bug_when>
    <thetext>As per summary.  While Drosera is paused inside an event handler function, clicking on the &quot;(global scope)&quot; frame takes you to the first line of the main HTML page.  I&apos;m not sure 100% if it makes sense to display the &quot;(global scope)&quot; entry in this context, as there is no JS code that corresponds to it.  If it *does* make sense, what effect should selecting it have on the source view?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51918</commentid>
    <comment_count>1</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2006-08-06 10:37:13 -0700</bug_when>
    <thetext>I think it should have a global scope, but the line number should be -1 or somehting that has no affect when selected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51951</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2006-08-06 13:02:49 -0700</bug_when>
    <thetext>Cool, that seems like a good approach.  The problem with this is that willExecuteStatement appears to be called for line 1 of the main HTML page prior to the execution of the event handler.    This suggests to me that WebKit is calling webView:willExecuteStatement:sourceId:line:forWebFrame: for line 1 of the main HTML page, even though it doesn&apos;t really make sense to do so.  </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80698</commentid>
    <comment_count>3</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2008-05-17 09:08:40 -0700</bug_when>
    <thetext>Not an issue with the Web Inspector&apos;s debugger.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>