<?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>32513</bug_id>
          
          <creation_ts>2009-12-14 06:36:29 -0800</creation_ts>
          <short_desc>Nightlies: auto generated global variables (from css ids) can shadow local variables</short_desc>
          <delta_ts>2009-12-26 17:35:30 -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>Web Inspector (Deprecated)</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>32442</dup_id>
          
          <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>0</everconfirmed>
          <reporter name="Martin Häcker">spamfaenger</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>sam</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>171378</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Häcker">spamfaenger</who>
    <bug_when>2009-12-14 06:36:29 -0800</bug_when>
    <thetext>To reproduce launch the attached reduction, stop at the breakpoint and type &apos;foo&apos; in the console. That will return the div dom element. (I don&apos;t like that behaviour, but well)

Now step over the assignment and output &apos;foo&apos; again.

Instead of the local variable, the dom node is output again which is definitely a bug as the local variable should have precedence in the debugger js shell.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>171588</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2009-12-14 14:35:11 -0800</bug_when>
    <thetext>There is no attachment in this bug.

Also, is this a duplicate if bug 32442?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>171981</commentid>
    <comment_count>2</comment_count>
      <attachid>44900</attachid>
    <who name="Martin Häcker">spamfaenger</who>
    <bug_when>2009-12-15 12:42:30 -0800</bug_when>
    <thetext>Created attachment 44900
reduction

reduction</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174974</commentid>
    <comment_count>3</comment_count>
    <who name="Sam Weinig">sam</who>
    <bug_when>2009-12-26 17:35:30 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 32442 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>44900</attachid>
            <date>2009-12-15 12:42:30 -0800</date>
            <delta_ts>2009-12-15 12:42:30 -0800</delta_ts>
            <desc>reduction</desc>
            <filename>reduction 15-36-36.html</filename>
            <type>text/html</type>
            <size>200</size>
            <attacher name="Martin Häcker">spamfaenger</attacher>
            
              <data encoding="base64">PGh0bWwgbGFuZz0iZW4iPgo8aGVhZD4KPC9oZWFkPgo8Ym9keT4KCTxkaXYgaWQ9ImZvbyI+PC9k
aXY+Cgk8c2NyaXB0IHR5cGU9InRleHQvamF2YXNjcmlwdCIgY2hhcnNldD0idXRmLTgiPgoJCShm
dW5jdGlvbigpIHsKCQkJZGVidWdnZXI7IAoJCQl2YXIgZm9vID0gJ2Jhcic7CgkJCgkJfSkoKTsK
CQoJPC9zY3JpcHQ+CjwvYm9keT4KPC9odG1sPgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>