<?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>87038</bug_id>
          
          <creation_ts>2012-05-21 12:49:15 -0700</creation_ts>
          <short_desc>Web Inspector: $_ for last calculated result</short_desc>
          <delta_ts>2012-08-07 11:22:36 -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>DUPLICATE</resolution>
          <dup_id>93377</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="homakov">homakov</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>apavlov</cc>
    
    <cc>bweinstein</cc>
    
    <cc>homakov</cc>
    
    <cc>joepeck</cc>
    
    <cc>keishi</cc>
    
    <cc>loislo</cc>
    
    <cc>paulirish</cc>
    
    <cc>pfeldman</cc>
    
    <cc>pmuellr</cc>
    
    <cc>rik</cc>
    
    <cc>timothy</cc>
    
    <cc>yurys</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>629397</commentid>
    <comment_count>0</comment_count>
    <who name="homakov">homakov</who>
    <bug_when>2012-05-21 12:49:15 -0700</bug_when>
    <thetext>It would be nice to have smth like __ or $_ variable available in console - it is _ in Ruby.
It will save some time and also suits since we already have $0-4 for latest DOM elements.
Also implementation is only 1 LOC.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>629442</commentid>
    <comment_count>1</comment_count>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2012-05-21 13:37:06 -0700</bug_when>
    <thetext>Sounds good to me. Do you have a patch?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>629445</commentid>
    <comment_count>2</comment_count>
    <who name="homakov">homakov</who>
    <bug_when>2012-05-21 13:42:11 -0700</bug_when>
    <thetext>not yet. Just need more &quot;+1&quot; - and it will be committed!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>629459</commentid>
    <comment_count>3</comment_count>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2012-05-21 13:50:22 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; not yet. Just need more &quot;+1&quot; - and it will be committed!

You don&apos;t need more &quot;+1&quot;, feel free to attach the patch and I&apos;ll review it. Note that this change would need a test. See LayoutTests/inspector/console/command-line-api.html and other command-line tests for more info.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>633668</commentid>
    <comment_count>4</comment_count>
    <who name="homakov">homakov</who>
    <bug_when>2012-05-25 01:09:09 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #2)
&gt; &gt; not yet. Just need more &quot;+1&quot; - and it will be committed!
&gt; 
&gt; You don&apos;t need more &quot;+1&quot;, feel free to attach the patch and I&apos;ll review it. Note that this change would need a test. See LayoutTests/inspector/console/command-line-api.html and other command-line tests for more info.

Great. Just having some issues with contexts - learning how webinspector works with $0-4 and doesn&apos;t pollute current window JS namespace.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>689215</commentid>
    <comment_count>5</comment_count>
    <who name="Paul Irish">paulirish</who>
    <bug_when>2012-08-07 11:22:36 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 93377 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>